Skip to content

chore: put the composer skill highlights browser test under its serial owner - #207577

Merged
obviyus merged 1 commit into
mainfrom
test/ci-guards-serial-owner-list
Nov 28, 2026
Merged

obviyus merged 1 commit into
mainfrom
test/ci-guards-serial-owner-list

Conversation

@obviyus

@obviyus obviyus commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

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.

- The e2e file starts its own source Control UI server, so the serial-owner guard requires it in uiE2ePrivateServerTestFiles.
@clawsweeper

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

@clawsweeper clawsweeper Bot added the P2 Normal backlog priority with limited blast radius. label Nov 28, 2026
@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. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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. labels Nov 28, 2026
@clawsweeper

clawsweeper Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

Registers the composer skill highlights browser test with the existing serial private-server project.

Example: CI discovers composer-skill-highlights.e2e.test.ts, which starts a source Control UI server.

  • Before: The file runs in the bundled project and fails the independent private-server ownership guard.
  • After: The file belongs to ui-e2e-serial-standalone with one worker, satisfying the existing guard.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, correct repair supported by source inspection, reported regression results, and passing guard CI; validation is test-based and broader browser CI remains incomplete.
Proof confidence 🦐 gold shrimp (3/6) This test-scheduling repair has no user-visible product change; reported guard and browser-test results support it, with current-head browser CI still incomplete at inspection.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Contributors encounter an inherited CI ownership-guard failure because a private-server browser test is missing from its scheduling inventory.
Reason: The maintainer-authored change restores the established test-isolation contract without altering product behavior or weakening assertions.

Regression provenance

Regression provenance — verified: source commit bf5c52994298 by RoboClaw; canonical PR #199688 (blame-to-merge-commit).

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes the smallest complete repair to the browser-test ownership inventory; no actionable defects found.

Reviewed head: 9f1583ed0967ed2efb5ddac8b86c1b5347f933af

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Vitest UI E2E configuration partitions discovered browser tests into projects with separate setup and scheduling, using the private-server inventory to select serial execution.

flowchart TD
  A[Discovered browser tests] --> B[UI E2E configuration]
  B --> C[Bundled project]
  B --> D[Private server inventory]
  D --> E[Serial standalone project]
  E --> F[Composer skill highlights test]
Loading

Technical review

Best possible solution:

Keep the existing ownership guard and register this private-server test in its established serial inventory.

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

The pinned base omits a test that explicitly starts a source server, so the unchanged guard's independently discovered inventory cannot equal the configured inventory; the author supplies matching before-and-after results, and no target code was executed during this review.

Is this the best way to solve the issue?

This is the smallest complete fix because the existing inventory already owns private-server scheduling and its consumers automatically move the file out of the parallel bundled project.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Private Control UI server scheduling keeps the original intent (90d5fbb: Separate private source-server tests from parallel bundle consumers to keep the shared optimizer cache under one worker.)

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:33 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)
  • Vincent Koc: Raw commit 00a7a12 adds test/vitest/vitest.ui-e2e.config.ts:144 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 00a7a128dde6; files: test/vitest/vitest.ui-e2e.config.ts)

PR surface

Tests +1. Total +1 across 1 file. Added test files: 0.

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

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 rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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:

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

Reviewed November 28, 2026, 10:17 AM ET / 15:17 UTC.

@obviyus
obviyus merged commit 4147564 into main Nov 28, 2026
184 of 186 checks passed
@obviyus
obviyus deleted the test/ci-guards-serial-owner-list branch November 28, 2026 15:37
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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