Skip to content

ci: pack ordinary UI unit checks into two rows - #184986

Closed
steipete wants to merge 5 commits into
mainfrom
solid2/w-test-ci-unit-two
Closed

steipete wants to merge 5 commits into
mainfrom
solid2/w-test-ci-unit-two

Conversation

@steipete

@steipete steipete commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The proposal packed ordinary UI unit coverage from three jobs into two to remove one repeated checkout/dependency/browser/runtime setup while retaining the same selected inventory and worker limit. Current CI does not qualify that tradeoff. Do not land this two-shard packing change; retain the existing three-shard layout.

This is the measured rejection record for unchanged candidate cc59e70b009a6c98c5540b8fb79ffe7a1ff482e9. The experiment is rejected: retain three unit shards. This PR is being closed without merging the packing change.

User Impact

No product change will ship from the rejected packing proposal. The existing three-shard unit layout and all test contracts remain. Useful unrelated test repairs already on main remain there; this PR's proposed planner and documentation changes will not land.

Why This Change Was Made

The original experiment attacked repeated fixed setup without increasing worker or runner budgets. The latest observed longest unit row is657seconds, above the593-second checkpoint, and both packed rows failed. Lower job count alone does not justify the result.

Evidence

Unit-family observation Whole-job seconds Sum / minutes Longest Result and qualification
Original three-row main40387557460 433,384,410 1,227 /20.45 433s All unit rows passed; historical baseline source.
Earlier two-row candidate40395214803 523,432 955 /15.92 523s All unit rows passed; historical −22.17% family observation, not a whole-campaign saving.
Current three-row main40405204414 524,370,465 1,359 /22.65 524s All unit rows passed; source differs from candidate, so descriptive comparison only.
Current two-row candidate40409111583 657,516 1,173 /19.55 657s Both rows failed; misses593s and does not reproduce15.92min. Not a causal win.

The current candidate's13.69% lower descriptive unit sum than latest main accompanies a25.38% longer maximum row. Different source and failed tests prevent performance qualification. The current full UI run takes108.40minutes with an877-second selected path; neither the74.20-minute campaign target nor the593-second checkpoint is achieved. No source/workload normalization, skipped-work credit or summing independent PR savings is applied.

Current unit failures are mounted pane run settlement > retains the watched recap while a terminal descriptor outlives the status mask and keeps sharing busy through refresh and retires it for a same-key successor (event). The same run also fails the dashboard nested-scroll cleanup case and the two Daybreak discovery/persistence cases. The exact unit and dashboard names are absent from latest scheduled main40405204414. Daybreak discovery passes there; persistence fails there at a different earlier assertion. These observations are recorded, not waived as inherited. The packing proposal is rejected without loosening assertions or changing timeouts.

Earlier proof remains in the PR record: six planner cases and two envelope guards passed; scoped tooling types/lint/format and two independent reviews passed; all2,154 original module receipts were retained in the earlier two-row run, with two new receipts. These prove routing/inventory contracts, not that the current packing meets latency or compute goals. The earlier measured green result is retained as history and is not selected in preference to the latest evidence.

Scope and retained records

The rejected diff is10files,24,598→24,707LOC,+131/−22 against main base f7728832eab0526d924dbfcf31a8154c902aed56. It includes the planner, its existing tests, CI documentation/limits wording, and bounded test repairs. The draft preserves the evidence and documentation of the experiment; no baseline/cap change, skip, runner increase or production change is being landed. The prior auto request is confirmed cancelled, outcome aa8636a39288a018f837836cd6687c95614e6f5a; it is not re-armed. Native88496 completed old-head preparation and released before closure. No new landing intent was armed.

Current candidate full phase table — failed

Run 40409111583, exact head cc59e70b009a6c98c5540b8fb79ffe7a1ff482e9: 108.40full/comparable minutes; 16.22fixed/other and92.18inclusive tests; 877s selected path. Producer/performance/locale were skipped; their omission receives no saving credit.

