Repository navigation
fix(ci): unused exports fail the dependency check - #198510
Conversation
The check-dependencies job reported six unused exports. Keep the five unclaimed implementation details private without changing their behavior; PR #198306 by vincentkoc covers the separate release waiver table, which remains untouched here. QA_UX_STREAM_END_MARKER and TELEPORT_PT were introduced by #198293. adoptTelegramDmTopicMessage and TELEGRAM_DM_TOPIC_ADOPT_WINDOW_SEC came from #169444; migrate their direct tests to adoptTelegramDmTopicUpdate and retain the explicit three-second accepted/four-second rejected window. ChatModelRuntimeControl came from #192137 and keeps its local renderer. Pinned formatting passes and independent P0-P2 review is clean. Named tests could not collect without runtime dependencies; scoped lint could not start with a wrapper import outside the requested sparse checkout. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 3bcacc77-7216-8f2e-9e43-4c1cf827724f
|
🦞👀 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 five implementation details module-private and migrates Telegram tests to the existing update boundary. Example: The dependency checker inspects TELEGRAM_DM_TOPIC_ADOPT_WINDOW_SEC, whose value is 3.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it is a focused maintainer-authored CI repair that remains necessary on main, with no introduced correctness findings. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRepository dependency checks inspect exports across production, tests, and scripts; these modules supply Telegram topic adoption, QA streaming, iOS grading, and model-picker presentation. flowchart LR
A[Repository source] --> B[Knip export scans]
B --> C[Dependency check]
D[Telegram test updates] --> E[Existing adoption boundary]
E --> F[Private message helper]
Technical reviewBest possible solution: Keep these implementation details private in their existing modules and retain the migrated boundary tests. Do we have a high-confidence way to reproduce the issue? Source confirms unnecessary exports under the checker's zero-unused-export contract, and the official baseline job failed; no target code was executed during this review. Is this the best way to solve the issue? This is the smallest complete repair: remove unnecessary export visibility and move the two test consumers to the existing production operation without changing runtime behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4cffd43ee043. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests +1, Other 0. Total +1 across 6 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label 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 November 13, 2026, 7:34 PM ET / November 14, 2026, 00:34 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
* fix(ci): keep unused dependency exports module-private The check-dependencies job reported six unused exports. Keep the five unclaimed implementation details private without changing their behavior; PR openclaw#198306 by vincentkoc covers the separate release waiver table, which remains untouched here. QA_UX_STREAM_END_MARKER and TELEPORT_PT were introduced by openclaw#198293. adoptTelegramDmTopicMessage and TELEGRAM_DM_TOPIC_ADOPT_WINDOW_SEC came from openclaw#169444; migrate their direct tests to adoptTelegramDmTopicUpdate and retain the explicit three-second accepted/four-second rejected window. ChatModelRuntimeControl came from openclaw#192137 and keeps its local renderer. Pinned formatting passes and independent P0-P2 review is clean. Named tests could not collect without runtime dependencies; scoped lint could not start with a wrapper import outside the requested sparse checkout. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> * fix(ci): unused exports fail the dependency check Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 3bcacc77-7216-8f2e-9e43-4c1cf827724f --------- Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Related: #198306
What Problem This Solves
Fixes: main CI's dependency check fails when module-private implementation details are unnecessarily exported.
User Impact
No user-visible change. This removes five of the six findings in the observed main failure. The separate release-waiver finding was fixed by #198306, independently merged as a108302.
Why This Change Was Made
Keep the five implementation details private rather than suppressing Knip. Migrate the two Telegram test consumers to the existing public update boundary, preserving message identity, all assertions, and explicit three-second accepted/four-second rejected coverage. No production behavior or waiver files change.
Evidence
Original failure: scheduled run 43519241305, job 132209690591. Provenance traced to chore(ios): measure chat scroll and streaming stability on the simulator #198293, fix(telegram): first DM message lands in root chat when the client creates the topic separately #169444 and feat(ui): group model picker runtime and account settings #192137.
Consumer inspection found only local production uses and the two migrated Telegram test files.
Pinned formatting passed; independent P0–P2 review found no actionable issues.
Gap: named Telegram/iOS-grader tests executed zero cases because dependencies are absent; scoped lint stopped before analysis on a missing sparse-checkout import. Runtime, lint and whole-tree dependency proof remain pending. PR CI is the broad proof route; actual admitted jobs must be checked before claiming dependency-scan execution. Natural-main qualification remains separate from implementation and merge.
Exact-head PR CI: changed-node, changed-extension config/bundle/boundary, UI (1/3), selected UI E2E, and lint jobs passed; skipped jobs remain unqualified.
Inherited CI failures: checks-ui (2/3), 11 cases and checks-ui (3/3), 6 cases exactly match the cases and full error payloads of scheduled main run 43535774099, jobs 132264530593 and 132264530541. The aggregate CI gate fails only downstream of these two shards. CI remains failed; this attribution supports the authorized inherited-failure landing route.
Contributor credit: @obviyus and @steipete.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by