Repository navigation
Conversation
|
Warning Review limit reachedYou'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 40 minutes. View limit details
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. |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
Auto-sync: merging
|
| side | commit | subject | issue refs |
|---|---|---|---|
| main | 2c5b5b73f |
fix(train): reach floors return to mid-window on the merged tree (#20452) | #20452 |
| this branch | f7867bfde |
fix(frontend): re-pin the reach floors this branch moved (#20512) | #20512 |
|
Code review on PR #20538 (head 10ba675): changes needed. Read only; the guard wasn't run or timed.
|
|
Code review on PR #20538 (head f7867bf): changes needed. Read only; the detector wasn't run. The relative-client reading and the
|
|
Code review on PR #20538 (head 365fab7): approve, landing after #20401 and #20540. Read only; the guard wasn't run. Leading-parameter routes no longer match loosely, while mounted forms still do; the 7 integration routes are back on the baseline, and a sample of removals have real callers. Limit as documented: a wildcard inside a route still matches any one-segment caller. |
|
Code review (code-reviewer pass) at 8bd45c2 Verdict: APPROVE Checked: route grammar is reused from
No blocking findings. |
|
Train T82 (#20897) carries two train-side fix commits so the merged tree passes CI. 7ed68b0 re-measures repo_tests/unconnected_code_baseline.txt on the merged tree: the baseline was generated at this PR's head and main has moved since, so 12 items that are already unconnected on main were added (all unchanged by the train) and 10 entries that the T82 passengers wired in were removed, shrink-only on the stale side. efa0c60 moves T82 passengers onto the shared comment syntax and design tokens (#20465 work). Nothing needed from the author. |
|
Branch deleted after verification: every commit is in main and the branch shows 0 changed files against main. Restore it from this PR if needed. |
Thinking Path
Code keeps merging with nothing connected to it, such as the approval resume route and
file_cleanup_queue.check-new-module-callers.shexists but no workflow runs it, it matches by substring, and it sees only new modules. A repo_tests guard runs in the requiredpython-suite, so new unconnected code fails there, while a frozen list holds existing cases until they are wired in.What Changed
repo_tests/_unconnected_*.pyandunconnected_code_gate_20512_test.py: flag a backend module with no importer or launcher, a route with no caller or declared external prefix, a Redis list or stream with no reader, a SQL table nothing reads or writes, and hand-declared symbols.repo_tests/unconnected_code_baseline.txt: 985 entries (844 routes, 119 modules, 10 queues, 9 tables, 3 declared), shrink-only. 983 of 985 reference the umbrella [Umbrella] AutoBot Efficiency & Precision — wire built-but-disconnected machinery + runtime fixes #10603 (built-but-disconnected machinery); 2 reference their own issue (bug(chat): deleted conversation files stay on disk because nothing consumes file_cleanup_queue #20234 forfile_cleanup_queue, fix(chat): attached files reach the answer, and owners manage their own files (#20195) #20401 for the resume route). Wiring in is the remedy, never deletion; the header says so and a test pins it.scripts/audit_api_wiring.pyanddead_surface.py, and drops their rule that a bare/api/chatscall covers every route beneath it, because that hid the resume route.Verification
What it cannot see
A client held in a field or returned by another function, a path in a variable, a relative fetch, a module imported only by another unused module, a dead function in a live module, a dead frontend caller, runtime-built paths and keys, directory-scan loading, other Redis types, verb mismatches, and unwired frontend, Ansible or shell code. A comment naming a path counts as a caller.
Landing note
#20401 and #20234 wire in baseline entries, so whichever lands after this removes its line, or the stale test fails.
Model Used
Claude Sonnet for the implementation, Claude Opus for coordination.
Single-issue rationale
Refs #20512 and does not close it: a frontend-only PR that removes a route's last caller is not judged until the next Python change, because shards run on Python paths.