Job Result Checkout Env Install Env/deps Download Restore Build Browser Tests incl. Upload Other Teardown Total
checks-ui-e2e-real-gateway (1/2) success 0.78 0.00 0.00 0.22 0.00 0.00 1.57 0.03 11.83 0.05 0.03 0.07 14.58
checks-ui (1/2) failure 0.62 0.03 0.00 0.38 0.00 0.00 0.00 0.05 9.58 0.03 0.20 0.05 10.95
checks-ui-e2e (3/7) success 0.62 0.00 0.00 0.48 0.00 0.00 0.00 0.07 9.52 0.00 0.05 0.07 10.80
checks-ui-e2e (2/7) success 0.73 0.00 0.00 0.28 0.00 0.00 0.00 0.05 9.10 0.00 0.03 0.07 10.27
checks-ui-e2e (6/7) failure 0.62 0.00 0.00 0.28 0.00 0.00 0.00 0.03 9.10 0.07 0.03 0.07 10.20
checks-ui-e2e (4/7) success 0.17 0.00 0.00 0.28 0.00 0.00 0.00 0.03 9.12 0.00 0.03 0.08 9.72
checks-ui-e2e (1/7) success 0.78 0.00 0.00 0.25 0.00 0.00 0.00 0.05 8.20 0.03 0.03 0.05 9.40
checks-ui-e2e-real-gateway (2/2) failure 0.78 0.00 0.00 0.22 0.00 0.00 1.53 0.03 6.67 0.05 0.03 0.07 9.38
checks-ui (2/2) failure 0.70 0.02 0.00 0.37 0.00 0.00 0.00 0.05 7.32 0.03 0.05 0.07 8.60
checks-ui-e2e (5/7) success 0.72 0.00 0.00 0.25 0.00 0.00 0.00 0.03 6.87 0.00 0.03 0.08 7.98
checks-ui-e2e (7/7) success 0.77 0.00 0.00 0.75 0.00 0.00 0.00 0.07 4.88 0.00 0.03 0.02 6.52
Completed total 7.28 0.05 0.00 3.77 0.00 0.00 3.10 0.50 92.18 0.27 0.57 0.68 108.40

Latest completed scheduled main phase reference

Run 40405204414, aad0f595b5d2f6d648dcdee6eca2acbbb5b1bc81: 144.83full/141.57comparable minutes,1065s path. This failed workload reference includes the full successful producer; it is not a matched passing baseline.

Job Result Checkout Env Install Env/deps Download Restore Build Browser Tests incl. Upload Other Teardown Total
checks-ui-e2e-real-gateway (1/2) success 1.35 0.00 0.00 0.43 0.00 0.00 2.48 0.05 13.20 0.05 0.07 0.07 17.70
build-artifacts success 1.18 0.00 0.00 0.43 0.00 0.00 4.20 0.03 9.62 0.30 1.68 0.07 17.52
checks-ui-e2e (5/7) success 1.25 0.00 0.00 0.50 0.00 0.00 0.00 0.08 11.82 0.00 0.05 0.07 13.77
checks-ui-e2e-real-gateway (2/2) failure 0.63 0.00 0.00 0.48 0.00 0.00 3.00 0.07 8.43 0.05 0.08 0.07 12.82
checks-ui-e2e (2/7) failure 1.10 0.00 0.00 0.42 0.00 0.00 0.00 0.07 11.02 0.05 0.05 0.05 12.75
checks-ui-e2e (6/7) success 1.08 0.00 0.00 0.33 0.00 0.00 0.00 0.07 10.60 0.05 0.03 0.05 12.22
checks-ui-e2e (4/7) success 0.75 0.00 0.00 0.45 0.00 0.00 0.00 0.05 10.32 0.00 0.05 0.07 11.68
checks-ui-e2e (1/7) failure 1.18 0.00 0.00 0.38 0.00 0.00 0.00 0.07 9.75 0.03 0.05 0.05 11.52
checks-ui-e2e (3/7) failure 0.63 0.00 0.00 0.37 0.00 0.00 0.00 0.05 7.75 0.03 0.05 0.07 8.95
checks-ui (1/3) success 1.10 0.03 0.00 0.43 0.00 0.00 0.00 0.05 6.80 0.00 0.25 0.07 8.73
checks-ui (3/3) success 0.53 0.03 0.00 0.55 0.00 0.00 0.00 0.05 6.43 0.00 0.07 0.08 7.75
checks-ui (2/3) success 1.02 0.02 0.00 0.38 0.00 0.00 0.00 0.07 4.58 0.00 0.05 0.05 6.17
control-ui-performance success 0.67 0.00 0.00 0.72 0.00 0.00 0.00 0.00 1.83 0.00 0.02 0.03 3.27
Completed total 12.48 0.08 0.00 5.88 0.00 0.00 9.68 0.70 112.15 0.57 2.50 0.78 144.83

