Repository navigation
fix(ci): keep config proof capture helper private - #174181
Conversation
|
🦞👀 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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThis PR makes the screenshot capture helper private while preserving its existing caller and behavior. Example: The full-tree unused-export scan examines proofCapture.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this is a correct, focused cleanup that current main still needs; no introduced defects were found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherControl UI E2E tests call configProof, which configures optional screenshot capture through a module-local helper and writes proof artifacts. flowchart LR
A[Config E2E tests] --> B[configProof]
B --> C[Private proofCapture]
C --> D[Playwright screenshot]
D --> E[Proof artifacts]
Technical reviewBest possible solution: Retain the private helper change and handle inherited CI failures through the native landing workflow. Do we have a high-confidence way to reproduce the issue? Source confirms the unused export and its sole internal caller; the existing full-tree audit explicitly checks test-support exports. Is this the best way to solve the issue? Removing the export keyword is the smallest complete repair and preserves screenshot capture without adding an audit exception. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c489e8ce0a85. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests 0. Total 0 across 1 file. 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 16, 2026, 8:02 AM ET / 12:02 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
The Talk media-owner refactor in 19a4ee3 (#174105) kept dropping DOMException causes so the UI formatter would not append native details to translated guidance. Moving that throw inside catch required a new preserve-caught-error suppression and broke the fixed inventory on main. Add UserFacingError to the existing UI formatter owner: its message is complete presentation text, still redacted, while its cause is retained for diagnostics. Talk supplies the native cause. Ordinary Error formatting, localized messages, cancellation, and device selection remain unchanged. Remove the suppression without changing any allowlist or ratchet baseline. The camera boundary regression fails before the fix because cause is undefined (6.43s). All 41 focused tests pass (20.55s), with the existing assertions retained; corrected input test passes again (3.37s). UI build, production and test types, type-aware/boundary lint, formatting, full architecture checks, assertion safety, and isolated P2 review pass. The two unrelated full-tree deadcode findings are covered by #174173 and #174181. The earlier media-facts assertion allowance was already corrected by d8a406e; this commit changes no baseline.
…#174200) The Talk media-owner refactor in a4fdc0c (openclaw#174105) kept dropping DOMException causes so the UI formatter would not append native details to translated guidance. Moving that throw inside catch required a new preserve-caught-error suppression and broke the fixed inventory on main. Add UserFacingError to the existing UI formatter owner: its message is complete presentation text, still redacted, while its cause is retained for diagnostics. Talk supplies the native cause. Ordinary Error formatting, localized messages, cancellation, and device selection remain unchanged. Remove the suppression without changing any allowlist or ratchet baseline. The camera boundary regression fails before the fix because cause is undefined (6.43s). All 41 focused tests pass (20.55s), with the existing assertions retained; corrected input test passes again (3.37s). UI build, production and test types, type-aware/boundary lint, formatting, full architecture checks, assertion safety, and isolated P2 review pass. The two unrelated full-tree deadcode findings are covered by openclaw#174173 and openclaw#174181. The earlier media-facts assertion allowance was already corrected by ac578b3; this commit changes no baseline.
What Problem This Solves
Fixes the unused-export check after the config/composer E2E fixtures were consolidated.
User Impact
There is no user-visible change. The existing screenshot capture helper and its caller stay intact.
Why This Change Was Made
proofCaptureis used only byconfigProofin the same module. Making it private removes the unused exported surface without changing capture behavior or adding a deadcode exception.Evidence
pnpm tsgo:uipnpm deadcode:exportsrenderActivityGroup, fixed separately by #174173.proofCaptureis no longer reported.Support LOC: 145 before / 145 after; production LOC unchanged. No build or screenshots are needed because this only removes an export keyword from test support. Local E2E was not run.
CI 38895845229 completed: all selected UI unit and E2E jobs and security-fast passed. The only failed job was the inherited assertion-safety baseline (
src/media/media-facts.ts: 14 < 16), plus the downstream CI gate. The failing source, baseline, and checker are identical between CI's base and tested merge; this PR changes only the fixture export. Native inherited-failure evidence records the exact run and checkout.