GeezerVison is showing github.com — atlas/fleet-search: server.rs copies are over the 2500 production-line limit (2509 / 2501) — #10419 used the last 108 lines of headroom and production-line-guard is red on main · Issue #10446 · developing-today/code
atlas/fleet-search: server.rs copies are over the 2500 production-line limit (2509 / 2501) — #10419 used the last 108 lines of headroom and production-line-guard is red on main #10446DescriptionWhat's wrong
bash .github/scripts/check-production-line-limit.sh fails on current main HEAD 73ae4d58dc2b4268ab8acbf8fe69ea2ca4a59092:
::error::OVER LIMIT pkgs/atlas-search/crates/atlas-search/src/server.rs: 2509 production lines (limit 2500)
::error::OVER LIMIT pkgs/fleet/crates/fleet-search/src/server.rs: 2501 production lines (limit 2500)
::error::OVER LIMIT pkgs/id/crates/id-worlds/src/world/mod.rs: 2559 production lines (limit 2500)
production-line-guard: FAILED
production-line-guard is red on main. Only the id-worlds/world/mod.rs line is tracked (#10430). These two server.rs copies have no split issue and no grandfather entry, so they are unfiled red lines in a main-tier push check.
Cause
637e29c982 (#10419, "feat(atlas): feedback capture surfaces — API, CLI, UI contract (#9976)", merged 2026-11-15T03:13:54Z) added 232 lines to each of the two server.rs copies (git show --numstat 637e29c982: 232/3 for both). Counting with the guard's own production-lines awk at the parent commit 3a74be0236, both copies were 2392 production lines — 108 lines of headroom left — and are now 2509 (atlas-search, +117, 9 over) and 2501 (fleet-search, +109, 1 over).
CI evidence:
Why it matters
Suggested fix shape
The mirrored // ---- feedback ---- sections are self-contained and identical in both copies — pkgs/atlas-search/crates/atlas-search/src/server.rs:2189-2238 and pkgs/fleet/crates/fleet-search/src/server.rs:2181-2230 (types + JSON plumbing; the two route arms are in the routing section near :2387-2428 / :2379-2420). Extracting them into a sibling feedback.rs in each crate (mirroring atlas-core's feedback module) removes roughly 50-60 production lines per copy and brings both to ~2450, with headroom for the trace-capture mirror. Splitting the // ---- job store ---- section (:911-1950) is the larger alternative.
If a grandfather entry is preferred instead, the guard's convention requires one entry per path with a linked split issue, and the entry is deleted in the PR that lands the split.
Acceptance criteria
bash .github/scripts/check-production-line-limit.sh prints no OVER LIMIT line for pkgs/atlas-search/crates/atlas-search/src/server.rs or pkgs/fleet/crates/fleet-search/src/server.rs (the only remaining failure, if any, is the id-worlds/world/mod.rs line tracked by id: split pkgs/id/crates/id-worlds/src/world/mod.rs (2,559 production lines) — over the 2500 production line limit #10430).
- No new parity divergence:
bash .github/scripts/check-fleet-search-parity.sh reports only the pre-existing drift tracked by atlas/fleet-search: #9973 trace capture was never mirrored into the fleet-search copy — fleet serve search writes no atlas-query-trace records and omits query_id (parity guard red on main) #10445 — if a new module file is added, add it to the parity guard's pinned file list (check_pair calls) and its contract tests in the same PR.
cargo test -p atlas-search -p fleet-search stays green, including the atlas: feedback capture surfaces — API, CLI, UI contract (#6027 follow-on 4) #9976 feedback route tests (POST /v1/feedback, GET /v1/feedback?query_id=).
bash .github/scripts/check-production-line-limit.test.sh still passes (the "every grandfather entry names an existing file" contract included).
Activitydeveloping-today commented on Nov 15, 2026 dezren39 commented on Nov 15, 2026 Cross-link: the parity drift this split must not worsen (missing #9973 trace capture + query_id render in the fleet copy) is filed as #10445. dezren39 commented on Nov 15, 2026 Main CI watch (pass 2026-11-15): new failure on main for workflow production-line-guard.
dezren39 commented on Nov 15, 2026 Recurrence (main-ci-failure-trigger, 2026-11-15T12:31Z): new completed main-branch run 43710518499 (workflow production-line-guard, push, head 87e013355461bd6570e5ca5b03a48d2eadb7fe31, created 2026-11-15T11:46:15Z, completed 2026-11-15T11:47:22Z, link) failed above the prior code watermark (43709606038). Failed job basic: production line limit (2500) step "Guard passes on this tree (#1411)": OVER LIMIT pkgs/atlas-search/crates/atlas-search/src/server.rs 2509 production lines and OVER LIMIT pkgs/fleet/crates/fleet-search/src/server.rs 2501 production lines (limit 2500). #10446 is OPEN and tracks this exact breakage; deduped as recurrence to existing live track (no duplicate issue/task/session filed by this trigger). dezren39 commented on Nov 15, 2026 Recurrence (main-ci-failure-trigger, 2026-11-15T16:35Z): new completed main-branch run 43735618441 (workflow production-line-guard, push, head 63ba3b755d132e03cbb419cbc14aae4c37773643, "gh-fleet: wrap gh so laptop calls route through fleet gh (Nix) (#10314)", link) failed above watermark 43734188650. Failed job basic: production line limit (2500) step "Guard passes on this tree (#1411)": OVER LIMIT pkgs/atlas-search/crates/atlas-search/src/server.rs 2509 and pkgs/fleet/crates/fleet-search/src/server.rs 2501 (limit 2500). Older same-workflow failure in this window: 43735150743 (head 32dc1f9). Live fix track remains #10446 (OPEN, no task/session recorded in state); deduped - no duplicate issue/task/session started by this pass. dezren39 commented on Nov 15, 2026 dezren39 commented on Nov 15, 2026 Recurrence (main-ci-failure-trigger, 2026-11-15T19:33Z pass): new completed main-branch run 43752820667 (workflow production-line-guard, push, head ddeba2db500b30c1306165684eb950ae3c7351f4, created 2026-11-15T19:30:42Z, completed 2026-11-15T19:32:15Z, link) failed above the prior code watermark (43751819210).
Failed job: basic: production line limit (2500) (step Guard passes on this tree (#1411), exit 1)
OVER LIMIT pkgs/atlas-search/crates/atlas-search/src/server.rs: 2509 production lines (limit 2500)
OVER LIMIT pkgs/fleet/crates/fleet-search/src/server.rs: 2501 production lines (limit 2500)
Checked 660 production .rs files. #10446 remains OPEN and tracks this breakage; this pass is starting a verified fix effort (enqueue + WORKHORSE fix session) deduped to #10446. dezren39 commented on Nov 15, 2026
Picked up and verified (CI red on main run 43752820667, head ddeba2d: atlas-search server.rs 2509 prod lines, fleet-search 2501; limit 2500). Parking immediately: ~10 min remaining in this scheduled run, insufficient for safe mirrored split + parity + tests + PR. Resume: laptop worktree from main, reduce both server.rs copies below limit while preserving parity (check-fleet-search-parity.sh), run bash .github/scripts/check-production-line-limit.sh, bash .github/scripts/check-fleet-search-parity.sh, bash .github/scripts/check-production-line-limit.test.sh, cargo test -p atlas-search -p fleet-search, open PR. dezren39 commented on Nov 15, 2026 Fix attempt in PR #10543 (branch fix/10446-server-line-limit, commit 7ccc0bd2e7, task 17385).
What changed
Verification (local, from worktree at HEAD ddeba2d base)
bash .github/scripts/check-production-line-limit.sh → OK (checked 662 production .rs files). Atlas/fleet server.rs no longer over limit (atlas-search 2509→2469 prod lines, fleet-search 2501→2461; total file lines 4063/4055).
bash .github/scripts/check-production-line-limit.test.sh → all contract tests passed.
bash .github/scripts/check-fleet-search-parity.sh → exits 1 reporting only the pre-existing atlas/fleet-search: #9973 trace capture was never mirrored into the fleet-search copy — fleet serve search writes no atlas-query-trace records and omits query_id (parity guard red on main) #10445 drifts in render.rs and server.rs; no drift reported for server/server_feedback.rs.
cargo test -p fleet-search (run from pkgs/fleet) → passed (21 passed, 0 failed; tests/serve_contract.rs 0 tests; doc-tests 0).
cargo test -p atlas-search (from pkgs/atlas-search) → started in this session but had not completed by the time of this comment; needs confirmation (CI / follow-up).
State/handoff
- PR: atlas/fleet-search: extract server feedback DTOs under production-line limit (#10446) #10543 (open, targets
main). Branch pushed: origin/fix/10446-server-line-limit.
- Work done in
~/git/fleet/code-fix-10446 (worktree); did not modify/stage unrelated local changes present in /home/user/git/code (pkgs/id/crates/id-cli/src/commands/serve.rs, pkgs/id/src/currency/gateway.rs).
- Remaining: confirm
cargo test -p atlas-search -p fleet-search fully green (atlas-search pending) and merge when verified.
dezren39 commented on Nov 15, 2026 Recurrence (main-ci-failure-trigger pass 2026-11-15T19:52Z): new completed main-branch failure for production-line-guard above prior watermark.
- Run: https://github.com/developing-today/code/actions/runs/43752820667 (push, head
ddeba2db500b30c1306165684eb950ae3c7351f4, "repo-keeper: snapshot code 2026-11-15 13:27 CST", created 2026-11-15T19:30:42Z, completed 2026-11-15T19:32:15Z)
- Failed job:
basic: production line limit (2500) (job 132930332235)
- Failed step:
Guard passes on this tree (#1411) (exit 1)
- Errors:
OVER LIMIT pkgs/atlas-search/crates/atlas-search/src/server.rs: 2509 production lines (limit 2500); OVER LIMIT pkgs/fleet/crates/fleet-search/src/server.rs: 2501 production lines (limit 2500)
#10446 remains OPEN as the live fix track for this workflow/breakage. Dedupe: no duplicate issue filed; no new fix task/session started this pass (one live fix per failing workflow). State watermark advanced over examined runs. dezren39 commented on Nov 15, 2026 Update: fix commit pushed to PR #10543.
PR branch is at bbda67698d; ready to merge when CI/checks are green. dezren39 commented on Nov 15, 2026
Lane code-b resumed task 17385 / issue #10446 from the verified checkpoint. PR #10543 already existed (branch fix/10446-server-line-limit); re-verified fresh at head bbda676: worktree ~/git/fleet/code-fix-10446 clean, PR MERGEABLE/CLEAN, no hard-stop labels.
Fresh verification this shift:
One defect found and fixed in this shift: the PR's own parity contract test copied src/server_feedback.rs (nonexistent) instead of src/server/server_feedback.rs — fixed in commit 318d0d1, pushed to PR #10543. Note: check-fleet-search-parity.test.sh still fails its first assertion, identically on clean base ddeba2d, because of the pre-existing #10445 drift — not caused by this PR.
Codex gate: the Codex review on PR #10543 failed to complete (Codex usage limits reached); no findings or inline comments were posted, so there is no undispositioned Codex finding. Proceeding to merge under the standing criteria. dezren39 commented on Nov 15, 2026
Done (task 17385, lane code-b): PR #10543 MERGED, merge commit 37e8921; issue #10446 CLOSED. Post-merge production-line-guard on main at the merge commit succeeded: run 43757127519 (https://github.com/developing-today/code/actions/runs/43757127519). This shift's added commit 318d0d1 fixed the parity contract test paths for server/server_feedback.rs. Stale queue/status labels removed; remaining labels: status:done, kind/refactor, task/small-fix, priority/normal, effort/m.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|