Skip to content

fix(ui): restore upload and channel setup e2e checks - #199224

Merged
steipete merged 1 commit into
mainfrom
steipete/perf-micro-main-red-ui-e2e-20260919
Nov 14, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/perf-micro-main-red-ui-e2e-20260919

Conversation

@steipete

@steipete steipete commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Reproduced both original failures on exact main parent 3ed9c940c1e06ad26f429b515a290d3728d7018e.
  • Path-limited first-parent 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.
  • Both repaired files pass all 9 tests through 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.
  • Codex autoreview: scoped-clean through P2, no accepted/actionable findings.

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-gate result 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.

Follow the intentional error-copy change in #199134 and channel-specific accessible name in #199130. Both introducing commits fail the original e2e case while their exact parents pass. Preserve all flow assertions and timeouts; production behavior is unchanged.
@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T21:31:38.304813Z 77b6c84 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The test searches for the exact accessible name “Set up” and cannot find the renamed button.
  • After: The test clicks “Set up Slack” and continues checking the selected-channel setup flow.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, minimal test repair with source-confirmed expectations and recorded focused validation; the separate browser-suite CI failures still require classification.
Proof confidence 🐚 platinum hermit (4/6) Only existing test selectors change; shipped-entry-point media is unnecessary, and the PR records focused browser regression validation.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Contributors encounter failing UI checks because two browser scenarios still search for deliberately replaced labels.
Reason: This maintainer-authored repair restores existing coverage at minimal cost while respecting the approved accessibility and recovery wording.

Regression provenance

Possible 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
Reviewed head: 77b6c8443783d40b9be9d02173caa8b2730be5b8

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Shakker: Raw commit 3cab671 adds ui/src/e2e/terminal-upload.e2e.test.ts:143 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3cab67106755; files: ui/src/e2e/terminal-upload.e2e.test.ts)

PR surface

Tests 0. Total 0 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 2 2 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 2 2 0

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Deterministic stale selectors break useful UI regression checks and obstruct unrelated contributions without changing runtime behavior.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Deterministic stale selectors break useful UI regression checks and obstruct unrelated contributions without changing runtime behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 14, 2026, 4:45 PM ET / 21:45 UTC.

@steipete

Copy link
Copy Markdown
Contributor Author

The requested repair is green in exact-head checks-ui-e2e (1/2) (job 132595405369, run 43643114736). Local focused proof is 9/9; all three originally reported files pass 13/13 with the unchanged #198986 fix, now merged as b7bc6c4. Changed-file checks and independent Codex review passed. ClawSweeper's latest review is on 77b6c84 with zero findings and no unchecked items.

Landing is held for two additional failures in checks-ui (3/3) (job 132595405449):

  • chat-audio-preview.browser.test.tsx:67, “plays unflagged incoming audio inline at 390 px”: playback time remains 0.
  • chat-composer-overflow.browser.test.tsx:169, “fits and dismisses stacked context at 390px (rtl)”: attachment thumbnail remains null.

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.

@steipete
steipete merged commit 5328b27 into main Nov 14, 2026
146 of 149 checks passed
@steipete
steipete deleted the steipete/perf-micro-main-red-ui-e2e-20260919 branch November 14, 2026 22:03
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 15, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant