Skip to content

fix(ci): classify recovery browser test server ownership - #200402

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-private-browser-test-owner-20261117
Nov 17, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-private-browser-test-owner-20261117

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What problem does this solve?

Main CI fails the private Control UI server ownership guard because the recovery-kit browser test starts its own source server but is absent from the canonical private-server list.

Failing run: https://github.com/openclaw/openclaw/actions/runs/44003207635/job/133772864942

What changed?

Register the existing recovery-kit browser test in the sorted private-server list. The existing configuration routes it through the serial standalone project. Browser assertions and coverage remain unchanged.

Evidence

  • Existing source explicitly calls startControlUiE2eServer with source: true.
  • Independent review and local autoreview of the one-line delta from df78722: no actionable P0–P3 findings.
  • Formatter and git diff --check passed.
  • Main bbefb54 reproduces the exact missing-list-entry assertion.
  • PR head 55811e2 passes all 7 selected ownership and dispatch cases (219 unrelated cases skipped).
  • The main baseline also had two dispatch assertions affected by the native wrapper injecting NODE_OPTIONS; both pass through the normal test runner. The complete file was not repeated on this PR head.
  • Maintainer-directed repair of failing main CI.

@vincentkoc vincentkoc self-assigned this Nov 17, 2026
@clawsweeper

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

@vincentkoc
vincentkoc marked this pull request as ready for review November 17, 2026 04:15
@vincentkoc
vincentkoc enabled auto-merge (squash) November 17, 2026 04:17
@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. labels Nov 17, 2026
@clawsweeper clawsweeper Bot added 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 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Register the recovery-kit browser test in the canonical private-server inventory so it runs in the serial standalone project.

Example: CI discovers extensions/openclaw-id-access/browser/recovery-uses.e2e.test.ts.

  • Before: The test starts its own source server but is classified as a bundled consumer, causing the ownership guard to fail.
  • After: The test is classified as a private-server owner and runs with one worker without shared bundle setup.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A minimal, source-verified CI repair supported by existing regression coverage and passing relevant checks; the complete CI run remains unfinished.
Proof confidence 🐚 platinum hermit (4/6) This test-configuration repair changes no shipped user behavior; the existing ownership and routing guard covers the changed contract.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Main CI rejects a browser test because its declared scheduling ownership disagrees with its actual server ownership.
Reason: The maintainer-authored repair restores an established scheduling contract with one inventory entry.

Merge readiness

✅ Ready for maintainer review

This PR repairs a concrete CI ownership mismatch with the smallest complete change; no actionable findings were identified.

Priority: P2
Reviewed head: 55811e2c6e7dd5f3d7293eb943f2f4fc2a51af04

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Vitest UI configuration maps discovered browser tests into projects according to server ownership and concurrency requirements.

flowchart TD
  A[Browser test discovery] --> B[Canonical ownership inventory]
  B --> C[Bundled project]
  B --> D[Serial standalone project]
  D --> E[Recovery test source server]
  B --> F[Ownership and partition guard]
Loading

Technical review

Best possible solution:

Keep the one-line inventory repair and retain the existing ownership and partition guards.

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

Source establishes the failure directly: the recovery test starts a source server, the guard discovers it, and main's expected inventory omits it; no tests were executed during this read-only review.

Is this the best way to solve the issue?

Adding the missing entry repairs classification at its existing owner, preserves browser assertions, and requires no additional machinery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 62a982bb24b5.

Provenance checked

  • Private-server browser scheduling keeps the original intent (90d5fbb: Separate shared production-bundle consumers from private-server tests that must run under a serial resource owner.)
  • Standalone setup ownership keeps the original intent (29bd1cd: Avoid acquiring an unused shared production bundle for tests that own their servers.)

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)
  • Vincent Koc: Raw commit 55029d4 adds test/vitest/vitest.ui-e2e.config.ts:112 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 55029d41d506; 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 P2: A deterministic CI ownership mismatch needs a focused repair, with no demonstrated production outage.
  • 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: A deterministic CI ownership mismatch needs a focused repair, with no demonstrated production outage.
  • 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 16, 2026, 11:29 PM ET / November 17, 2026, 04:29 UTC.

@vincentkoc
vincentkoc merged commit a62e4e1 into main Nov 17, 2026
187 of 188 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-private-browser-test-owner-20261117 branch November 17, 2026 04:31
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

RomneyDa pushed a commit that referenced this pull request Nov 18, 2026
RomneyDa pushed a commit that referenced this pull request Nov 18, 2026
RomneyDa pushed a commit that referenced this pull request Nov 18, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
RomneyDa added a commit that referenced this pull request Nov 18, 2026
* improve(ci): avoid recompressing candidate registry artifacts

