Skip to content

fix(ci): rebalance compact Node and Bun release validation - #206223

Open
tideclaw-bot wants to merge 5 commits into
mainfrom
openclaw/frv-compact-stable-exchange-20261126
Open

tideclaw-bot wants to merge 5 commits into
mainfrom
openclaw/frv-compact-stable-exchange-20261126

Conversation

@tideclaw-bot

@tideclaw-bot tideclaw-bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

On fully drained full-scope FRVs, a 26-file Agent Chat stripe ran serially inside the compact Node/Bun job on the parent critical path. The previous System Runtime exchange is superseded: a separate exact-envelope run showed it could regress wall time.

Change

Move the whole Agent Chat stripe to the existing lighter serial job when both complete row fingerprints match. This changes four payload rows (Node and Bun donor/recipient) but no physical rows, runner requirements, cap, setup, retry or test identity. Beta, other CI lanes and changed row inventories retain stock placement.

A separate one-line CI repair assigns the already-tracked Composer Skill Highlights test to its existing private UI server owner. The missing registration was present on base and reproduced by the unchanged ownership guard; no test or assertion was removed.

Evidence

  • FRV #4838 / normal CI: 9m10s faster modeled whole-FRV, limited by the next independent child receipt.
  • FRV #4842 / normal CI: 13m14s faster modeled whole-FRV, limited by the next normal-CI shard (a failure already present in the baseline). Both runtime transfers use passing group durations and exact hosted donor and recipient payloads.
  • Replays preserve the 96 observed concurrent slots and launch floors, charge the existing setup and apply measured receipt lag. Both gains hold with 15 extra minutes charged to each recipient; the tightest recipient has 67m52s deadline headroom at that margin. Some peer starts move later (11 and 6), accounted for in the replay. These are estimates on drained failed baselines, not a hosted candidate A/B or a claim of converting them to passes.
  • Focused capacity tests (28), tooling typecheck, three-file lint and formatting. The trusted planner proof compares all 190 row envelopes and 544 runtime-qualified group payloads, including the negative beta case.
  • Prior-head CI failure: exact guard reproduced locally before the registration repair. After it, the full workflow guard suite passed (235 tests), as did targeted lint and formatting. This repair is not counted as an FRV time saving.

@clawsweeper

clawsweeper Bot commented Nov 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.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S labels Nov 26, 2026
@tideclaw-bot
tideclaw-bot marked this pull request as ready for review November 26, 2026 23:25
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. impact:other This issue has meaningful maintainer-visible impact outside the owned taxonomy. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. 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-repro Preliminary submission classification; full source review pending. labels Nov 26, 2026
@clawsweeper

clawsweeper Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

This PR moves a fingerprint-qualified Agent Chat group between existing release-validation jobs and registers a browser test with its private-server owner.

Example: Full-scope dual-runtime validation matches both recorded compact-row fingerprints.

  • Before: agentic-control-plane-agent-chat-hosted-2 runs in the measured donor job.
  • After: The intact group follows agentic-gateway-server-isolated-hosted-20 in the recipient job for both Node and Bun.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, coherent patch with useful planner evidence; performance confidence remains limited to modeled outcomes and incomplete exact-head CI.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored CI-only PR is exempt from contributor proof: reported planner comparisons exercise the changed placement, while linked hosted runs supply baseline observations rather than candidate timing proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Release validation waits on an overloaded serial Agent Chat job while another existing job has spare capacity.
Reason: The maintainer-authored direction targets measured critical-path work without adding runners, options, or test omissions.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR retains distinct CI scheduling work, and the reviewed diff has no actionable correctness or security finding.

Reviewed head: c7ddd6c8486dc6150828056e6757694e15a3e8c8

Before merge

None.

Findings

None.

Agent review details

How this fits together

The CI manifest consumes target-owned test plans, adjusts qualified group placement, and emits runtime-specific matrices for the existing shard executor.

flowchart TD
A[Target test inventory] --> B[Compact shard planner]
B --> C[Full release qualification]
C --> D[Fingerprint qualified transfer]
D --> E[Node and Bun matrix expansion]
E --> F[Existing shard executor]
Loading

Technical review

Best possible solution:

Retain the narrowly qualified transfer and existing serial-server ownership repair through normal exact-head CI completion.

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

Source establishes serial group placement and the missing private-server registration; linked completed FRVs establish the reported baseline runs, but their timing model was not independently rerun.

Is this the best way to solve the issue?

The change uses existing planning and execution owners, preserves whole groups and job contracts, and falls back to stock placement on fingerprint drift.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 239a05edbf1e.

Provenance checked

  • Compact full-release placement keeps the original intent (11f0d10: Bound and pack full-release test jobs while avoiding redundant validation work and delayed failures.)
  • Private browser-server ownership keeps the original intent (90d5fbb: Separate parallel bundle consumers from serial private-server and resource-sensitive browser tests.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 90d5fbb adds test/vitest/vitest.ui-e2e.config.ts:26 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 90d5fbbd314c; files: test/vitest/vitest.ui-e2e.config.ts)

PR surface

Tests +41, Other +58. Total +99 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 41 0 +41
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 59 1 +58
Total 4 100 1 +99

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:

No label changes.

Label justifications:

  • merge-risk: 🚨 automation: The transfer changes release-validation scheduling, whose wall-time effects ordinary green CI cannot establish; the maintainer-authored proposal explicitly accepts modeled evidence and accounts for delayed peer starts.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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.

History

Review history (3 earlier review cycles)
  • reviewed 2026-11-26T23:41:51.263Z sha b916740 :: passed. :: none
  • reviewed 2026-11-28T14:26:19.854Z sha 4656ed9 :: passed. :: none
  • reviewed 2026-11-28T14:42:46.395Z sha df3d0e3 :: passed. :: none

