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 — feat(fleet): search domain — atlas-search client surface over the live service (step 5, #5433) by dezren39 · Pull Request #5601 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 4, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Step 5 of epic #5412 — the search domain joins the fleet multicall binary, gated on the #5350 step-6 Atlas cutover (verified landed; gate evidence linked on #5433, comment 6637362431). This is the last step of the epic.

What lands

crates/fleet-search — the atlas-search client surface over the live Atlas service contract:

  • fleet search <query> (and the atlas-shaped fleet search search <query>), plus fleet search get-chunk <id>. The flag surface mirrors atlas-search search one-for-one where it translates to the wire request: --k/--pool/--mode, the classification filters (--kind/--topic/--project/--client/--since/--until), --max-sensitivity, --group-by-session/--expand/--with-message, --text, --model/--embedder/--trunc/--vector-backend, and the routing flags --via-service/--standalone/--service-url. Standalone-only engine knobs (--backend/--db/--vecdb) are not carried — the design's "no more".
  • Via-service client ported from atlas-search's own (submit → poll → page the job protocol), including the atlas-search(service): results-paging loop has no deadline or cursor-progress guard — a non-advancing page stream hangs the CLI forever instead of falling back to standalone #5424 cursor guards. Wire types mirror atlas-proto field-for-field (that crate is untouched and remains the contract of record; the fleet nix source is this workspace alone, so the mirror is how the contract is consumed here — the fleet-dispatch/pm-dispatch precedent). Output renders through pyjson/render ported verbatim from the atlas-search bin, so service envelopes print byte-identically to atlas-search.
  • Host defaults per the Atlas Q3 ruling: sandbox seat → via-service with a LOUD standalone fallback; laptop seat → standalone. Seat signal is the service's own service.json (only the serving host has one). Precedence: flags → ATLAS_SEARCH_VIA → fleet.toml [search] via (new fleet-config section) → host default.
  • Sandbox reachability follows the deployed pattern, not a second mechanism: the via-service client is proxy-blind (atlas-search: via-service client should honor proxy env (ureq Proxy::try_from_env) #5597), so before the service attempt the client mirrors the deployed atlas-search wrapper — bootstrap the shared laptop-ssh control connection, ask it to forward loopback:18760, health-check. No wrapper tooling present → the step skips itself.
  • Standalone = the kept standalone atlas-search artifact on PATH (§7 rollback inventory): fleet carries no second embedder/backend, so standalone searches and get-chunk (job-scoped in the protocol — atlas-search's own shape) delegate with the caller's arguments in atlas-search's shape, stdout inherited byte-for-byte.
  • Ceilings stay server-side: the verb sends the requested ceiling with the host's atlas client identity (the client.json token chain — drew-cli secret-bearing, sandbox-scripts personal); it adds no ceiling logic of its own.

Placement (§2 matrix, unchanged registry): the client compiles into the full build only (search feature). The serve build carries search-serve only → fleet search stubs 69 there (asserted in smoke); connect stubs 69 (already asserted). The atlas-search argv0 alias routes to the domain (already in the registry; now real).

Scope note

fleet serve search remains the not-implemented stub and the atlas user unit still points at the standalone atlas-search service. The bin-crate rehome + unit re-point from the issue text is not in this PR: the client surface above is the step's delivered surface, and the serve-role rehome is filed as its own follow-up so this step cannot destabilize the just-landed cutover (§7's caution, and the gate's "reversible in a single re-point" stays trivially true while the unit is untouched).

Tests

  • cargo test --workspace: all suites green (fleet-search adds 17: request translation/defaults against atlas-proto's own defaults test, atlas-search(CLI): --k/--pool 0 and negative (=form) counts silently clamp to 0 — standalone returns empty success where the service rejects the same request #5407 count validation against atlas's, the stub-service parity tests, pyjson/render ports with their tests).
  • Hermetic smoke additions in the established style: a stub Atlas service implementing the server-side clamp with the step-6 canary planted (chunk 537) — personal client clamped (canary absent, ranking = the service's), secret-bearing client sees it at rank 1; argv0 route parity; get-chunk/standalone delegation to a stub artifact; loud fallback when the service is down; serve-variant client stub.
  • Live proofs (parity vs the real atlas-search, the canary through the fleet verb from both seats, a 69 stub) run against the deployed builds and are posted on fleet step 5: search domain joins fleet — gated on #5350 step 6 cutover #5433.

Autofix with [code]smith
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.

All reactions
@dezren39
dezren39 requested a review from a team as a code owner November 4, 2026 17:35
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 5f4140fd-469c-422d-a2e5-a75d040ccb82
Commits

Reviewing files that changed from the base of the PR and between a335f21 and 8b860e3.

Files ignored due to path filters: 1
  • pkgs/fleet/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 12
  • pkgs/fleet/Cargo.toml
  • pkgs/fleet/README.md
  • pkgs/fleet/crates/fleet-config/src/lib.rs
  • pkgs/fleet/crates/fleet-search/Cargo.toml
  • pkgs/fleet/crates/fleet-search/src/client.rs
  • pkgs/fleet/crates/fleet-search/src/lib.rs
  • pkgs/fleet/crates/fleet-search/src/proto.rs
  • pkgs/fleet/crates/fleet-search/src/pyjson.rs
  • pkgs/fleet/crates/fleet-search/src/render.rs
  • pkgs/fleet/crates/fleet/Cargo.toml
  • pkgs/fleet/crates/fleet/src/main.rs
  • pkgs/fleet/smoke.sh
  • 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
  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T17:42:30.227069Z 8b860e3 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 4, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d0bf9ab2d3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/fleet/crates/fleet-search/src/lib.rs
Comment on lines +399 to +400
fn delegate(argv: &[String]) -> i32 {
let mut cmd = Command::new("atlas-search");

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 4, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid resolving the standalone delegate back to fleet

When the supported atlas-search argv0 alias is installed on PATH as a symlink to fleet, this command resolves to fleet itself rather than the kept standalone artifact—even if that artifact exists later on PATH. atlas-search get-chunk 42 then repeatedly spawns another identical invocation; standalone searches do the same on the laptop seat. The parents wait in status(), so the call never completes normally and keeps creating processes until resources are exhausted. Resolve the standalone artifact independently of the public alias, and reject delegation to the current executable.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/fleet/crates/fleet-search/src/lib.rs
Comment on lines +491 to +492
client::ensure_sandbox_forward(&base);
match client::search(&base, &request) {

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 4, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Honor the vector-table override before submitting to the service

When ATLAS_VEC_TABLE names a nondefault vector table and the service is healthy, this path silently searches the service's configured production table instead. The existing Atlas CLI reads this environment variable in VectorArgs (pkgs/atlas-search/crates/atlas-search/src/main.rs:153) and explicitly falls back to standalone for nondefault tables (main.rs:526–531), because the service request cannot select a table. Fleet never checks the override, although its standalone delegate inherits and honors it, so the selected vector corpus—and therefore search results—changes depending on service availability. Detect the override and fall back loudly to standalone, or explicitly reject it rather than silently querying another table.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
developing-today[bot]
feat(fleet): search domain — atlas-search client surface over the liv…
8b860e3
…e service (step 5, #5433)
@dezren39
dezren39 force-pushed the fleet-step5-search branch from d0bf9ab to 8b860e3 Compare November 4, 2026 17:40
@dezren39
dezren39 merged commit 18f0aa1 into main Nov 4, 2026
@dezren39
dezren39 deleted the fleet-step5-search branch November 4, 2026 17:41
This was referenced Nov 4, 2026
fleet search serve role: rehome the atlas service into fleet serve search + re-point the atlas user unit #5604
Closed
fleet step 5: search domain joins fleet — gated on #5350 step 6 cutover #5433
Closed
epic: one fleet multicall binary — search, queue, dispatch, proxy — with capability-selected builds #5412
Closed
This was referenced Nov 5, 2026
Fleet path Nix-build state: deployed fleet lags pkgs/fleet HEAD; remaining non-Nix pieces #5760
Open
atlas-search: via-service client should honor proxy env (ureq Proxy::try_from_env) #5597
Closed
fleet-search: pyjson/render verbatim copies of atlas-search have no drift guard — the byte-parity contract (#5433) is unenforced #5920
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
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.