Repository navigation
fix(ci): keep backup and chat search internals private - #189894
Conversation
Drop unused export modifiers after the backup owner cutover and migrate highlight tests to the existing production watcher and search state. Co-authored-by: steipete <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR makes four implementation symbols private and updates browser tests to use the existing transcript search owner. Example: Search notice text for “the rollback”.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it is maintainer-authored and makes a focused, useful cleanup of internal exports. No actionable correctness or security finding was identified; the exact-head CI gate remains pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherBackup verification consumes archive entries and enforces extraction budgets; transcript search consumes search state and registered text blocks to publish browser highlight ranges. flowchart TD
A[Backup archive entries] --> B[Backup verification spool]
B --> C[Extraction budget checks]
D[Transcript search state] --> E[Search highlight watcher]
F[Registered text blocks] --> E
E --> G[Browser highlight ranges]
Technical reviewBest possible solution: Retain this focused cleanup and complete the existing exact-head CI gate before landing. Do we have a high-confidence way to reproduce the issue? Current-main source and repository-wide references establish the unnecessary exports; no target code was executed during this read-only review. Is this the best way to solve the issue? The patch is the smallest complete fix: preserve the existing production owners, remove their unnecessary exports, and migrate tests to the production search interface. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ffbaf04726a5. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests +14. Total +14 across 4 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 31, 2026, 8:40 PM ET / November 1, 2026, 00:40 UTC. |
|
Merged via squash auto-merge.
|
…ed-backup-search-exports-20261101 * commit 'cde4bfe4f10ce470ded7264c68d9a72ae03594cc': fix(ci): keep backup and chat search internals private (#189894) fix(codex): recover unused native threads without dropping history (#189900) fix(oc-path): use last duplicate JSON key to match runtime parsing (#189855) perf(test): parse the Mantis resolver workflow once (#189801) fix(agents): revert default hard context admission (#189891) refactor(test): use canonical tracked temp paths (#189800) chore(ui): refresh control ui locales (#189898) improve: show gateway commit and build time on About refactor(test): share SDK export fixture JSON writes (#189799) fix: restore Files navigation from unavailable previews (#189879) refactor(test): share raw ratchet fixture writes (#189798) fix(ai): honor Model Studio compatible-mode output limits (#189870) fix: hold queued messages through inline edits (#189869) perf(test): reuse the baseline fixture Node resolver (#189790) test(qa): correlate handoff replies by run identity (#189885) fix(ui): normalize canonical Unicode in local search comparisons (#189874) fix(ui): explain unsupported browsers without module scripts (#189883) # Conflicts: # ui/src/pages/chat/components/chat-search-highlight.browser.test.ts
Drop unused export modifiers after the backup owner cutover and migrate highlight tests to the existing production watcher and search state. Co-authored-by: steipete <[email protected]>
What Problem This Solves
Fixes the backup and chat-search unused exports reported by
check-dependenciesin scheduled full CI 41252475393.User Impact
No user-visible behavior change. Backup limits and chat-search highlighting continue to use their existing owners.
Why This Change Was Made
Remove four unused export modifiers introduced by
4fb684e294e2andd5be7a6a4293(#170434). The browser tests now exercise the existing production search watcher and state owner instead of importing private implementation details; their assertions remain intact.Evidence
f121a7f70da4; patch is identical to the acceptedbcd893b02508candidate.pnpm deadcode:dependenciesclears all four targeted findings but exits 1 on two unrelated unused exported types already present on the new main base:src/channels/plugins/types.plugin.ts: ChannelIdentityLinkAdapterandsrc/gateway/github-personal-oauth.ts: PersonalGitHubActionV2. The former was introduced and the latter lost its external consumer in4674051ce50a(feat: link Discord accounts from personal profiles #188910); neither owner is changed here. The aggregate is not claimed green.pnpm deadcode:exportsalso exits 1 solely for those same two unrelated exported types; its script scan is clean. All four targeted exports are absent from both findings lists. Both scripts passed on the original accepted candidate; unchanged unused-file inventory proof was also clean.c633ec6376e1..bcd893b02508: complete-context scoped-clean, no findings. Full watcher, state owner, and browser tests were supplied. Review did not execute tests; the rebase is patch-identical.Simplify pass: no production machinery added, no new tests or test seams. Both production files retain their existing line counts; test setup grows by 14 lines to use the real search owner. No rendering change. Exact-head PR CI supplies broad proof.
Requested by @steipete
Work sessions
Discussion, implementation and verification