Skip to content

chore: reduce repeated UI CI setup and fixture work - #184346

Closed
steipete wants to merge 6 commits into
mainfrom
solid2/w-test-ci-minutes-round3
Closed

steipete wants to merge 6 commits into
mainfrom
solid2/w-test-ci-minutes-round3

Conversation

@steipete

@steipete steipete commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Full UI proof cost 106.00 comparable runner minutes before the campaign and 88.33 after #183498. This candidate removes one mocked-runner setup, shares an already-selected performance check with the final existing UI unit row, and removes repeated fixture work. It preserves every selected file, four workers per mocked row, serial private-project boundaries, independent real-Gateway contracts, and the standalone performance fallback.

Current head correctness passes, but this candidate is not cost-qualified and is not submitted for landing. CI 40315836581 at 1b273dbc478260d08e92f894151e9cd48226c5ba passed every job, including all 11 UI jobs. It cost 151.75 API UI minutes and reached 1,112 s; the campaign target remains 74.20 comparable minutes and at most 593 s. No host scaling, normalization, or inherited budget exception is applied.

Five fuller mocked rows replace six. Attributed-identity tests hold each renderer state while sweeping all six viewport/safe-area combinations and both profile modes, retaining LTR/RTL, working/tool/final/peer/scroll and Send hit-testing assertions. The media-transcript suite shares its existing Gateway/provider owner while retaining fresh browser contexts, actual restart, reload, downloads and success/failure replay. Immutable injected build roots retain one complete source-map scan per test file; explicit roots remain fresh. The queued-picker fixture waits for the actual patch request rather than polling a deadline.

Main's #184451 supplies the sharing-lifecycle repair; both sharing files match the merged main exactly. This PR has no application runtime changes. No dependencies, runner labels, concurrency caps, timeouts, assertions, or budgets are relaxed.

Removed cases and retained contracts

Removed repetition Exact keeper
Board renders consistent menu options with a leading trash icon All assertions now run in themes dropdown items and widget frames in light mode; dark-mode proof remains.
Device fresh-ipad-agent ui/src/api/gateway.node.test.ts: reports browser family $family without changing $platform, explicit iPad UA/MacIntel/zero-touch row. Fresh Mac and touch-disguised iPad still traverse the real Gateway.
Device legacy-mac legacy-ipad retains signed-key/approval/grant identity across family enrichment, reload, incompatible-family rejection and device removal; fresh-mac retains real macOS labeling.
Ten extra mobile send/tool/final cycles and session switches keeps attributed mobile content in one usable column at every viewport (profile: %s) retains every geometry/state combination and both profile modes in one session each.

Evidence

Check Result
Exact-head full CI 40315836581 Success; all 11 active UI jobs pass
Cost/path qualification Fails: 151.75 API min / 1,112 s; no savings claim
Independent review Original patch and planner/helper/type-only repairs scoped-clean P0–P2; remaining patch ID verified after main merge
Focused original checks UI types, tooling test types, workflow validator; 24 planner and 24 changed mocked-browser cases passed
Subsequent repairs 13 planner/selection cases; built-module 3/3, queued-picker 108/108, main sharing 8/8; intended built-module negative control fails base
Format/whitespace Passed; old local lint attempt stopped at retained artifact lock; current full CI lint passes
Knip Original candidate/exact-base findings matched; no new ignores. Historical local attribution retained; no new exact-head local Knip result claimed
LOC 31,216→31,508 (+292), 14 files; application runtime delta 0
Local broad suite/build/E2E/parity Not rerun; full PR CI is broad proof

The original 106.00-minute campaign comparator, the post-#183498 88.33-minute comparable figure, and the full 91.50-minute historical selection are distinct accounting surfaces. Conditional standalone performance is included in 91.50 and excluded in 88.33. The current candidate includes the producer and a successful 64-second embedded performance action. Exact contemporary main below has a different selection and a failed unit row; it supplies current phase evidence, not a controlled causal delta.

Current main: complete per-job phase minutes

Scheduled run 40308651607, head 92415c1e5fe71a311d6a3f72cf66b139d6d2df26. All UI rows terminal: 12 pass / 1 fail; whole run was not yet complete when captured. 151.25 API min, 1,177 s UI path.