* fix(ci): classify recovery browser test server ownership (#200402)

(cherry picked from commit a62e4e1)

---------

Co-authored-by: Vincent Koc <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 18, 2026
* improve(ci): avoid duplicate release source guard scans

* fix(ci): classify recovery browser test server ownership (#200402)

(cherry picked from commit a62e4e1)

* fix(ci): restore package harness startup

Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules.

(cherry picked from commit 84262af)

* test(facetime): preserve child process exports in audio fixture (#200419)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 36549cb)

* test(browser): align fixtures with navigation and CLI contracts (#200428)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d0daf88)

* fix: restore Codex qualification fixture contracts (#200450)

* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes.

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

* test: align Codex refresh callback fixtures

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

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8f0d03f)

* fix(crabbox): join heartbeat command cleanup before retirement (#200466)

(cherry picked from commit 6247dc4)

* fix(agents): retain ambiguous completed-answer receipts

* fix(qa): ignore workspace context when detecting continuation

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…aw#200386)

* improve(ci): avoid recompressing candidate registry artifacts

* fix(ci): classify recovery browser test server ownership (openclaw#200402)

(cherry picked from commit 4a2270d)

---------

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
)

* improve(ci): avoid duplicate release source guard scans

* fix(ci): classify recovery browser test server ownership (openclaw#200402)

(cherry picked from commit 4a2270d)

* fix(ci): restore package harness startup

Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules.

(cherry picked from commit 7dfdaec)

* test(facetime): preserve child process exports in audio fixture (openclaw#200419)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit b12070e)

* test(browser): align fixtures with navigation and CLI contracts (openclaw#200428)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d623a9b)

* fix: restore Codex qualification fixture contracts (openclaw#200450)

* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching openclaw#199695. No production behavior or timeout changes.

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

* test: align Codex refresh callback fixtures

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

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d0d35ab)

* fix(crabbox): join heartbeat command cleanup before retirement (openclaw#200466)

(cherry picked from commit a823861)

* fix(agents): retain ambiguous completed-answer receipts

* fix(qa): ignore workspace context when detecting continuation

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* improve(ci): avoid recompressing candidate registry artifacts

* fix(ci): classify recovery browser test server ownership (#200402)

(cherry picked from commit a62e4e1)

---------

Co-authored-by: Vincent Koc <[email protected]>
(cherry picked from commit 27a5de4)
Co-authored-by: RomneyDa <[email protected]>
Backport review: Later #201313 modifies WebKit download recovery, independent of artifact compression. #200379 is selected separately; no required dependency for upload compression.:
(cherry picked from commit 90e3710c5d97b66059893d69f7a6a9631971380c)
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* improve(ci): avoid duplicate release source guard scans

* fix(ci): classify recovery browser test server ownership (#200402)

(cherry picked from commit a62e4e1)

* fix(ci): restore package harness startup

Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules.

(cherry picked from commit 84262af)

* test(facetime): preserve child process exports in audio fixture (#200419)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 36549cb)

* test(browser): align fixtures with navigation and CLI contracts (#200428)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d0daf88)

* fix: restore Codex qualification fixture contracts (#200450)

* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes.

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

* test: align Codex refresh callback fixtures

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

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8f0d03f)

* fix(crabbox): join heartbeat command cleanup before retirement (#200466)

(cherry picked from commit 6247dc4)

* fix(agents): retain ambiguous completed-answer receipts

* fix(qa): ignore workspace context when detecting continuation

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 60e0e21)
Release adaptation: Preserve baseline authored-request continuation classifier and extractToolOutput import; newer #201244 behavior already exists. Apply runtime-context split and regression without downgrading it.:
Backport review: #201130 selected by sibling; #201331 and #198760 are independent package script changes. #201244 classifier already present-equivalent on baseline.:
(cherry picked from commit ad2ae0e0e2bf242ab0df9f9ca29f4f848caf478c)
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
…aw#200386)

* improve(ci): avoid recompressing candidate registry artifacts

* fix(ci): classify recovery browser test server ownership (openclaw#200402)

(cherry picked from commit a62e4e1)

---------

Co-authored-by: Vincent Koc <[email protected]>
(cherry picked from commit 27a5de4)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 62c1f04fec9e1c121d6d06a24d15dbc2ca9c1a4a)
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
)

* improve(ci): avoid duplicate release source guard scans

* fix(ci): classify recovery browser test server ownership (openclaw#200402)

(cherry picked from commit a62e4e1)

* fix(ci): restore package harness startup

Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules.

(cherry picked from commit 84262af)

* test(facetime): preserve child process exports in audio fixture (openclaw#200419)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 36549cb)

* test(browser): align fixtures with navigation and CLI contracts (openclaw#200428)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit d0daf88)

* fix: restore Codex qualification fixture contracts (openclaw#200450)

* fix: restore Codex run-attempt qualification coverage

Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching openclaw#199695. No production behavior or timeout changes.

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

* test: align Codex refresh callback fixtures

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

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 8f0d03f)

* fix(crabbox): join heartbeat command cleanup before retirement (openclaw#200466)

(cherry picked from commit 6247dc4)

* fix(agents): retain ambiguous completed-answer receipts

* fix(qa): ignore workspace context when detecting continuation

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 60e0e21)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 90fc6d5fa4c9d0f348e83ae63fd63c3072e03433)
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: 🐚 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