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 — fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit · Issue #5604 · developing-today/code

fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604

New issue
Copy link
New issue
Copy link
Closed
Closed
fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit#5604
Copy link
Assignees
dezren39
Labels
area/infraInfrastructure, deployment, and operationskind/enhancementtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@developing-today
developing-today
bot
opened on Nov 4, 2026
Issue body actions

Residual scope from #5433, split out when step 5 landed the search client surface (PR #5601, merged 18f0aa1a6): fleet search / get-chunk now run over the live Atlas service contract, but the service itself still runs as the standalone atlas-search artifact.

What remains

  • Rehome the atlas-search bin crate's serve half as the fleet-search serve role, so fleet serve search runs the Atlas service (one shared embedder per process, read-only Turso token — the service stays mechanically incapable of production writes, the async job queue, per-client recovery listing, dedupe keyed by the effective request). atlas-core / atlas-embed / atlas-proto stay untouched and consumed as-is.
  • Re-point the atlas user unit at fleet serve search. The flip must stay reversible to the standalone atlas-search artifact in a single re-point (the standalone name keeps working via the argv0 map from the same workspace).
  • Gates before the flip: fleet serve search passes the Atlas step 4: serve mode — job protocol, worker pool, in-memory temp store #5354 protocol gates under the fleet binary; the atlas release rule applies — any fleet release touching the search domain re-runs the atlas gates (embedder bit-parity, golden parity) before the tag.

Why this is separate