Whole-second GitHub job spans are occupancy proxies, not invoices. Every table row sums from exact seconds. Env/deps is composite; fixture/Gateway setup, imports and cleanup remain inside inclusive tests where no exclusive step exists. Zero separate install/download/restore columns do not imply absent nested work. Failure consumption remains charged.

@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-26T22:03:16.722219Z cc59e70 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 scripts Repository scripts size: S labels Oct 26, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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:feature Preliminary submission classification; full source review pending. labels Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR reduces eligible ordinary Control UI unit runs from three matrix rows to two while preserving selected tests and wider validation fallbacks.

Example: A canonical hybrid first-attempt PR selects the full UI unit inventory with bun-all and no WebKit tail.

  • Before: CI emits checks-ui (1/3), (2/3), and (3/3).
  • After: CI emits checks-ui (1/2) and (2/2), retaining three workers per row.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A small, coherent change has actual two-row execution evidence, but the full qualification and CI outcome remain unsettled.
Proof confidence 🐚 platinum hermit (4/6) The ordinary contributor-proof gate is exempt for this maintainer-authored PR; independently, the exact-head workflow exercised the changed manifest and both emitted unit rows passed, while native memory and cleanup receipts could not be inspected because log downloads are blocked.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Maintainers repeatedly pay for three unit-job checkouts, dependency setups, and browser setups.
Reason: The maintainer-authored direction removes one repeated setup through a narrow existing-owner change while retaining the selected inventory.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes a focused CI cost improvement through the existing planner, with no concrete introduced correctness or security defect found.

Priority: P3
Reviewed head: 1ba00db4597abb34a812166c75117864deb56670

Before merge

None.

Findings

None.

Agent review details

How this fits together

The CI manifest consumes event, runner, runtime, and test-selection facts and emits matrices that the workflow executes through the existing shard runner.

flowchart TD
  A[Event and runner profile] --> C[CI manifest]
  B[Selected UI inventory] --> C
  C --> D[Two or three unit rows]
  D --> E[Existing shard executor]
  E --> F[Native test partitions and results]
Loading

Technical review

Best possible solution:

Retain the small eligibility cap in the existing manifest and complete the stated native qualification before landing.

Do we have a high-confidence way to reproduce the issue?

No product bug is alleged; the repeated three-row setup is confirmed in the baseline workflow.

Is this the best way to solve the issue?

The patch is the smallest complete change: it adjusts the existing matrix owner while preserving selection, native partitioning, and unqualified fallback envelopes.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 9890d705c25c.

Provenance checked

  • UI unit matrix width changes intended behavior with a stated reason (9d75a8f: This commit carried the existing matrix into the extracted trusted manifest; it does not establish the original introduction of three-way sharding.)
  • Memory and WebKit safeguards keeps the original intent (fix(ci): preserve memory headroom in full UI unit shards #169324: Full UI shards needed memory headroom, and WebKit contracts execute as an additional tail in the first existing row.)
  • Runtime documentation keeps the original intent (7f4c635: Daily CI moved to Bun while full release validation retained both runtimes; the documentation correction reflects that existing policy.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 9d75a8f adds scripts/ci-build-manifest.mjs:560 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 9d75a8fe87af; files: scripts/ci-build-manifest.mjs)

PR surface

Tests +88, Docs +14, Other +16. Total +118 across 8 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 88 0 +88
Docs 6 26 12 +14
Config 0 0 0 0
Generated 0 0 0 0
Other 1 16 0 +16
Total 8 130 12 +118

Review metrics

Metric Value Why it matters
Production versus test growth Manifest +16 lines; tests +88 lines The production addition stays in the existing decision owner, and the table covers distinct eligibility and fallback contracts without new scaffolding.
Observed unit-job cost 20.45 → 15.92 runner-minutes The cited three-row baseline and exact-head two-row run both passed their unit rows on the same runner class; differing revisions and one sample prevent a repeatable savings claim.

Labels

Label changes:

  • add P3: This improves recurring CI setup cost without changing shipped product behavior or addressing an urgent runtime failure.
  • 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:

  • P3: This improves recurring CI setup cost without changing shipped product behavior or addressing an urgent runtime failure.
  • 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.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Verify native memory and cleanup receipts and compare the completed run against the stated critical-path acceptance rule.

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 October 26, 2026, 4:38 PM ET / 20:38 UTC.

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Oct 26, 2026
@steipete
steipete enabled auto-merge (squash) October 26, 2026 21:09
@steipete steipete closed this Oct 26, 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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S 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