Skip to content

fix(browser): vault backup BigInt argument; onboarding dev-build _w_ctx_ error - #1376

Merged
joepio merged 1 commit into
developfrom
fix/develop-portal-onboarding
Sep 6, 2026
Merged

fix(browser): vault backup BigInt argument; onboarding dev-build _w_ctx_ error#1376
joepio merged 1 commit into
developfrom
fix/develop-portal-onboarding

Conversation

@joepio

@joepio joepio commented Sep 6, 2026

Copy link
Copy Markdown
Member

Two develop-head failures that atomic-saas's portal e2e surfaced once its CI stopped pinning atomic-server (ontola/atomic-saas#53).

  • Cannot convert 1 to a BigInt on every automatic Cloud Vault backup: client-db.worker.ts passed checkpointN as a Number, but vaultExport's checkpoint_n is a u64 and wasm-bindgen requires a BigInt. Now BigInt(msg.checkpointN).
  • _w_ctx_ is not defined in RecoveryBackupStep in the vite dev build: for one button label the i18n extractor (wuchale) emitted the nested-message form _w_runtime_.x(_w_ctx_) without the enclosing callback. The label is a script-scope string now. Verified on the transformed module served by vite that the only remaining _w_ctx_ references sit inside their callbacks.

Unblocks the portal e2e in ontola/atomic-saas#53, which in turn unblocks #1375.

… onboarding dev build threw _w_ctx_

Two develop-head failures that atomic-saas's portal e2e surfaced once its CI
stopped pinning atomic-server:

- client-db.worker.ts handed checkpoint_n to the WASM vaultExport as a
  Number; wasm-bindgen wants a BigInt for a u64 and threw 'Cannot convert 1
  to a BigInt' on every automatic backup.
- In RecoveryBackupStep one button's JSX text made the i18n extractor emit
  the nested-message form (_w_runtime_.x(_w_ctx_)) without the enclosing
  callback, so the dev build threw '_w_ctx_ is not defined' on every
  onboarding run. The label is a script-scope string now; verified on the
  vite-transformed module that no bare context reference remains.
@joepio
joepio merged commit 3c372ac into develop Sep 6, 2026
7 checks passed
@joepio
joepio deleted the fix/develop-portal-onboarding branch September 6, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant