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 shard consumer: serve-mode (fleet serve search role) and #5668 snapshot-id integration (follow-up of #5755 slice 1) · Issue #6666 · developing-today/code

atlas shard consumer: serve-mode (fleet serve search role) and #5668 snapshot-id integration (follow-up of #5755 slice 1) #6666

New issue
Copy link
New issue
Copy link
Open
0 / 20 of 2 issues completed
Open
atlas shard consumer: serve-mode (fleet serve search role) and #5668 snapshot-id integration (follow-up of #5755 slice 1)#6666
0 / 20 of 2 issues completed
Copy link
Labels
app/atlas-searchpkgs/atlas-search (Atlas search service + atlas-embed)effort/mMedium: expected under 1 day of workepic/atlas-programReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmeta/epicEpic / bundle of related workpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
Atlas program

Description

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

Slice 1 exposes ShardSet::snapshot_id() (sha256 over sorted shard name/tier/chunk count) and a hidden CLI --shards (standalone only; skips --via-service). Remaining: (1) wire ShardedBackend into the atlas-search serve engine (#5604) behind config, with periodic/triggered re-discovery so new shards and promotion batches are observed without restart; (2) feed snapshot_id into the #5668 result-cache key; (3) persistent embedded replicas for internal/public. Refs #5755, #5668, #5604.

Acceptance criteria

  • The atlas-search serve engine (fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604) can run the sharded backend (ShardSet) behind config, with periodic or triggered re-discovery so new shards and promotion batches are observed without a restart.
  • ShardSet::snapshot_id() feeds the atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668 result-cache key, so cached results are invalidated when the shard set changes.
  • Persistent embedded replicas for internal/public are covered, and the standalone --shards path keeps working; relevant atlas-search tests pass in CI.

Sub-issues

Collapse Sub-issuesSub-issues

0 of 20 of 2 Issues completed
Loading 2 sub-issues

Activity

Next
  1. developing-today commented on Nov 7, 2026

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

    CODE-2063

  2. dezren39
    added
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    kind/enhancement
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    app/atlas-searchpkgs/atlas-search (Atlas search service + atlas-embed)
    on Nov 7, 2026
  3. dezren39 commented on Nov 7, 2026

    @dezren39
    dezren39
    on Nov 7, 2026
    MemberAuthor
    More actions

    Intake review

    • Agent: fleet monitor (repo-fleet-monitor), run 2026-11-07 04:12 CST — protocol §5 intake pass.
    • Still live: verified OPEN this run; a merged-PR search for this issue number found no PR that resolves it. Follow-up of issue atlas core consumer wiring: fleet atlas-search fan-out over the TursoDB shard core (tier ceilings, merge, --expand hydration) #5755 slice 1 (ShardSet::snapshot_id + hidden --shards CLI landed); serve engine is issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604; result cache is issue atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668. No merged PR resolves this slice.
    • Notes: Serve-mode re-discovery must not swap shard sets mid-query; snapshot_id in the cache key only helps if the swap is atomic per query.
    • Suggested approach: Wire ShardedBackend behind config in the fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604 serve engine, feed snapshot_id into the atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668 cache key, and add a re-discovery test with a promoted shard batch.
    • Labels normalized this pass: kind/enhancement, status/needs-triage, priority/normal, effort/m, app/atlas-search + meta/enriched. Acceptance criteria appended to the body (original text preserved verbatim above it).
  4. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 7, 2026
  5. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code, lane code-s)
    • Session / ID: task 11251
    • Found via: queue claim
    • Task: Triage issue atlas shard consumer: serve-mode (fleet serve search role) and #5668 snapshot-id integration (follow-up of #5755 slice 1) #6666 — handed off to the opencode execution lane per fleet queue lane assignment for task 11251.
    • Expectation: The opencode claimant launches a bound session for task 11251 and drives it to a terminal state.
    • Links: issue atlas shard consumer: serve-mode (fleet serve search role) and #5668 snapshot-id integration (follow-up of #5755 slice 1) #6666
  6. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    on Nov 8, 2026
  7. 196 remaining items

    Load more actions
  8. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Done check + gate disposition — lane felix, 2026-11-23, against origin/main fb07aa22e.

    Criteria 1 and 2 are met on main; no reimplementation needed or made.

    • Criterion 1 (serve engine runs ShardedBackend behind config, with re-discovery): PR feat(atlas): serve-mode shard fan-out with re-discovery (#6666 slice 1) #11216 merged 2026-11-17. Verified present on current main: ServeSettings carries the optional shards spec plus shard_refresh_seconds (default 60, values < 1 refused) in pkgs/atlas-search/crates/atlas-search/src/server.rs; ShardedBackend in crates/atlas-core/src/shards/scan.rs holds the set behind an RwLock and swaps it atomically when snapshot_id() changes, keeping the previous set on discovery failure; regression test sharded_backend_refresh_swaps_in_new_shards_and_moves_the_snapshot is in crates/atlas-core/tests/shards.rs. Both serve entries (atlas-search serve, fleet serve search) use it when a spec is configured; the monolith path is unchanged without one.
    • Criterion 2 (snapshot_id feeds the atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668 result-cache key): result_cache_key(query, snapshot_id, ceiling, ...) in crates/atlas-proto/src/lib.rs hashes the snapshot id into the atlas-result-cache/v1 key, so a shard-set rotation invalidates cached results; covered by every_flag_changes_the_result_cache_key and the atlas-search: snapshot-bound result cache — per-service memory, snapshot-rotation invalidation (#5668 slice 3) #9943 snapshot-bound cache work.
    • Criterion 3, standalone half: the --shards path is unchanged and was covered by slice 1's verification.

    The one remainder is gated, and the gate is #11213. Criterion 3's persistent-embedded-replica half is this issue's own sub-issue #11213. Its scope item 1 (integration shape) is decided and recorded (PR #12868, decision record doc/2026-11-23T04-10-00Z_decision_atlas_embedded_replica_integration/ — turso crate pull-only is the default candidate; reads never open a syncing replica file from a second process). Stages 2–4 remain on #11213, and stage 1 — the engine-match spike that gates the crate choice — requires a pull from a real internal shard on the laptop plus live Turso sync-budget measurements (§5.5: ~5 GB against the monthly 24 GB allowance). That is live-infrastructure work that cannot run from this seat, and #11213 is labelled queue/blocked with its own staged plan, so this lane is not building around the gate or duplicating #11213's routing.

    Resume condition: #11213 stage 1 (spike) runs on a seat with the laptop shard and live Turso access; stages 2–4 follow there; #6666 closes when #11213 stage 4 (its acceptance record) lands. Claim released outcome=free with this condition.

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Released by felix (outcome: free). Done check: criteria 1-2 verified on main (PR #11216, #5668/#9943 cache key); criterion 3 replica half gated on sub-issue #11213 stages 1-4 (stage 1 spike needs laptop shard + live Turso). Resume: #11213 stage 4 lands.

  11. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  12. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    MemberAuthor
    More actions

    🤖 Agent note · audit against current main (no PR — criteria 1–2 already landed) · lane xaltha · 2026-11-25 hourly work-loop

    Claim-check: no live lane claim found (only stale 2026-11-08/09 queue handoffs for task 11251, all evaporated/parked). Audited the three acceptance criteria against current origin/main in pkgs/atlas-search:

    • ✅ Criterion 1 (serve engine runs ShardedBackend behind config, with re-discovery): landed. crates/atlas-search/src/main.rs cmd_serve builds ShardedBackend::new(backend, set).with_refresh(spec, ceiling, settings.shard_refresh) when the service config carries a shards spec; crates/atlas-core/src/shards/scan.rs ShardRefresh/with_refresh/refresh_shard_set re-opens the set on the configured interval and swaps it atomically when the snapshot changes. Test: sharded_backend_refresh_swaps_in_new_shards_and_moves_the_snapshot in crates/atlas-core/tests/shards.rs.
    • ✅ Criterion 2 (snapshot_id feeds the atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668 result-cache key): landed via atlas-search: snapshot-bound result cache — per-service memory, snapshot-rotation invalidation (#5668 slice 3) #9943. SearchBackend::snapshot_id() in crates/atlas-core/src/backend.rs (ShardedBackend reports ShardSet::snapshot_id()), and the snapshot-bound result cache in crates/atlas-search/src/server.rs keys/GCs entries by it; test sharded_backend_reports_the_shard_set_snapshot_id.
    • ⬜ Criterion 3 (persistent embedded replicas for internal/public): NOT landed. crates/atlas-core/src/shards/local.rs still describes itself as "the seam for embedded replicas (design 5.5) later" — local-file shards exist (LocalShardTransport, DirLister) but there is no persistent embedded-replica sync/serving path for the internal/public tiers. This is the remaining slice; it is design-level (5.5), not a narrow fix, so no speculative PR was opened this run.

    The standalone --shards path in cmd_search is unchanged and still works as before. Next slice = criterion 3 only.

  13. 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

    Fresh triage (2026-11-26): criteria 1 and 2 remain satisfied on main by merged PR #11216 and #9943; the standalone --shards path remains covered. Criterion 3 is NOT complete: #11213 still tracks persistent internal/public embedded replicas and is open/blocked. Its old implementation task #20734 is cancelled after the 45-minute packet was identified as mismatched to the staged, multi-day scope; the re-packetisation triage #21694 is done, but no ready implementation slice is queued. Therefore #6666 remains open and blocked on #11213; no duplicate implementation packet filed. Resume when #11213 has a correctly scoped ready stage or closes with evidence. Evidence: #11213 comments #11213 (comment) and #issuecomment-7125109323; #6666 latest audit comment confirms criteria 1–2 landed and criterion 3 outstanding.

  14. developing-today-fleet
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/queuedHas a queued queue task
    on Nov 26, 2026
  15. 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

    🤖 Agent note · 2037-J re-verified blocked · lane 2037-J · queue task 24349 · 2026-11-26 alpha DRIVE

    Fresh check this run (gh, 2026-11-27T02:4xZ):

    • atlas shard consumer: serve-mode (fleet serve search role) and #5668 snapshot-id integration (follow-up of #5755 slice 1) #6666 OPEN, labels queue/blocked + status/blocked — matches blocked verdict.
    • Criterion 1 ✅ merged PR feat(atlas): serve-mode shard fan-out with re-discovery (#6666 slice 1) #11216; criterion 2 ✅ atlas-search: snapshot-bound result cache — per-service memory, snapshot-rotation invalidation (#5668 slice 3) #9943 / atlas-search service: query-embedding + snapshot result caching, --no-cache/--wait/--expand/--raw flags #5668 slices; standalone --shards covered (per 2026-11-26 triage comment on this issue).
    • Criterion 3 ❌ not complete: atlas(#6666 slice 3): persistent embedded replicas for internal/public (libsql local-copy, design 5.5) #11213 atlas(#6666 slice 3): persistent embedded replicas for internal/public (libsql local-copy, design 5.5) #11213 still OPEN, labels queue/blocked + status/blocked, updated 2026-11-24T07:32:50Z. No ready implementation slice queued (#20734 cancelled as mis-sized, #21694 triage done).
    • Action: no duplicate packet filed; queue task 24349 parked with ready condition: atlas(#6666 slice 3): persistent embedded replicas for internal/public (libsql local-copy, design 5.5) #11213 has a correctly scoped ready implementation stage or is closed with evidence, then re-check atlas shard consumer: serve-mode (fleet serve search role) and #5668 snapshot-id integration (follow-up of #5755 slice 1) #6666 criterion 3.
  16. developing-today-fleet
    added a sub-issue on Nov 27, 2026
    • atlas core consumer wiring: fleet atlas-search fan-out over the TursoDB shard core (tier ceilings, merge, --expand hydration) #5755
  17. developing-today-fleet commented on Nov 28, 2026

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

    Triage recheck — queue task 24349 (lane code-f, 2026-11-28)

    Verdict unchanged: premise VALID; NOT a small fix — criteria 1-2 covered elsewhere, criterion 3 still tracked and blocked. No code changed in this pass.

    Re-verified firsthand: #6666 OPEN (queue/blocked, status/blocked, effort/m); covering work #11216 MERGED (serve-mode shard fan-out, slice 1), #9943 CLOSED (snapshot-bound cache); remaining criterion 3 tracked by #11213 OPEN (status/blocked, queue/blocked, effort/l) with no open PR. Task parks until #11213 unblocks.

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

    app/atlas-searchpkgs/atlas-search (Atlas search service + atlas-embed)effort/mMedium: expected under 1 day of workepic/atlas-programReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmeta/epicEpic / bundle of related workpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    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.