GeezerVison is showing github.com — WIP: Atlas cold-tier shard writer (exporter) — #8227 by dezren39 · Pull Request #12726 · 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.
Summary
- Group packed versions by
file_id and version_seq, so file histories are contiguous and ordered in the manifest.
- Expand the §7 round-trip fixture to check span bytes and hashes, aggregate content hash, bit-identical vectors, retention, and provenance.
- Add a property test for lineage ordering, with the minimized failing case saved as a proptest regression.
Closes #8227
Evidence
- Before: the generated ordering property failed when versions for files 37517 and 0 were emitted in input order.
- After:
~/tools/fleet-build-lock -- cargo test -p atlas-core --lib cold_shard::tests — 7 passed on the merged current main at e032cc3b1e1.
rustfmt --edition 2024 --check crates/atlas-core/src/cold_shard.rs passed.
- PR branch includes current
main by merge commit e18f52634d8 and is mergeable.
Merge Danger
Manifest order is now canonical by file and version sequence. The standalone cold-roundtrip-verify integration remains for follow-on #8230; the task packet explicitly allows the writer tests to use the §7 spec until that tool lands.
Partial implementation of issue #8227 (Atlas cold tier shard writer / exporter), follow-on 1 of 5 from #6042 design.
Implements the §2 container layout, §3 manifest schema, §4 packing validation, optional whole-section zstd span codec, reader (unpack) and reconstruction helpers (reconstruct_version, read_vector) so the writer's own suite wires the §7 cold-roundtrip-verify shape.
Tests: 7 passing on the laptop through fleet-build-lock, including roundtrip none + zstd, checksum corruption, idempotent re-pack, packing rejections, and generated lineage ordering.
Remaining integration: connect the writer suite to the standalone verifier from #8230 once that tool lands. Until then, the writer tests exercise the design §7 round-trip oracle directly, as the task packet specifies.
Refs #8227
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.
Partial implementation: §2 container layout, §3 manifest schema, §4 packing
validation, optional zstd span codec, reader + reconstruction helpers,
§7 roundtrip tests. See issue #8227.
coderabbitai
Bot
commented
Nov 23, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
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:
82864ec4-dbfe-43f7-97cd-128bad23df85
- 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.
This was referenced Nov 23, 2026
|
Program tending — stalled PR check-in (tracking: #1352)
- No activity for 2 day(s); last update 2026-11-23T00:11:20Z.
- Waiting on: draft — waiting on its author.
- Next step: mark the PR ready for review, or post what the draft is waiting on.
|
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.
|