Reviewed November 28, 2026, 10:06 AM ET / 15:06 UTC (Revision 4).

@tideclaw-bot

Copy link
Copy Markdown
Collaborator Author

Performance hold — please do not land this revision unchanged. Required CI and ClawSweeper are still green on b91674085b58, but a new fully drained full-scope run provides a counterexample that the envelope guard does not catch. The exact hosted preflight inputs at e1efd362abd1 activate the patch: 190 identical row envelopes, 544 runtime-qualified groups, four changed payload rows, and exact hosted inventories for those four jobs.

The passing Node donor spent 29m12s on System Runtime; the passing Node receiver spent 12m26s on the returned Agents Support group and was already much busier than in the original trace. The 96-slot replay, using observed launch floors and receipt lag, moves the bottleneck to the receiver: normal CI receipt 02:07:30→02:07:52 UTC (+22s whole FRV), or +5m22s with 5m added overhead. The other main branch had sealed at 02:02:38 UTC. These are modeled effects, not a hosted candidate A/B. The original two estimates still describe their original traces; they are not a general speedup.

@tideclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Nov 28, 2026
@tideclaw-bot

Copy link
Copy Markdown
Collaborator Author

Negative-control proof for 4656ed93856d. I reran the current trusted planner against the exact hosted preflight inputs and frozen target e1efd362abd1 from the drained counterexample. The new Agent Chat transfer does not activate: 190 identical row envelopes, 544 identical runtime-qualified group payloads, and zero changed rows versus stock. The +22s / +5m22s modeled regression above applies to the retired b91674085b58 System Runtime exchange, not the current patch. This is a planner negative control, not a hosted candidate timing measurement.

@tideclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@tideclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@tideclaw-bot

Copy link
Copy Markdown
Collaborator Author

Exact-head follow-up at c7ddd6c: the prior CI run failed two Control UI shards. This update incorporates main’s #207547 fix for the linked-session navigation timeout; both failed files, including the compaction layout assertion, passed in a focused real Chromium replay (7 tests total in each of the bundled and source projects). The compact planner files are byte-for-byte unchanged, all 28 capacity tests passed, and the PR diff check is clean. Hosted CI and ClawSweeper are required on this head; no FRV timing credit is claimed for the CI repair.

obviyus added a commit that referenced this pull request Nov 28, 2026
…l owner (#207577)

## What Problem This Solves

The CI guard test `keeps private Control UI servers and resource-sensitive files under one serial owner` (`test/scripts/ci-workflow-guards.test.ts`) has been red on `main` since #199688 (bf5c529). That PR added `ui/src/e2e/composer-skill-highlights.e2e.test.ts`, but did not add it to `uiE2ePrivateServerTestFiles`. Every PR that runs the guard inherits the red.

## User Impact

No product change. CI on `main` and on every PR goes green for this guard again. The new browser test runs in the serial private-server project, so it does not share the source optimizer cache with parallel workers.

## Why This Change Was Made

The test starts its own source Control UI server (`startControlUiE2eServer(undefined, { source: true })` inside the suite's `startServer`). The guard detects private servers and requires each one in `uiE2ePrivateServerTestFiles`. The private-server list is the correct place for this file, so the guard stays unchanged.

Open PR #206223 carries the identical line at the same position. This lands the one line on its own so `main` is green now; #206223 rebases cleanly in either order.

## Evidence

- On `origin/main` 239a05e: `pnpm test test/scripts/ci-workflow-guards.test.ts -t "serial owner"` fails. The guard finds 102 private-server files; the list has 101. The missing one is `ui/src/e2e/composer-skill-highlights.e2e.test.ts`.
- With this change: the same guard test passes (1 passed).
- `ui/src/e2e/composer-skill-highlights.e2e.test.ts` under `test/vitest/vitest.ui-e2e.config.ts`: 1 passed.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 29, 2026
…l owner (openclaw#207577)

## What Problem This Solves

The CI guard test `keeps private Control UI servers and resource-sensitive files under one serial owner` (`test/scripts/ci-workflow-guards.test.ts`) has been red on `main` since openclaw#199688 (63f2f6e). That PR added `ui/src/e2e/composer-skill-highlights.e2e.test.ts`, but did not add it to `uiE2ePrivateServerTestFiles`. Every PR that runs the guard inherits the red.

## User Impact

No product change. CI on `main` and on every PR goes green for this guard again. The new browser test runs in the serial private-server project, so it does not share the source optimizer cache with parallel workers.

## Why This Change Was Made

The test starts its own source Control UI server (`startControlUiE2eServer(undefined, { source: true })` inside the suite's `startServer`). The guard detects private servers and requires each one in `uiE2ePrivateServerTestFiles`. The private-server list is the correct place for this file, so the guard stays unchanged.

Open PR openclaw#206223 carries the identical line at the same position. This lands the one line on its own so `main` is green now; openclaw#206223 rebases cleanly in either order.

## Evidence

- On `origin/main` 75a0808: `pnpm test test/scripts/ci-workflow-guards.test.ts -t "serial owner"` fails. The guard finds 102 private-server files; the list has 101. The missing one is `ui/src/e2e/composer-skill-highlights.e2e.test.ts`.
- With this change: the same guard test passes (1 passed).
- `ui/src/e2e/composer-skill-highlights.e2e.test.ts` under `test/vitest/vitest.ui-e2e.config.ts`: 1 passed.

Co-authored-by: Ayaan Zaidi <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:other This issue has meaningful maintainer-visible impact outside the owned taxonomy. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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