Job Result Checkout Env Install Env/deps Download Restore Build Browser Tests incl. Upload Other Teardown Total
build-artifacts success 0.65 0.00 0.00 0.33 0.00 0.00 5.27 0.05 11.23 0.23 1.62 0.08 19.47
checks-ui (1/3) failure 0.18 0.02 0.00 0.48 0.00 0.00 0.00 0.05 8.57 0.03 0.35 0.05 9.73
checks-ui (2/3) success 0.18 0.02 0.00 0.47 0.00 0.00 0.00 0.05 7.42 0.00 0.07 0.07 8.27
checks-ui (3/3) success 0.68 0.02 0.00 0.48 0.00 0.00 0.00 0.05 4.13 0.00 0.05 0.08 5.50
checks-ui-e2e (1/7) success 0.20 0.00 0.00 0.37 0.00 0.00 0.00 0.07 12.83 0.00 0.03 0.10 13.60
checks-ui-e2e (2/7) success 0.50 0.00 0.00 0.43 0.00 0.00 0.00 0.07 13.98 0.02 0.05 0.08 15.13
checks-ui-e2e (3/7) success 0.15 0.00 0.00 0.32 0.00 0.00 0.00 0.05 8.47 0.00 0.03 0.08 9.10
checks-ui-e2e (4/7) success 0.17 0.00 0.00 0.38 0.00 0.00 0.00 0.03 13.18 0.02 0.03 0.08 13.90
checks-ui-e2e (5/7) success 0.17 0.00 0.00 0.37 0.00 0.00 0.00 0.05 11.93 0.00 0.05 0.08 12.65
checks-ui-e2e (6/7) success 0.52 0.00 0.00 0.35 0.00 0.00 0.00 0.07 10.15 0.03 0.05 0.05 11.22
checks-ui-e2e-real-gateway (1/2) success 0.17 0.00 0.00 0.27 0.00 0.00 2.15 0.03 14.33 0.05 0.05 0.07 17.12
checks-ui-e2e-real-gateway (2/2) success 0.68 0.00 0.00 0.28 0.00 0.00 2.63 0.07 8.87 0.03 0.03 0.07 12.67
control-ui-performance success 0.18 0.00 0.00 0.95 0.00 0.00 0.00 0.00 1.70 0.00 0.02 0.05 2.90
Completed total 4.43 0.05 0.00 5.48 0.00 0.00 10.05 0.63 126.80 0.42 2.43 0.95 151.25

Candidate: complete per-job phase minutes

Run 40315836581, head 1b273dbc478260d08e92f894151e9cd48226c5ba: all jobs success; 151.75 API min, 1,112 s UI path.

Job Result Checkout Env Install Env/deps Download Restore Build Browser Tests incl. Upload Other Teardown Total
build-artifacts success 0.63 0.00 0.00 0.42 0.00 0.00 5.90 0.08 7.63 0.03 0.03 0.08 14.82
checks-ui (1/3) success 0.65 0.02 0.00 0.48 0.00 0.00 0.00 0.05 8.00 0.00 0.27 0.08 9.55
checks-ui (2/3) success 0.68 0.02 0.00 0.52 0.00 0.00 0.00 0.12 7.32 0.00 0.05 0.07 8.77
checks-ui (3/3) success 0.68 0.03 0.00 0.63 0.00 0.00 0.00 0.08 5.43 0.00 0.05 0.05 6.97
checks-ui-e2e (1/6) success 0.18 0.00 0.00 0.47 0.00 0.00 0.00 0.05 17.12 0.00 0.03 0.08 17.93
checks-ui-e2e (2/6) success 0.63 0.00 0.00 0.38 0.00 0.00 0.00 0.05 14.07 0.00 0.03 0.08 15.25
checks-ui-e2e (3/6) success 0.63 0.00 0.00 0.35 0.00 0.00 0.00 0.03 10.93 0.00 0.05 0.08 12.08
checks-ui-e2e (4/6) success 0.57 0.00 0.00 0.43 0.00 0.00 0.00 0.07 14.13 0.02 0.03 0.07 15.32
checks-ui-e2e (5/6) success 0.70 0.00 0.00 0.57 0.00 0.00 0.00 0.05 14.93 0.05 0.07 0.05 16.42
checks-ui-e2e-real-gateway (1/2) success 0.63 0.00 0.00 0.35 0.00 0.00 2.87 0.05 14.33 0.05 0.03 0.07 18.38
checks-ui-e2e-real-gateway (2/2) success 0.17 0.00 0.00 0.32 0.00 0.00 2.67 0.03 12.92 0.05 0.05 0.07 16.27
Completed total 6.17 0.07 0.00 4.92 0.00 0.00 11.43 0.67 126.82 0.20 0.70 0.78 151.75

