Repository navigation
fleet-search: re-mirror atlas server.rs; guard covers server_error.rs and runs on push/PR (#15653) - #17031
Conversation
…the parity guard (#15653) The atlas copy of the shared serve implementation had moved ahead of the fleet-search rehome: the /v1/content/{hash} endpoint (content_by_hash end to end), the #3125 slice-8 serve-path occurrence attribution, and the #16255 slice-5 split of ServerError into server/server_error.rs all landed in atlas-search only, and the dispatch-only parity guard missed every one (~509 diff lines). - fleet server.rs is byte-identical to the atlas copy again, outside the pinned parity header and the #5640 HOME diagnostic's binary name (the one sanctioned difference). - server/server_error.rs now exists in fleet-search, verbatim, and the parity guard checks it as a sixth pair (both copies are fully identical, header included); the guard's contract tests copy it into their scratch trees too. - The parity-guard workflow now also runs on push to main and on PRs touching the paired paths or the guard itself, so the next one-sided change fails in CI instead of silently. Parity guard and its contract tests pass on this tree.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Lane 0640-GG — gate verdict for run 46329408928 (log read firsthand): NOT GREEN — do not merge yet. The command was
Fix direction (for the PR owner / Felix): mirror atlas-search's rusqlite dev-dependency into |
|
agent-note:v1 agent=felix lane=0640-GC state=priority-validation Priority validation 2026-11-29 (Felix): (none) → priority/high — this issue carries the fix for the reopened #15653 parity recurrence (the fleet-search re-mirror fell ~509 lines behind atlas on main), restores a guard contract that is red on main, and unblocks the last #16255 server.rs slice; important and time-sensitive, matching #15653's standing band. The issue was filed with no labels at all (verified by two direct REST reads; a search-index read showing a full label set was stale). Band only — lane 0640-GG owns the fix itself (its gate verdict 7265475933 stands: NOT GREEN, do not merge yet); no other labels touched. |
|
agent-note:v1 agent=felix lane=0640-GC state=correction Correction to my note 7265495770 above: #17031 is a pull request (branch felix/15653-parity-remirror), not an issue — it surfaced in a search query filtered type:issue, and I banded it before the PR/issue distinction registered. Priority bands apply to issues only, never PRs. The priority/high label I applied has been removed (verified: labels now empty, back to the filed state). No other action taken on this PR; lane 0640-GG's gate verdict (7265475933, NOT GREEN) stands untouched. The band question for the underlying issue #15653 is unchanged — priority/high already stands there. |
|
agent-note:v1 agent=felix lane=0640-GO state=claimed Claiming the build-defect fix for this PR (lane 0640-GO, Felix-directed): mirror atlas-search's rusqlite dev-dependency into pkgs/fleet/crates/fleet-search/Cargo.toml so the re-mirrored serve-attribution tests compile, push to felix/15653-parity-remirror, and re-run the gate from run 46329408928 (cargo test -p atlas-search, then cargo test -p fleet-search --features serve). No parity-direction or source changes. Felix merges. |
…#15653) The serve-attribution tests re-mirrored from atlas-search call rusqlite::Connection directly, but fleet-search's manifest gave its test build no rusqlite (gate run 46329408928: 5x E0433). Mirror atlas-search's dev-dependency entry exactly (0.43, bundled); the fleet workspace lock already carries rusqlite 0.43.0, so the lock change is only the fleet-search edge (hand-added, verified by the gate run under --locked). Dev-dependency only; no production deps.
|
agent-note:v1 agent=felix lane=0640-GO state=fix-pushed Fix pushed: commit 23a97ce on felix/15653-parity-remirror — pkgs/fleet/crates/fleet-search/Cargo.toml gains Gate re-dispatched: fleet-command run 46331554243 (developing-today/fleet), same commands as run 46329408928 — |
|
agent-note:v1 agent=felix lane=0640-GO state=gate-green run=46331554243 Gate verdict: GREEN — PR #17031 is merge-ready for Felix (lane 0640-GO; job log of fleet-command run 46331554243 read firsthand). Same gate as run 46329408928, at the new head 23a97ce (my rusqlite dev-dependency fix on top of 630c3f6):
The parity-guard leg (check-fleet-search-parity.sh + its contract tests on this branch, run remotely) is being collected separately and will be verdicted here as a follow-up; the cargo gate of record is green. |
|
agent-note:v1 agent=felix lane=0640-GO state=guard-green run=46332081066 Parity-guard leg: GREEN (lane 0640-GO; job log of fleet-command run 46332081066 read firsthand; checkout verified at this PR's head 23a97ce).
With the cargo gate (run 46331554243: atlas 63/0, fleet-search --features serve 80/0, --locked) also green, every leg of this PR is now remotely proven: merge-ready for Felix. |
Fixes the #15653 recurrence (reopened by 0640-ES): the atlas copy of the shared serve implementation moved ahead of the fleet-search rehome by ~509 diff lines — the /v1/content/{hash} endpoint (content_by_hash end to end), the #3125 slice-8 serve-path occurrence attribution, and the #16255 slice-5 split of ServerError into server/server_error.rs all landed in atlas-search only, and the dispatch-only parity guard missed every one.
server.rsis byte-identical to the atlas copy again, outside the pinned parity header and the atlas-search(fleet-search): HOME unset/empty resolves state/config/token paths relative to the CWD (literal ~ dir) #5640 HOME diagnostic binary name (the one sanctioned difference).server/server_error.rsnow exists in fleet-search, verbatim; the parity guard checks it as a sixth pair and its contract tests copy it into their scratch trees.Evidence on this tree (seat-side script runs, no build):
check-fleet-search-parity.sh→ OK for all six pairs;check-fleet-search-parity.test.sh→ all contract tests pass. Focused suites (atlas-search, fleet-search --features serve) dispatched remotely at this head; verdict with run id and counts will be posted on #15653 and here.This also unblocks the last #16255 server.rs slice: with parity restored, any future line-limit split of server.rs must be mirrored in both copies, which is now enforceable in CI.
Closes #15653
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T00:31:15Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "010b47d1c4cecdcd1b7d6ea260b7c9b0a61fb89e" }, "auth_subject": "felix", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.