GeezerVison is showing github.com — id-store: legacy metadata read bridge and immutable snapshot migration (A9114-snapshot-migration, #10270) by dezren39 · Pull Request #13110 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Delivers slice A9114-snapshot-migration for #10270: the legacy metadata read bridge and immutable snapshot migration in pkgs/id/crates/id-store.
Files (the approved scope, nothing else):
crates/id-store/src/sidecar_migration.rs (new) — parse_legacy read bridge over the legacy .meta JSON form (source bytes never modified); LegacySourceView requires consistency evidence (byte-identical double read, or one read matching an attested digest) before any migration; migrate converts a subject's complete view deterministically and publishes a signed SidecarEnvelopeV1, advancing the head through the snapshot compare-and-swap; repeat migration of the same view reports AlreadyMigrated and does not advance.
crates/id-store/tests/sidecar_migration.rs (new) — includes the module by path per the sidecar pattern (crate-root export stays with slice 9110-02).
Oracle (the packet's stated test): cargo test -p id-store --test sidecar_migration in pkgs/id — 7 passed, 0 failed on current main: fixed_signed_snapshot_vector, legacy_read_is_stable_and_never_rewrites_source, inconsistent_sources_cannot_publish, malformed_legacy_rejects, subject_absent_rejects, migration_is_idempotent_and_advances_by_exactly_one, generated_operations_match_reference_model. cargo fmt --check clean on both files.
Provenance: the two files were written by queue task 21143's first attempt in worktree ~/wt-lane-fz-10270 and left uncommitted when its lease expired (08:00:33Z); lane LX adopted them, re-verified against current main (223 commits ahead of the orphaned base), and lands them here. Native-blocker preflight for #10270 re-verified fresh: #10160, #10242, #10254 all CLOSED. No production rollout.
Closes #10270

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
…n (A9114-snapshot-migration, #10270)
New sidecar_migration module: parse_legacy reads the legacy .meta
JSON form without modifying the source bytes; LegacySourceView
gates migration on consistency evidence (byte-identical double
read or an attested digest) so a single unaccompanied read can
never publish; migrate converts one subject's complete legacy view
deterministically (entries ordered by canonical CBOR bytes,
duplicates collapsed) into a signed SidecarEnvelopeV1 and advances
the scope head through the snapshot CAS, reporting AlreadyMigrated
when the head already carries exactly this view.
Integration tests include the module by path (crate-root export
stays with slice 9110-02): fixed signed snapshot vector, read
stability, inconsistent-source refusal, malformed/subject-absent
rejection, idempotence with exactly-one generation advance, and a
generated-operations comparison against a reference model.
Oracle: cargo test -p id-store --test sidecar_migration — 7 passed
on current main.
Work adopted from the orphaned worktree of queue task 21143's
expired first attempt (files written in ~/wt-lane-fz-10270,
uncommitted at lease expiry); verified and landed by lane LX.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 42 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
26589897-f28b-427a-a57d-3f6c204bd414
Commits
-
Reviewing files that changed from the base of the PR and between 9523ad4 and 0493483.
Files selected for processing: 2
-
pkgs/id/crates/id-store/src/sidecar_migration.rs
pkgs/id/crates/id-store/tests/sidecar_migration.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-23T08:17:55.734266Z |
0493483 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dezren39
pushed a commit
that referenced
this pull request
Nov 23, 2026
)
The broker rejects repo-health:v1:triage:<repo>:pr:<n>; triage keys
must use issue:<n> even for PR items. Proven live: the corrected key
enqueued task 21305 for merged PR #13110.
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|