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 — Atlas cold tier: restore importer — #6042 follow-on 2 · Issue #8228 · developing-today/code

Atlas cold tier: restore importer — #6042 follow-on 2 #8228

New issue
Copy link
New issue
Copy link
Done
#16164
Done
Atlas cold tier: restore importer — #6042 follow-on 2#8228
#16164
Copy link
Labels
area/infraInfrastructure, deployment, and operationseffort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)priority/highImportant and time-sensitivepriority/normalOrdinary priority (the default)queue/claimedQueue worker lifecycle statestatus/needs-triageNot yet triaged; needs a first lookstatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state
Milestone
Atlas program

Description

@dezren39
dezren39
opened on Nov 10, 2026
Issue body actions

Follow-on 2 of 5 from the #6042 cold-tier shard format design (doc/2026-11-10T20-06-24Z_design_atlas_cold_tier_shard_format/, merged in PR #8225). Parent: #6026.

Implement the restore importer per §6 of the design doc: cold-catalog resolution, footer + section checksum verification (abort on any mismatch), span reconstruction from the manifest occurrence lists, content-hash verification before any hot write, provenance-additive re-import under the version's original (file_id, version_seq) identity, vector re-import as-is with model-mismatch flagging, and idempotent restore (already-hot same-hash = no-op success; differing hot copy = reported conflict, never overwritten).

Acceptance: restoring a version packed by the shard writer (follow-on 1) passes cold-roundtrip-verify (§7); a corrupted shard is reported and never partially imported.

Activity

