Skip to content

fix(shared): align the storage schema version with host-core - #2672

Merged
vastsa merged 4 commits into
vastsa:mainfrom
Linuxdazhao:codex/sync-shared-storage-schema-20261130
Dec 1, 2026
Merged

vastsa merged 4 commits into
vastsa:mainfrom
Linuxdazhao:codex/sync-shared-storage-schema-20261130

Conversation

@Linuxdazhao

Copy link
Copy Markdown
Contributor

Closes #2671.

  • Align the exported Shared storage schema version with host-core v36.
  • Compare the two declarations in the Shared test, independently of IPC protocol v11.

Validation on 62532ce130a3: the new test reproduced the 16 vs. 36 mismatch before the fix. The Shared build and all 1,496 Shared tests passed with the fix. The PR base check passed.

Linuxdazhao and others added 4 commits November 30, 2026 20:13
The plan artifact contract pinned SCHEMA_VERSION = 16, so aligning the
shared export with host-core (v36) failed the JS unit tests. Read the
version from crates/host-core/src/db.rs instead, the same source
protocol.test.ts already trusts, so the next schema bump cannot make
this contract fail on a stale literal.
@vastsa
vastsa merged commit 4e60464 into vastsa:main Dec 1, 2026
6 checks passed
@vastsa

vastsa commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Merged as 4e6046483 after all six GitHub checks passed on the latest integration candidate, including Windows Host and Electron E2E. Confirmed the Shared export matches Host schema v36 without changing the stored schema or IPC v11. Thanks!

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.

[Bug] Shared storage schema version is stale

3 participants