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/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 #10446

New issue
Copy link
New issue
Copy link
Closed
#10543
Closed
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#10446
#10543
Copy link
Assignees
dezren39
Labels
effort/mMedium: expected under 1 day of workkind/refactorCode restructuring with no behavior changepriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

What'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:

  • Last completed production-line-guard run 43655150992 (head 66d8a319, 2026-11-14T23:49:35Z) FAILED on pkgs/id/crates/id-worlds/src/world/mod.rs: 2559; the two server.rs entries were not over the limit at that commit.
  • Every later guard run is still queued (9 consecutive push runs from 01:05Z to 08:35Z; repo-wide queue saturation is tracked by CI: hosted runner queue saturates repo-wide (~425 queued runs), so PR checks wait hours behind push and workflow_run traffic #2605), so the server.rs overflow has no CI verdict yet. The moment a runner picks up the next guard run it reports all three files.

Why it matters

  • Under .github/ci-policy.md, main push CI is the post-merge merge evidence for main; production line guard is a listed main-tier workflow. A permanently red guard erases that evidence for every merge.
  • The two copies must stay byte-identical (check-fleet-search-parity.sh, fleet step 5: search domain joins fleet — gated on #5350 step 6 cutover #5433/fleet-search: pyjson/render verbatim copies of atlas-search have no drift guard — the byte-parity contract (#5433) is unenforced #5920), so the split has to be mirrored in both crates, not just atlas-search.
  • The untracked overflow also interacts with the parity fix for the missing trace capture (separate issue 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): mirroring that adds ~30 production lines to the fleet copy, taking it to ~2531, so the split should land first or in the same PR.

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

  1. 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).
  2. 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.
  3. 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=).
  4. bash .github/scripts/check-production-line-limit.test.sh still passes (the "every grandfather entry names an existing file" contract included).

Activity

Next
  1. dezren39
    added
    kind/refactorCode restructuring with no behavior change
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    on Nov 15, 2026
  2. developing-today commented on Nov 15, 2026

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

    CODE-3787

  3. dezren39
    added
    effort/mMedium: expected under 1 day of work
    on Nov 15, 2026
  4. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    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.

  5. github-actions
    assigned
    dezren39
    on Nov 15, 2026
  6. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    Main CI watch (pass 2026-11-15): new failure on main for workflow production-line-guard.

    • Run: https://github.com/developing-today/code/actions/runs/43700417257 (created 2026-11-15T09:41:03Z, updated 2026-11-15T10:45:57Z, head 83f4d90)
    • Failed job: "basic: production line limit (2500)" (step "Guard passes on this tree (id: F11.10 large-module split has no regression guard — no automated check fails when a production file regrows past 2,500 lines #1411)")
    • This matches the described over-limit files in this issue (atlas/fleet-search server.rs copies + id-worlds/world/mod.rs context). Tracking for the fleet main-CI watch trigger.
  7. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

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

  8. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    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.

  9. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    Recurrence: main CI failure on production-line-guard workflow, run https://github.com/developing-today/code/actions/runs/43751819161 (push, head f417286, created 2026-11-15T19:19:58Z). Failed job: basic: production line limit (2500). Deduped to existing open tracker #10446 (no new issue/task/session). Watermark advanced.

  10. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    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.

  11. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    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.

  12. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 15, 2026
  13. 2 remaining items

  14. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    Fix attempt in PR #10543 (branch fix/10446-server-line-limit, commit 7ccc0bd2e7, task 17385).

    What changed

    • Extracted the mirrored feedback HTTP DTO/conversion (FeedbackRequest, FeedbackRequester, into_input) from both pkgs/atlas-search/crates/atlas-search/src/server.rs and pkgs/fleet/crates/fleet-search/src/server.rs into server/server_feedback.rs in each crate.
    • Updated .github/scripts/check-fleet-search-parity.sh and .github/scripts/check-fleet-search-parity.test.sh to pin/compare the new mirrored server/server_feedback.rs pair (new module files added, so parity guard pinned file list + contract tests updated in the same PR).
    • Preserved the 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-tracked parity drift (fleet render.rs/server.rs still missing atlas: trace capture — atlas-query-trace/v1 records, fail-closed trace write (#6027 follow-on 1) #9973 trace capture/query_id handling); no new parity divergence introduced.

    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.
  15. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    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.

  16. dezren39
    added a commit that references this issue on Nov 15, 2026

    fix: return validated feedback input from server DTO conversion (#10446)

    bbda676
  17. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    Update: fix commit pushed to PR #10543.

    • Fix: bbda67698d "fix: return validated feedback input from server DTO conversion (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 #10446)" (corrects server/server_feedback.rs::into_input to return the validated FeedbackInput in both mirrored copies).
    • Verification now green locally in ~/git/fleet/code-fix-10446:
      • bash .github/scripts/check-production-line-limit.sh → OK (662 files, no OVER LIMIT for atlas/fleet server.rs)
      • bash .github/scripts/check-production-line-limit.test.sh → all contract tests passed
      • bash .github/scripts/check-fleet-search-parity.sh → only 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/server.rs (no server/server_feedback.rs drift; no new parity divergence)
      • cargo test -p fleet-search (pkgs/fleet) → 21 passed, 0 failed (+ serve_contract/doc-tests 0)
      • cargo test -p atlas-search (pkgs/atlas-search) → 41 passed, 0 failed (unittests src/main.rs), 0 passed (src/bin/atlas-stage.rs), 11 passed, 0 failed (tests/cli_parity.rs)

    PR branch is at bbda67698d; ready to merge when CI/checks are green.

  18. dezren39
    added a commit that references this issue on Nov 15, 2026

    fix: point parity contract test at server/server_feedback.rs paths (#…

    318d0d1
  19. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    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:

    • bash .github/scripts/check-production-line-limit.sh -> OK (662 production .rs files; atlas/fleet server.rs no longer over limit)
    • bash .github/scripts/check-production-line-limit.test.sh -> all contract tests passed
    • bash .github/scripts/check-fleet-search-parity.sh -> 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/server.rs; no drift for the new server/server_feedback.rs pair
    • Prior session at the same head: cargo test -p fleet-search 21 passed; cargo test -p atlas-search 41 + 11 passed

    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.

  20. dezren39
    added a commit that references this issue on Nov 15, 2026

    Merge pull request #10543 from developing-today/fix/10446-server-line…

    37e8921
  21. dezren39
    closed this as completedin #10543on Nov 15, 2026
  22. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 15, 2026
  23. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 15, 2026
  24. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026
    MemberAuthor
    More actions

    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.

  25. dezren39
    added a commit that references this issue on Nov 16, 2026

    refactor(search): split server_feedback.rs out of server.rs in atlas-…

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

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

effort/mMedium: expected under 1 day of workkind/refactorCode restructuring with no behavior changepriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

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.