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: verified resumable user-store transfer and safe cleanup (#3402) by dezren39 · Pull Request #15833 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

Implements #3402 (Phase 5 of the #2283 program): verified resumable user-store migration and safe cleanup.

Gate check (fresh, lane 1837-D, 2026-11-26): every prerequisite that parked this issue since 2026-11-01 has now landed — #2283 CLOSED, #3399 CLOSED, #3400 CLOSED, #3401 CLOSED, #3403 CLOSED, design PR #3406 MERGED, and #3404 CLOSED 2026-11-27T00:14:55Z (the sole remaining gate per the 2026-11-26 triage). hosted_migration.rs on main still explicitly deferred the export/copy/verify orchestration to this issue; this PR is that module.

New pkgs/id/src/hosted_transfer module (pure core, same pattern as hosted_migration / hosted_export):

  • TransferPlan::from_export — reachable blobs are exactly the union of object citations; cited-but-absent (MissingBlob) and carried-but-unreferenced blobs are refusals; every hash is recomputed from the signed bytes at plan time.
  • TransferJournal — serializable plan + per-entry copy state + audit log: the durable resume record. Interrupted copy resumes without re-copying (content-addressed adoption of entries already in the target).
  • TransferCoordinator — drives the id: implement fenced jurisdiction migration control plane #3404 MigrationRecord through Frozen → Copying → Verifying → Switched → Cleaning. The CAS switch is refused until read-back verification passes: hashes re-checked and verify_import re-run on the export reconstructed from target bytes (manifest, binding chain, object signatures — signature preservation). Pre-switch abort discards the target and rotates the token via the machine; post-switch abort is refused (SwitchIsIrreversible) and resume_action points forward at cleanup.
  • Safe cleanup — only post-switch, only under a CleanupProof matching a fresh jurisdiction-local ReachabilityScan version with retention affirmatively satisfied; blobs still reached by other stores in the jurisdiction are retained and named, never deleted. Stale proof or unproven retention deletes nothing.
  • Fault-injection tests: interrupted copy/resume, target corruption blocking the switch, pre-switch abort, post-switch forward recovery, signature preservation, shared-blob retention, stale/retention proof refusals, missing/unreferenced blob refusals, plus the one-account runbook exercised end-to-end in CI (module docs carry the runbook; the live staging exercise remains a data-plane step — no bucket adapters exist in this crate, per the module's "What is not here").

Verification route: fleet Actions exec is currently unavailable from the sandbox (session proxy socket missing; sandbox home disk quota exceeded, which also blocks init-ensure healing). Per the house rule (CI runs on main; PRs merge without CI), verification is the main-branch CI run after merge, with fix-forward on red.

Lane 1837-D · queue task 25375.

Closes #3402


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.

All reactions
dezren39 added 2 commits November 27, 2026 00:55
@dezren39
id: add verified resumable user-store transfer orchestration and safe…
471f031
… cleanup (#3402)

New hosted_transfer module: TransferPlan derived from a HostedExport (reachable blobs = object citations; missing/unreferenced refused; hashes recomputed from signed bytes), a serializable TransferJournal as the resume record, and a TransferCoordinator driving the #3404 fenced migration machine through copy (resumable, content-addressed adoption), read-back verification (verify_import on target-reconstructed export) before the CAS switch, pre-switch abort with target discard, post-switch forward-only recovery, and cleanup gated on a fresh jurisdiction-local reachability scan + satisfied retention (shared blobs retained). Fault-injection tests cover interrupted copy, corruption, pre-switch abort, post-switch recovery, signature preservation, and shared-blob retention. Lane 1837-D.
@dezren39
id: register hosted_transfer module (#3402)
a69a04c
@coderabbitai

coderabbitai Bot commented Nov 27, 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 7 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: 88105988-208d-42c8-ba50-62bfb66b2911
Commits

Reviewing files that changed from the base of the PR and between 1d7a6b1 and a69a04c.

Files selected for processing: 2

  • pkgs/id/src/hosted_transfer.rs
  • pkgs/id/src/lib.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.

@dezren39
dezren39 merged commit 7ba52f3 into main Nov 27, 2026
2 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the lane-1837d-3402-hosted-transfer branch November 27, 2026 01:00
@dezren39 dezren39 mentioned this pull request Nov 27, 2026
id: implement verified resumable user-store migration and safe cleanup #3402
Closed
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

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

id: implement verified resumable user-store migration and safe cleanup

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.