Next
  1. dezren39
    added
    area/infraInfrastructure, deployment, and operations
    on Nov 10, 2026
  2. developing-today commented on Nov 10, 2026

    @developing-today
    developing-todayBot
    on Nov 10, 2026 – with developing.today
    Contributor
    More actions

    CODE-2440

  3. dezren39
    added
    epic/atlas-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  4. dezren39
    added this to the Atlas program milestone on Nov 12, 2026
  5. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  6. dezren39
    added a parent issue on Nov 12, 2026
    • epic: Atlas program — unified search and memory index over every corpus #8983
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged
    task: 18609
    lane: any-m
    worker: repo-worker-code

    Task 18609 (bulk-intake triage for issue #8228) — inline triage verdict, 2026-11-17:

    • Issue Atlas cold tier: restore importer — #6042 follow-on 2 #8228 is OPEN, no hard-stop labels, never triaged before (only the filing note from task 13011 and a Kaneo link). Work kind: implementation (task/small-fix packet family), priority/normal, effort/l — the section 6 restore importer for the design(atlas): cold-tier shard format — self-describing rustfs shards and the restore path back to hot #6042 cold-tier design (landed, PR design(atlas): cold-tier shard format and restore path (#6042) #8225).
    • Sequence, fresh-verified: this is follow-on 2 of 5. Its acceptance consumes follow-on 1's output — issue Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 (shard writer) is OPEN with no shard code on main yet — and the section 7 verify tool is follow-on 4 (issue Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230, OPEN). All five siblings (Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227-Atlas cold tier: shard compaction for partial retirement — #6042 follow-on 5 #8231) are OPEN; their triages are running concurrently today (tasks 18608, 18610, 18611, 18612), so the family is being routed in one pass.
    • Routed: implementation packet enqueued as task 20102 (packet: hidden_files/18609-fix-packet-8228.json). The packet's first instruction is structural: if the Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 writer is not yet on main when claimed, dep-block task 20102 on issue Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 (section 5b) instead of inventing a format; if Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230's tool is not yet landed at verification time, verify per design section 7 directly and record the substitution here.
    • Labels applied: task/small-fix, priority/normal, effort/l, queue/queued (for task 20102).

    Outcome: task 18609 completes as triaged, with follow-on task 20102.

  8. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    queue/queuedHas a queued queue task
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  9. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — task 20102 dep-blocked on #8227 (lane any-n)

    • State: dep-blocked — per this packet's own instruction ("do not start the importer before Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227's writer lands its shard format in code; the claiming lane's first action is to dep-block this task on issue Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 if the writer is not yet on main").
    • Revalidated fresh this claim: issue Atlas cold tier: restore importer — #6042 follow-on 2 #8228 is OPEN; the Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 shard writer is NOT on main (no cold-tier shard code exists in pkgs/atlas-search; the writer's own task 20096 was scoped and capacity-parked earlier today, note 6946319975 on Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227).
    • Action: task 20102 is dep-blocked on Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 (--blocked-by-issue, max TTL 3 days). The broker rechecks on its sweep cadence; when Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 closes, this task returns to the pool by itself and the §6 restore importer proceeds then.
  10. 38 remaining items

  11. developing-today-fleet
    removed
    queue/queuedHas a queued queue task
    on Nov 24, 2026
  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Progress — slice 2 of the restore importer (task 20102, lane agent-next-20-local)

    PR: #14674

    • Added zstd span-section decoding after stored-byte checksum verification. Span-table offsets are validated against decompressed bytes; decompression is capped at 2 GiB.
    • Failure-first focused test reproduced the unsupported-codec error on the corrected baseline. Cold reader tests passed 13/13; the full atlas-core library suite passed 219/219 after merging current main (Fleet run https://github.com/dezren39/fleet/actions/runs/45512859041).
    • Remaining: catalog resolution (Atlas cold tier: cold catalog + fan-out addressing — #6042 follow-on 3 #8229), content-hash verification before hot writes, provenance-additive hot-store integration with idempotence/conflict handling, and writer-to-reader integration with Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227/Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230.
    • Next slice: after PR feat(atlas-core): read zstd cold shard spans #14674 merges, resolve a catalog-selected cold shard and pass its fetched bytes through the verified reader.
  13. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    MemberAuthor
    More actions

    Agent note — task 20102, lane oc-code-06 (2026-11-25):

    Slice 2 merged. PR #14674 (zstd span-section reads) was rebased onto latest main (no main-side atlas-core changes since its base), re-verified green (219 lib + integration), and merged as 5acf8c2.

    Slice 3 opened: PR #14709 — §6 step 4 + resolution mechanics + idempotence decision, spec-first:

    • ColdShard::verify_content_hash: reconstruction vs the version's content_hash (SHA-256 hex, bare or sha256:-prefixed) before any hot write; mismatch aborts that version only and names it; returns verified bytes.
    • resolve_version: (file_id, version_seq) → holding shard; none → not-found, two → ambiguity error. Catalog-agnostic; the persistent catalog stays in Atlas cold tier: cold catalog + fan-out addressing — #6042 follow-on 3 #8229.
    • restore_decision: absent → Proceed, same-hash → NoopSuccess, differing → Conflict (never overwritten).
    • 6 new tests; 22/22 cold tests green, full atlas-core suite green (225 lib + integration); fmt clean. Repo-wide clippy is env-broken (clippy-driver/rustc metadata skew, reproduces on untouched atlas-proto).

    Remaining acceptance (still tracked here, not in this slice): hot write §6 steps 5–7 with the hot versioning store; writer-packed roundtrip once #8227 lands; cold-roundtrip-verify once #8230 lands.

  14. developing-today-fleet
    marked this as blocking on Nov 25, 2026
    • Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230
  15. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Graph hygiene (#14863 slice 8): label corrections flagged for the holder (comment-only; issue is queue/claimed). status:in-review + status/needs-triage are carried together, and priority/high + priority/normal are carried together — one of each pair should win. Refs #14863

  16. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Agent note — task 24033, lane XM (queue shepherd, 2026-11-26):

    Slice 3 merged. PR #14709 merged as b95c65c (merge commit, 2026-11-26T15:37:20Z).

    • Shepherd check: PR was OPEN/non-draft, MERGEABLE/CLEAN at first check, no labels, no reviews, no review findings (only a CodeRabbit rate-limit notice; its checks were skipping). Single file pkgs/atlas-search/crates/atlas-core/src/cold.rs, +255/-5.
    • Not superseded: main's cold.rs blob before merge (7d3f9ffd) was exactly the PR's base blob and contained none of the new functions; after merge main's blob is 022729f9d, exactly the PR's new blob — change landed intact.
    • Tests: author-verified at head 430e139 (22/22 cold tests, full atlas-core suite 225 green, fmt clean). Independent re-run via fleet Actions exec was attempted twice and blocked by a TLS UnknownIssuer error on workflow dispatch from the sandbox; fallback per execution routes is repo CI on main — 8 workflows queued for b95c65c at merge time (docs, fleet-smoke, atlas docs), no failures at report time.
    • Disposition: this PR carries no closing keyword for Atlas cold tier: restore importer — #6042 follow-on 2 #8228 and the issue correctly remains OPEN. Remaining acceptance unchanged: hot write §6 steps 5-7 with the hot versioning store; writer-packed roundtrip via Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 + cold-roundtrip-verify via Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230; persistent catalog in Atlas cold tier: cold catalog + fan-out addressing — #6042 follow-on 3 #8229.
  17. dezren39
    added a commit that references this issue on Nov 26, 2026

    feat(atlas-core): restore a cold version into a hot store (S6 steps 5-7)

    ddca150
  18. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Agent note — task 20102, lane xaltha (2026-11-26):

    Slice 3 merged; slice 4 opened. PR #14709 merged 2026-11-26T15:37:20Z (the park's ready condition), so this run took the next slice.

    PR: #15660 — §6 steps 5–7, spec-first (no concrete hot versioning store exists on main yet, same pattern as slices 1–3):

    • ColdShard::restore_version: content-hash gate before any store call (mismatch = zero writes), idempotence decision vs the hot copy (same-hash no-op; differing = reported conflict, never overwritten), provenance-additive insert under the original (file_id, version_seq) with lineage re-attached, vectors as-is bit-identical with the model-mismatch flag, mark-hot only after a successful insert.
    • Writes go through a new HotVersionStore trait; tests use a call-recording in-memory store (oracle: design §6). 4 new tests.

    Verification (remote only; fleet queue dispatch blocked by TLS #13185, fleet-command.yml fallback used): run 45861875549 — cold tests 26/26; run 45863214570 at head 24b5d41 — full atlas-core lib suite 276 passed / 0 failed. Package cargo fmt --check still reports one pre-existing diff in filters.rs:617 on main (untouched here); cold.rs is fmt-clean.

    Remaining acceptance: writer-packed roundtrip once #8227 lands; cold-roundtrip-verify once #8230 lands. Task 20102 parks on PR #15660 merging.

  19. dezren39
    added a commit that references this issue on Nov 26, 2026

    feat(atlas-core): restore a cold version into a hot store (§6 steps 5…

    77d7c89
  20. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    MemberAuthor
    More actions

    Lane 10 (task 20102): slice 4 landed. PR #15660 merged as 77d7c89. Its head 24b5d41 had passed the full atlas-core lib suite (276/0, fleet run 45863214570), and main had no newer changes to cold.rs.

    Still needed for full acceptance, as the PR noted: the writer-packed roundtrip once #8227 lands, and cold-roundtrip-verify once #8230 lands.


    Generated by Claude Code

  21. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Agent note — task 20102, lane FF (queue lane, 2026-11-26)

    Fresh verification this claim:

    • Issue Atlas cold tier: restore importer — #6042 follow-on 2 #8228 OPEN, no held/user/do-not labels; no live competing claim in comments (last note is lane 10 slice-merged, comment 7200041123).
    • Slice 3: PR feat(atlas-core): verify cold-shard content hash, resolve shards, restore decision #14709 MERGED 2026-11-26T15:37:20Z as b95c65c — the packet's stale blocker "PR feat(atlas-core): verify cold-shard content hash, resolve shards, restore decision #14709 remains open" is resolved.
    • Slice 4: PR feat(atlas-core): restore a cold version into a hot store (§6 steps 5–7) #15660 MERGED 2026-11-26T18:05:21Z as 77d7c89; its head passed atlas-core lib 276/0 (fleet run 45863214570, per comment 7200041123).
    • Remaining acceptance only: writer-packed roundtrip + cold-roundtrip-verify (§7).
      • Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 (shard writer, follow-on 1) still OPEN, status/parked + queue/parked; writer exists only in draft PR WIP: Atlas cold-tier shard writer (exporter) — #8227 #12726, not landed on main.
      • Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230 (cold-roundtrip-verify, follow-on 4) still OPEN, status/blocked + queue/queued; its own notes (7190856839, 7201909546) revalidate it blocked on Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 and Atlas cold tier: restore importer — #6042 follow-on 2 #8228.
    • Action: no new implementation this run (spec-first slices 1-4 already cover §6 steps 2-7). Task 20102 dep-blocked on Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 with a non-person ready condition.
    • Resume when: Atlas cold tier: shard writer (exporter) — #6042 follow-on 1 #8227 shard writer lands on main (issue closed / writer PR merged), then pack a version with that writer, restore it via the landed importer, and run §7 verification (via Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230 tool if landed, otherwise the §7 procedure directly, recording the substitution).
  22. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Acceptance update — task 20102, lane oc-code-06 (2026-11-27):

    Writer-packed roundtrip landed in PR #16164 (branch queue/20102-8228-cold-restore-roundtrip, atop origin/main@d2c33857 which contains the #8227 writer merge #12726).

    • The importer (cold.rs) now reads the landed writer's manifest spellings (occurrence object-or-array, lineage object-or-flat, retention class/corpus_class, all-empty lineage folds to none).
    • New tests pack with the real cold_shard::pack (codecs none + zstd) and verify the §7 procedure directly: byte-identical restores per version and per span, bit-identical vectors, identity/lineage/provenance/retention survival, same-hash no-op, differing-hash conflict without overwrite, corrupt-span abort with zero store writes.
    • Verification: cargo test -p atlas-core 317 lib tests pass; cargo fmt --check clean on cold.rs.

    #8230 substitution (packet rule): the standalone cold-roundtrip-verify tool is still open, so §7 is verified directly via the procedure in the roundtrip test rather than via the tool. When #8230 lands, its tool should be run once against a writer-packed shard as a cross-check; no importer change is expected.

    This PR carries Fixes #8228; merge closes the issue.

  23. developing-today-fleet
    added a commit that references this issue on Nov 27, 2026

    Merge pull request #16164 from developing-today/queue/20102-8228-cold…

    bf900e9
  24. developing-today-fleet
    closed this as completedin #16164on Nov 27, 2026
  25. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Done — task 20102, lane oc-code-02 (2026-11-27):

    • Merged PR atlas-search: writer-packed restore roundtrip — #8228 #16164 (atlas-search: writer-packed restore roundtrip) as bf900e9131f; it carried Fixes #8228, closing this issue.
    • Independent verification in a clean worktree at PR head 6fa8f06: cargo test -p atlas-core --lib 317 passed / 0 failed, cargo fmt --check clean.
    • Post-merge re-verification on new origin/main bf900e9131f: cargo test -p atlas-core --lib cold 41 passed / 0 failed.
    • Acceptance note stands: Atlas cold tier: cold-roundtrip-verify tool — #6042 follow-on 4 #8230 (standalone cold-roundtrip-verify) is still open, so §7 is verified directly per the packet substitution rule.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/infraInfrastructure, deployment, and operationseffort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)priority/highImportant and time-sensitivepriority/normalOrdinary priority (the default)queue/claimedQueue worker lifecycle statestatus/needs-triageNot yet triaged; needs a first lookstatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      • Atlas programNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      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.