Step 5's gate was the #5350 step-6 cutover; destabilizing a just-landed service by rehousing its server in the same step that added its client surface is exactly what the epic's sequencing (§7: search joins last, at a natural seam) argues against. The client surface shipped and is proven live (parity + ceiling canary on #5433); the serve rehome is a packaging move with its own risk profile and should be scheduled on its own evidence.

Activity

Next
  1. developing-today
    added
    area/infraInfrastructure, deployment, and operations
    kind/enhancement
    on Nov 4, 2026
  2. github-actions
    assigned
    dezren39
    on Nov 4, 2026
  3. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    Member
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-g
    • Session / ID: task 10085
    • Found via: queue claim
    • Task: Triage issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604 — assigned to the opencode execution lane; handing off to the opencode claimant, which launches the bound session. This lane did not work the task directly.
  5. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    Member
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-v
    • Session / ID: task 10085
    • Found via: queue claim
    • Task: Work on issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604 — execution lane assigned to opencode; handing off to the opencode claimant, which launches the bound session.
    • Expectation: claimant launches the bound opencode session for task 10085; this lane does not work the task directly.
    • Links: fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604
  7. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  8. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    Member
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-y
    • Session / ID: task 10085
    • Found via: queue claim
    • Task: triage for issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604 — handed off to opencode claimant (assigned_lane=opencode, session_id null at handoff); claimant launches the bound opencode session
    • Expectation: claimant session works issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604 at current main
    • Links: task 10085
  9. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    Member
    More actions

    🤖 Agent note · state: handed off

    • Agent: queue worker (repo-worker-code), lane code-o
    • Session / ID: task 10085
    • Found via: queue claim
    • Task: triage of issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604 is assigned to the opencode execution lane — handed off to the opencode claimant, which launches a bound session to drive task 10085 to its terminal state.
    • Expectation: claimant launches the bound opencode session during the park window; if unbound at lease expiry, task 10085 returns to the queue.
    • Links: issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604
  10. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    Member
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-s
    • Session / ID: task 10085
    • Task: Triage fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604: fleet search serve role: rehome the atlas service into fleet serve search + re-point the a. Claimed by lane code-s; execution-lane assignment returned opencode, so this task is handed off to the opencode claimant — no direct work by this lane. Fresh check on claim: issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604 OPEN, no hard-stop labels.
    • Resume condition: claimant launches the bound opencode session and drives task 10085 to its terminal state.
    • Links: issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604
  11. developing-today
    removed
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 5, 2026
  12. 33 remaining items

  13. dezren39
    removed
    work/assignedQueue worker lifecycle state
    on Nov 7, 2026
  14. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    Member
    More actions

    Partial verification — staying open (2026-11-07 done-task-only audit, tracking: #7016).

    Queue task(s) [10085] were marked done, and some work did land:

    • PR feat(atlas-core): shard discovery, tier ceilings and parallel fan-out over the core scan shards (#5755 slice 1) #6661 — feat(atlas-core): shard discovery, tier ceilings and parallel fan-out over the core scan shards (atlas core consumer wiring: fleet atlas-search fan-out over the TursoDB shard core (tier ceilings, merge, --expand hydration) #5755 slice 1) (merged 2026-11-07T01:28:27Z): feat(atlas-core): shard discovery, tier ceilings and parallel fan-out over the core scan shards (#5755 slice 1) #6661
    • PR fleet: fleet serve search — rehome the atlas service as the search serve role (#5604) #6674 — fleet: fleet serve search — rehome the atlas service as the search serve role (fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604) (merged 2026-11-07T01:47:31Z): fleet: fleet serve search — rehome the atlas service as the search serve role (#5604) #6674
    • Direct commits referencing this issue: 15f430a

    No merged change closes this issue's full scope, so the done status is not treated as completion. Remainder re-queued as triage task 11720.

  15. developing-today commented on Nov 8, 2026

    @developing-today
    developing-todayBot
    on Nov 8, 2026 – with developing.today
    ContributorAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-b
    • Session / ID: task 12231
    • Found via: queue claim (direct lane)
    • Task: Triage verdict for issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604: REAL AND CURRENT, remainder precisely scoped. Landed: PR fleet: fleet serve search — rehome the atlas service as the search serve role (#5604) #6674 (merged 2026-11-07T01:47:31Z) rehomed the atlas service as the fleet serve search role, PR feat(atlas-core): shard discovery, tier ceilings and parallel fan-out over the core scan shards (#5755 slice 1) #6661 landed the atlas-core shard work, and the nix-declared atlas-search.service ExecStarts the fleet 0.1.0 binary serve search. NOT in effect: drop-in ~/.config/systemd/user/atlas-search.service.d/6788-embed-endpoint.conf (created 2026-11-06 23:02 during the issue atlas search worker: Cloudflare Worker + per-query Durable Object embedding/result cache over the shard fan-out (successor surface for #5755) #6788 work) resets ExecStart to the standalone /home/user/.local/bin/atlas-search-6788 serve (+ ATLAS_ORT_LIB), and the running process (MainPID 475282, started 2026-11-07 21:01:38 CST) exe-verifies as that standalone build — fleet serve search is not actually serving. Source parity for the Workers dependency holds at current main: POST /v1/embed exists in both server.rs copies (atlas-search and fleet-search). Remainder converted to fix task 12736 (small_fix): verify the deployed fleet binary against the issue Atlas step 4: serve mode — job protocol, worker pool, in-memory temp store #5354 protocol gates incl. /v1/embed parity, retire the drop-in reversibly, restart onto fleet serve search, verify the Worker miss/hit path, then close this issue on that evidence.
    • Expectation: task 12736 performs the gated flip; this triage completes as triaged.
    • Links: issue fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604, PR fleet: fleet serve search — rehome the atlas service as the search serve role (#5604) #6674, issue atlas search worker: Cloudflare Worker + per-query Durable Object embedding/result cache over the shard fan-out (successor surface for #5755) #6788, issue Atlas step 4: serve mode — job protocol, worker pool, in-memory temp store #5354, task 12736
  16. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/queuedHas a queued queue task
    on Nov 8, 2026
  17. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    Member
    More actions

    Flip complete — atlas-search.service now runs fleet serve search (2026-11-08)

    Queue task 12736 (lane ec118cad-0fd3-4652-91c4-27432f2f2efd, worker repo-worker-code). The #6788 drop-in is retired and the unit serves from the nix-declared fleet binary. No rebuild or re-release was needed: the deployed fleet 0.1.0 passed every gate.

    1. #5354 gates on the deployed binary (pre-flip, isolated instance on 127.0.0.1:18761)

    Ran the deployed /nix/store/rhr8qp1fq9bdpkimk85d2x8nhl8qy756-fleet-0.1.0/bin/fleet serve search side by side with the standalone atlas-search-6788 on :18760, same service.json. 12/12 gates pass:

    Gate Result
    GET /health unauthenticated 200, {"status":"ok",...}
    POST /v1/search one-shot 200, 10 results; parity with standalone (job_id excluded — per-request by design), effective_ceiling personal/personal
    POST /v1/embed (issue #6788 dependency) 200 on both; byte-identical, sha256 f74a166219dea7cb, model Snowflake/snowflake-arctic-embed-m-v2.0, dims 768
    /v1/embed unauthenticated 401
    job submit POST /v1/search/jobs 202 + job_id + job_token
    job status → terminal status: done
    results paging ?cursor=&limit=2 5 pages, 10 items
    page concat == one-shot results equal (10/10)
    DELETE /v1/search/jobs/{id} 200
    ceiling cap: personal token requesting secret-bearing capped to personal
    unknown job id 404

    No ATLAS_ORT_LIB was needed: the fleet binary resolves ONNX Runtime from its own closure (the embedder produced real 768-dim vectors with the variable unset).

    2. Drop-in retired (reversible in one step)

    ~/.config/systemd/user/atlas-search.service.d/6788-embed-endpoint.conf
      -> 6788-embed-endpoint.conf.disabled-2026-11-08
    

    Renamed in place, not deleted — systemd only loads *.conf, so re-pointing is mv back + daemon-reload + restart. systemctl --user cat atlas-search.service now shows only the nix unit's ExecStart=/nix/store/rhr8qp1fq9bdpkimk85d2x8nhl8qy756-fleet-0.1.0/bin/fleet serve search with no ExecStart= reset and no ATLAS_ORT_LIB.

    3. Post-flip live verification on :18760

    • systemctl --user status: active (running), Main PID: 2151441 (fleet), exe readback /nix/store/rhr8qp1fq9bdpkimk85d2x8nhl8qy756-fleet-0.1.0/bin/fleet; log line atlas-search: serving on http://127.0.0.1:18760.
    • GET /health → 200 {"status":"ok","embedder_state":"cold",...}.
    • POST /v1/search → 200, backend: turso, real results.
    • POST /v1/embed → 200, 768-dim vector in the pinned Snowflake space.

    4. Worker path through atlas-search.security.cab (the #6788 surface)

    Query fleet serve search flip verification 1794120305, k=3, via https://atlas-search.developing-today.workers.dev (Access service token, gate bearer):

    • Miss: 200, cache: "miss", 5.90 s wall (embed_ms 479 + search_ms 4443), 3 results, DO created 2026-11-08T06:45:06.618Z, key b67764a2f50d510401cc3bc074bcc3e45677d2ecf4d60a6840dda5401cef8ea0, 768-dim embedding persisted.
    • Hit (identical query): 200, cache: "hit", 0.54 s, same key, hit_count: 1, result byte-identical (sha256 40d58af1ac35f2b3).
    • GET /v1/cache/inspect: has_embedding: true, embedding_dims: 768, embedding_valid: true, has_result: true, result_bytes: 10255, hit_count: 1.

    The Worker's miss path embeds through the fleet binary's /v1/embed and caches normally — the one behaviour the drop-in was protecting is intact on fleet serve search.

    Notes

    • init (client table) and fetch-model remain on the standalone atlas-search artifact by design (the fleet binary's own --help says so); the service.json client table is unchanged and service.json.bak-6788 is untouched.
    • Rollback: mv 6788-embed-endpoint.conf.disabled-2026-11-08 6788-embed-endpoint.conf && systemctl --user daemon-reload && systemctl --user restart atlas-search.service.

    Closing as done — no closing keyword, per the task brief.

  18. dezren39
    closed this as completedon Nov 8, 2026
  19. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    Member
    More actions
    agent-note: v1
    agent: openchamber-scheduled-lane
    worker: repo-worker-code
    lane: ec118cad-0fd3-4652-91c4-27432f2f2efd
    task: 12736
    transition: done
    at: 2026-11-08T06:45:46Z

    Picked up → verified → implemented → done in queue task 12736.

    • Verified: deployed fleet 0.1.0 serve search passed 12/12 Atlas step 4: serve mode — job protocol, worker pool, in-memory temp store #5354 gates on an isolated instance (127.0.0.1:18761), including /v1/embed byte-identical parity with the standalone build (sha256 f74a166219dea7cb).
    • Implemented: 6788-embed-endpoint.conf → 6788-embed-endpoint.conf.disabled-2026-11-08 (kept on disk, one-mv rollback); daemon-reload; restart. MainPID 2151441 now exe /nix/store/rhr8qp1fq9bdpkimk85d2x8nhl8qy756-fleet-0.1.0/bin/fleet.
    • Proven live: Worker path through atlas-search.security.cab — miss 5.90 s → hit 0.54 s, byte-identical result, hit_count 1, 768-dim embedding persisted.
    • Labels cleared (status/*, queue/*, work/*); issue closed with the evidence comment.
  20. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  21. dezren39
    added a commit that references this issue on Nov 8, 2026

    fix(fleet): include atlas-search/schema in the build fileset

    2ec6677
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

area/infraInfrastructure, deployment, and operationskind/enhancementtask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    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.