Repository navigation
fix(ui): restore upload and channel setup e2e checks - #199224
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 Summary: ✅ CompletedThis 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 updates channel setup and terminal upload E2E selectors to match current accessible names and error copy. Example: The Slack setup scenario opens Channels settings.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep open: this PR minimally repairs two stale E2E selectors while preserving the intentional UI improvements and existing flow assertions; no introduced defect was found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI browser suites exercise channel setup and terminal uploads against mocked Gateway responses, then verify rendered outcomes and outgoing RPC requests. flowchart TD
A[Browser E2E scenarios] --> B[Control UI pages]
C[English catalogs] --> B
B --> D[Mock Gateway responses]
D --> B
B --> E[Setup and upload outcomes]
E --> F[Flow assertions]
Technical reviewBest possible solution: Apply the two selector corrections while retaining the existing production owners and behavioral assertions. Do we have a high-confidence way to reproduce the issue? Current-main source directly shows both selector mismatches, and the PR records failing-before and passing-after browser runs; this review did not execute tests. Is this the best way to solve the issue? The smallest complete fix updates the existing selectors to the intentional UI contracts without weakening assertions, adding fallbacks, or changing production behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 86d86e2d58ce. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests 0. Total 0 across 2 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:
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 14, 2026, 4:45 PM ET / 21:45 UTC. |
|
The requested repair is green in exact-head Landing is held for two additional failures in
The complete job log places both in the Linux Bun browser shard. Focused runs of both files pass 15/15 on this PR head (10.42s) and on the exact main parent 3ed9c94 (6.82s). These replays do not establish a fix or inherited attribution. No introducing commit for these additional CI failures has been established, so no admin exception is claimed and no rerun was requested merely to chase green. The existing test-owner history points to #196787 for the audio test and #192242 for the changed composer scenario, but those are investigation leads, not proven regression introducers. The original deterministic failures are attributed: channel setup to #199130 and terminal upload to #199134, each bisected with a failing introducing commit and passing exact parent. The model-picker regression was introduced by #198751 and is repaired by #198986. No assertions/timeouts were weakened, and this PR changes zero production lines. |
|
Merged via squash.
|
Follow the intentional error-copy change in openclaw#199134 and channel-specific accessible name in openclaw#199130. Both introducing commits fail the original e2e case while their exact parents pass. Preserve all flow assertions and timeouts; production behavior is unchanged.
What Problem This Solves
Two deterministic Control UI E2E failures on main stop unrelated PRs at the UI checks. Both tests still use labels changed intentionally by recent UI improvements.
User Impact
No user-visible behavior change. Contributors regain the upload and channel setup checks without undoing the improved UI copy and accessibility labels.
Why This Change Was Made
#199130 (
ef4a3c8b3abc) gave each channel setup button its channel-specific accessible name. The Slack setup scenario still searched for exact “Set up”; it now searches for exact “Set up Slack”. #199134 (0f8cf8c19003) changed the terminal upload failure heading to “Couldn’t add the file.” so permanent errors do not promise that retrying will work. The upload scenario now waits for that exact heading.The product behavior is correct. This updates two test expectations; production LOC and net test LOC both remain zero. The same RPC, recovery, redaction, cancellation, quoting, and selected-channel completion assertions remain. No timeout changes, fallback selectors, or production changes.
Evidence
3ed9c940c1e06ad26f429b515a290d3728d7018e.git bisect, running each single failing case through the Control UI E2E runner, identifies fix(ui): clarify configured channels and skill removal #199130 and improve(ui): clarify browser annotations and device recovery guidance #199134. Both introducing commits fail at the original wait; both exact parents pass. Channel: 23.28s failing / 13.75s parent passing. Upload: 22.64s failing / 13.08s parent passing. These are runner durations dominated by the original wait timeout, not product performance claims.node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner: 23.21s runner duration, 25.74s complete command wall time.pnpm check:changed --base HEAD -- <the two e2e files>passed, including the UI E2E type graph, lint, guards, and dead-export scans.The separate empty-model spacing regression from #198751 is handled by existing #198986. This PR does not duplicate that fix. CI configuration is unchanged.
CI rerun and landing evidence
At unchanged head
77b6c8443783d40b9be9d02173caa8b2730be5b8,checks-ui (3/3)passed on the lead's single diagnostic rerun: run 43643114736, attempt 2, passing UI job 132600827076. The attempt-1 audio playback and composer attachment failures were intermittent; both files also pass 15/15 on the exact main parent locally. The test-only patch changes neither browser owner. This passing rerun diagnoses intermittency; it is not a claimed repair of those flakes.The red
openclaw/ci-gateresult was the stale attempt-1 aggregate. At landing verification, attempt 2's aggregate job 132602549145 and security-fast both pass, and the run concludes success. The lead explicitly authorized landing despite the unrelated flakes; current green CI makes an admin exception unnecessary.The touched UI E2E shard passed, changed-file checks passed, independent Codex autoreview is clean, and ClawSweeper has zero findings/open items on this exact head. Combined local proof with #198986 passes all 13 cases in the three originally reported E2E files. #198986 is now merged as
b7bc6c4102101e0f29b4a33edc871f225d1010a4.