Whole-second API spans approximate occupied runner time, not invoices. Env/deps includes nested exact dependency/cache work. Fixture/Gateway startup, nested builds and cleanup are inside inclusive test actions and must not be added again. Zero separate restore/download columns mean no separately timed step. In the retained historical nested logs, 12 exact-dependency and 12 Chromium restores hit; all install commands totaled 15.410 s. The existing artifacts cannot be replaced with one product blindly: the public producer, private Gateway build and source-backed mocked server have distinct outputs/ordering contracts.

The earlier runtime-only head measured 84.45 comparable minutes / 585 s, but it does not qualify this later head. Old native auto intent is confirmed cancelled; no replacement recovery is submitted before a measured qualifying result. Native exact-head review and github_pending preparation are complete.

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 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 Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T11:34:50.327801Z 1b273db New commits
ℹ️ 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui scripts Repository scripts extensions: qa-lab size: L labels Oct 26, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head cd3202705db5760193603bf4234fa38ab54ca64a, but the PR head is now 1b273dbc478260d08e92f894151e9cd48226c5ba. Its old verdict and PR readiness labels are no longer current.

Next step
Comment @clawsweeper re-review when the current head is ready; pushes after the first review are not reviewed automatically.

Review history (1 earlier review cycle)
  • reviewed 2026-10-26T07:42:02.479Z sha cd32027 :: needs changes before merge. :: [P2] Update every consumer of the five-shard CI plan | [P2] Migrate the existing performance-gate contract tests

@steipete
steipete enabled auto-merge (squash) October 26, 2026 10:26
@steipete
steipete disabled auto-merge October 26, 2026 10:34
roboclaw-bot added a commit that referenced this pull request Oct 26, 2026
Reuse the focused synchronization repair from #184346 (79ccd0b) after the same UI CI failure. Preserve all assertions and timeouts.

Co-authored-by: Peter Steinberger <[email protected]>

Co-authored-by: VACInc <[email protected]>
VACInc added a commit that referenced this pull request Oct 26, 2026
* fix: restore Daybreak options for OpenAI API keys

Co-authored-by: VACInc <[email protected]>

* test: qualify Daybreak API-key and subscription flows

Co-authored-by: VACInc <[email protected]>

* test: prove Daybreak credential isolation at dispatch

Co-authored-by: VACInc <[email protected]>

* test: await mobile sharing fixture readiness

Reuse the focused synchronization repair from #184346 (79ccd0b) after the same UI CI failure. Preserve all assertions and timeouts.

Co-authored-by: Peter Steinberger <[email protected]>

Co-authored-by: VACInc <[email protected]>

* fix(ui): retire sharing scope after session list replacement

Retire the captured mutation scope when the row owner reports retirement, even if the canonical list already projected the successor and no old row remains to remove. Cover event-first and canonical-list-first ordering without relaxing assertions or timeouts.

Co-authored-by: VACInc <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: VACInc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
* fix: restore Daybreak options for OpenAI API keys

Co-authored-by: VACInc <[email protected]>

* test: qualify Daybreak API-key and subscription flows

Co-authored-by: VACInc <[email protected]>

* test: prove Daybreak credential isolation at dispatch

Co-authored-by: VACInc <[email protected]>

* test: await mobile sharing fixture readiness

Reuse the focused synchronization repair from openclaw#184346 (79ccd0b) after the same UI CI failure. Preserve all assertions and timeouts.

Co-authored-by: Peter Steinberger <[email protected]>

Co-authored-by: VACInc <[email protected]>

* fix(ui): retire sharing scope after session list replacement

Retire the captured mutation scope when the row owner reports retirement, even if the canonical list already projected the successor and no old row remains to remove. Cover event-first and canonical-list-first ordering without relaxing assertions or timeouts.

Co-authored-by: VACInc <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: VACInc <[email protected]>
@clawsweeper clawsweeper Bot removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 28, 2026
@steipete

steipete commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #194631, which reuses the remaining lifecycle reductions; the old shard reduction did not show a current timing win. #194631

@steipete steipete closed this Nov 7, 2026
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 ci:full Keep ordinary native-locale CI selection on the next PR run. docs Improvements or additions to documentation extensions: qa-lab P2 Normal backlog priority with limited blast radius. scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant