GeezerVison is showing github.com — atlas-search: writer-packed restore roundtrip — #8228 by developing-today-fleet[bot] · Pull Request #16164 · developing-today/code
Conversation
Follow-on 2 of the #6042 cold-tier chain (after #8227, whose writer merged as #12726).
What this PR does (design §6 + §7, importer side only — no writer changes):
- The Atlas cold tier: restore importer — #6042 follow-on 2 #8228 importer (
pkgs/atlas-search/crates/atlas-core/src/cold.rs) now reads the landed writer's manifest spellings: occurrence triples as objects or 3-element arrays, lineage as {predecessor, edge} or the writer's flat {predecessor_file_id, predecessor_version_seq, edge_kind} (u64 file_id normalises to string), retention class as class or corpus_class, and all-empty lineage folds to no lineage edge.
- New tests pack with the real
cold_shard::pack (codecs none + zstd) and prove the §7 round trip directly: byte-identical restores per version and per span (span_refs are the spans' SHA-256), bit-identical vectors with absence-is-data, original identity + lineage + provenance + retention survival, same-hash no-op, differing-hash conflict without overwrite, and corrupt-span abort with zero store writes.
Verification: cargo test -p atlas-core — 317 lib tests pass; cargo fmt --check clean on cold.rs.
Acceptance note: #8230 (standalone cold-roundtrip-verify) is still open, so §7 is verified directly per the packet's substitution rule (procedure in the roundtrip test, not the tool).
Fixes #8228.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-27T13:12:04Z",
"session_id": "ses_e5de30b63c8ffeuLAl2Tf4LykU",
"lane": null,
"host": "amd",
"worktree": "/home/user/wt-oc-code-06-8228",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/wt-oc-code-06-8228",
"repo": "developing-today/code",
"branch": "queue/20102-8228-cold-restore-roundtrip",
"sha": "6fa8f06dd39f3edbb675777ecbeb221330b5f545"
},
"auth_subject": "oc-code-03",
"stamped_by": "fleet 0.1.0 (native)"
}
}
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.
…8228
The #8227 shard writer (cold_shard::pack) is landed; make the #8228
restore importer read its manifest spellings and prove the §7
round trip against real writer output (none + zstd codecs), with
corruption-abort, same-hash no-op, and differing-hash conflict.
Fixes #8228.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
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:
f2d0e938-5f88-4c5c-87ae-4a6b27c2b826
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- 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.
Uh oh!
There was an error while loading. Please reload this page.
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.
|