GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@dezren39 dezren39 commented Nov 23, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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


Get evidence
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
All reactions
  • 👍 1 reaction
@dezren39
id-store: legacy metadata read bridge and immutable snapshot migratio…
0493483
…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.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 3e35329 into main Nov 23, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the lane-lx-10270 branch November 23, 2026 08:16
@dezren39 dezren39 mentioned this pull request Nov 23, 2026
Add legacy metadata read bridge and immutable snapshot migration #10270
Closed
dezren39 pushed a commit that referenced this pull request Nov 23, 2026
fleet-worker
fix(pm): anchor triage dedupe keys to issue:<n> per broker design (#9076
43e56ba
)

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
feat(pm): dual-ingestion slice 1 — shared Metadata check + interval sweeper (#9076) #13144
Merged
test: metadata dual-ingestion write-back probe (task 20270) #13114
Closed
impl(fleet): dual ingestion — webhook listener + interval sweeper, Metadata backfill, retroactive completion #9076
Closed
fix(queue): broker re-serves parked and completed tasks (double-serve) #13091
Closed
feat(id-store): migrate legacy metadata to signed snapshots #13320
Closed
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@developing-today-fleet developing-today-fleet Bot added the audit:complete PR fully implemented spawning issue label Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add legacy metadata read bridge and immutable snapshot migration

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.