Skip to content

fix(gateway): retain owned suspension status during restart - #157258

Merged
steipete merged 4 commits into
mainfrom
steipete/perf-micro-suspend-status-conflict-under-load-20260919
Sep 24, 2026
Merged

steipete merged 4 commits into
mainfrom
steipete/perf-micro-suspend-status-conflict-under-load-20260919

Conversation

@steipete

@steipete steipete commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes a deployment controller losing its own suspension status when an installation-replaced restart or an authorized interruption begins under load. The controller could defer a valid update after its suspended predecessor reported status: "running"; a fresh polling connection could also fail with HTTP 503.

User Impact

The same owner can keep polling during restart, including over a fresh authenticated WebSocket. Default status responses preserve the published v4 shape. Callers can explicitly request owner and phase metadata with includeLifecycle: true. Foreign tokens still conflict; committed shutdown cannot be resumed, renewed, or armed again. No new configuration, cache, state store, or protocol-version change.

Update behavior: the installed driver and running Gateway execute first. This candidate cannot repair an older resident's current shutdown; once installed, it changes the status that the next update driver polls. The published OpenClaw 2026.9.6 CLI and shipped response schema were exercised against the candidate Gateway. The host-side release driver is outside this repository; its complete native deployment/cutover was not exercised. RPC access ends when server teardown closes request admission and transports; recorded exiting facts do not keep a closed transport alive.

Why This Change Was Made

The exact transition was markGatewayRestartDraining() → invalidateSuspendAdmission() → coordinator clears current and retains only retiredForLifecycleReset → getGatewaySuspendStatus() returns running. This reproduces the running branch of the driver's grouped “running, conflicting, recovering, or malformed” error; there is no evidence of a second suspension or literal foreign-token conflict.

Reuse the existing retired suspension for read-only progress, bound to the exact restart AbortSignal. Preserve the draining discriminator and the default response shape. With explicit includeLifecycle: true, add ownerId (the original request ID) and phase: draining | interrupting | exiting. Refresh blockers and write custody without restoring lease authority. Ready status also carries owner attribution when requested. The coordinator owns this opt-in so direct legacy readers remain compatible too; resume parameters stay separate and closed. The teardown owner records exiting; lifecycle reset invalidates the record.

HTTP upgrade and connect admission now share the coordinator's reconnect decision. Authentication remains mandatory, node/worker connects remain fenced, and ordinary RPC admission stays closed. The Swift protocol model is regenerated from the schema.

Net production change: 80 TypeScript lines + 16 generated Swift lines = 96 lines.

Evidence

All heavy validation used blacksmith-testbox, profile openclaw-check, against pinned source base fe846d3c9498 plus the candidate patch. All leases were stopped after use.

  • Ownership before/after: 0/2 → 2/2 successful observations. The real RPC dispatcher regression uses 200 active roots + 200 blocked admissions, a 30-second fake-clock drain, and both handoff and installation-replacement paths. Baseline returns running. The fix retains owner/phase after expiry and settlement, refuses foreign tokens and resume, and invalidates the record after lifecycle reset. Final case bodies: 86 ms and 5 ms.
  • Real reconnect before/after: HTTP 503 → success. Restoring only the old HTTP/connect fences makes the real-server test fail with Gateway websocket admission closed. The fix passes fresh controller status, foreign-token refusal, ordinary-RPC refusal, node-connect refusal, and teardown's exiting publication. It extends an existing server fixture without adding another server boot.
  • Transport runtime proof: 155/155 tests across 10 files. Final real-server file: 28.70 s wall, including compiler preparation; the remaining nine files: 58.15 s. This is a reliability improvement, not a CPU-speedup claim.
  • Checks passed: changed-file gates for test and production/docs/generated paths; all 25 core test typecheck groups; core lint; generated-app helper tests; schema/storage/import guards. After the reconnect change, production and Gateway-server typechecking, focused lint, pinned-base line-cap check, and import-cycle check passed again. Final lint: zero warnings/errors; runtime import cycles: zero.
  • Final compatibility proof: 113/113 focused tests and the original failing 28-file CI shard at 568/568. The existing task-registry response assertion is unchanged. Published CLI 2026.9.6 (eb377ac) prepared 200 active roots and polled before/after committed restart; its shipped closed response schema accepted both default replies. Explicit lifecycle opt-in returned the richer owner/phase reply.
  • Independent Codex autoreview: no actionable P0–P2 findings after the compatibility repair.
Lease Commands and results
tbx_01m39fz6t03g5rt0tkdmykzysp (environment) Initial focused run could not start without dependencies; pnpm install --frozen-lockfile repaired that. RPC baseline: expected 2 failures, 26 passes. Intermediate sibling run exposed two old exact-response expectations; updated them for additive metadata. pnpm protocol:gen:swift and changed-check dry run passed. Two subsequent full-sync attempts timed out before executing.
tbx_01m39gynkfhwkhvy8nhnqg0e4b (environment) Initial 112 focused tests passed. Changed checks caught two possibly-undefined mock-call accesses; fixed with existing expectDefined. Per-file tests and both node scripts/check-changed.mjs -- <paths> invocations then passed. A later transport-proof run hit another sync timeout before execution.
tbx_01m39kz4srdpcbg586jf8r7heh (environment) Expected old-fence failure; all 155 final tests passed; pnpm tsgo:core, Gateway-server test typecheck, and focused run-oxlint passed. --base origin/main line-cap checking compared unrelated newer base changes and flagged three untouched extension files; using the actual pinned base passed. pnpm check:import-cycles passed.
tbx_01m39pjcm4njwce6n2b7qrxwws (environment) Replayed the original CI shard: 568 passed; 113 focused tests passed. Generated the updated Swift model. Published CLI/schema probe passed (5.535 s test body). Final production, Gateway-server, Gateway-methods and protocol-package typechecks, focused lint, and line-cap guard passed. pnpm laid out the published CLI but refused optional install scripts; those stayed blocked, and its prebuilt RPC entry point was used successfully.

Per-file cost (pnpm test <file> --maxWorkers=1): suspension RPC admission 9.97 s; final real-server node shutdown 28.70 s; suspension coordinator 9.11 s; restart/suspension ordering 8.67 s. These include runner/import overhead.

Focused tests cover server-methods.suspension-admission, server.node-shutdown, gateway-suspend-coordinator, its handoff sibling, restart-suspension, suspend handlers, protocol schemas, preauthentication hardening, connect suspension admission, and startup admission. SwiftLint was unavailable on Linux and remains owned by macOS CI. Shallow Testbox history skipped the environment-variable base-budget comparison; this patch adds no environment variables. No sync bypass was used.

The first published head exposed a real compatibility regression: ClawSweeper identified shipped closed validators, and CI job checks-node-changed-compact-small-9 failed on an extra ownerId in an existing direct coordinator read. The repair defaults to the legacy shape instead of weakening that assertion. The original failing test took 34 ms; its CI lane reported 567 passed / 1 failed in 134.65 s before the fix.

CI fixture repair

The compatibility regression is green on the second CI run. That run (36005740827) tested merge revision 43716e42f3ef and found a separate race in the Codex startup-cleanup tests introduced by #157229: validation first awaits real catalog fs.realpath() I/O, but the fixture advanced fake timers and immediately assumed cleanup had begun. CI observed two failures; an exact-source, original-order replay reproduced one failure with 829/830 Codex tests passing (the preceding 216-test memory group passed).

A five-line fixture repair waits for the existing close notification before the existing timer flush. It preserves stdin-destruction, unsettled-acquisition, and explicit physical-exit assertions; no production code, sleeps, retries, or broader mocks were added. The branch was replayed onto the original CI base dda6e1ceda39; before this fixture edit its tree was identical to the tested merge revision. The suspension implementation is unchanged.

  • blacksmith-testbox / openclaw-check, tbx_01m39td5pt2h1c2ccz54zvrty2 (environment): original shard replay reproduced the failure; stopped.

  • blacksmith-testbox / openclaw-check, tbx_01m39tr85pgmj9c0g01yvf3sss (environment): frozen dependency setup and source-byte verification, then 20/20 standalone file runs, 132 tests each. First measured wall 38.54 s includes compiler preparation; warm runs were roughly 13–17 s. This is an existing file; the repair adds no tests. Independent review found no actionable P0–P2 issue. Stopped before the commit changed HEAD.

  • blacksmith-testbox / openclaw-check, tbx_01m39vbq15n5jjmw6yzk3h27wp (environment): 3/3 original-shard passes, 1,565 tests across 74 files per pass, using the original four-group plan and two workers. pnpm tsgo:extensions:test and focused run-oxlint passed with zero warnings/errors. Combined remote command: 22m47.461s. Lease stopped. The final head also has a fresh ClawSweeper review with no actionable findings.

GitHub CI initially hit a merge-ref startup failure; a reconciled close/reopen attached a real run. CI run 36009704906 passed the repaired Codex tests and exposed the separate selector defect described below; the final push includes both bounded test-infrastructure repairs.

Combined CI selection repair

Run 36009704906, job checks-node-changed-compact-large-2, exposed a deterministic routing defect: the same selected Node media tests ran under media, media-understanding, TUI, and finally ui-isolated/jsdom. The first three configurations each repeated 99 passing files / 2,533 passing tests; the wrong jsdom environment then caused 47 assertion failures and one suite-load failure. The Gateway methods portion of that job passed 2,321 tests plus its 62 isolated tests.

Enable the existing include-file intersection in the five affected sibling configs; UI timing already uses it. Keep the helper's intentional default override contract, selected inventory, worker counts, and test assertions unchanged. One exported-config regression checks all six owners using a mixed include list. This adds five test-config lines and no runtime production code.

blacksmith-testbox / openclaw-check, tbx_01m39x5s8dwy8398wx3wmhm2mc (environment):

  • Baseline pnpm test test/vitest-scoped-config.test.ts --maxWorkers=1: the new regression fails with exactly five incorrect selections; 104 other tests pass.
  • Fixed command: 105/105 passed, 23.95 s wall.
  • Original failed group's six-config/138-file selection replay, preserving its order and two workers: 3,313 passed, 15 existing skips; 272.73 s. All 138 selected files are accounted for (135 passed, 3 existing file skips), in their proper environments.
  • pnpm tsgo:test:root and focused lint on the six changed files passed; zero warnings/errors. Combined fixed proof command: 8m56.680s.
  • Fresh independent review: no actionable P0–P2 findings. Lease stopped.

Final outcome

Merged automatically by squash as 86192cd70df7949122351f54565eb8b891bcbc13 on 2026-09-24 at 15:15 UTC. Final head c84dcbd921e42eec51401a9f972f4b67aa77e8b9 passed CI run 36015341973, including the iOS smoke job. The workflow completed successfully in 1,592 seconds wall (creation to completion; includes build/native/queue time). No per-file timing artifact was published; per-file costs above are the measured Testbox runs. Final ClawSweeper review reported no actionable findings. All eight Testbox leases are stopped.

@steipete
steipete enabled auto-merge (squash) September 24, 2026 12:06
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime size: M labels Sep 24, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 24, 2026, 10:56 AM ET / 14:56 UTC (Revision 6).

ClawSweeper review

What this changes

The branch retains Gateway suspension status during restart, allows authenticated controller reconnects, adds optional lifecycle details to status replies, and repairs related test fixtures and CI test selection.

Regression provenance

Possible regression — probable (reproduction; reviewed change). No predecessor PR is attributed.

Merge readiness

✅ Ready for maintainer review

Current main and the latest release still lose suspension status after restart retirement. The branch addresses that gap, repairs the earlier validator compatibility finding, and has no remaining actionable finding in this review.

Priority: P1
Reviewed head: c84dcbd921e42eec51401a9f972f4b67aa77e8b9

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) The focused before-and-after transport proof, released-client check, compatibility repair, and bounded CI fixture fixes provide strong review confidence.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The changed coordinator and WebSocket admission path were exercised with an injected restart through a real Gateway server and transport client; the reported after-fix result is an authenticated reconnect and retained status where the baseline returned HTTP 503 or running. A published CLI also accepted the candidate's default replies. No stored-data contract changes.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The changed coordinator and WebSocket admission path were exercised with an injected restart through a real Gateway server and transport client; the reported after-fix result is an authenticated reconnect and retained status where the baseline returned HTTP 503 or running. A published CLI also accepted the candidate's default replies. No stored-data contract changes.
Evidence reviewed 9 items Introduced coordinator behavior: The introduced patch retains the retired suspension against the exact restart signal and serves read-only status without renewing its lease.
Current main still has the reported gap: The fetched main coordinator retains an entry for lifecycle reset but status reads only the current entry, so it can return running after restart invalidation.
Latest release does not include the repair: The v2026.9.6 source has the same status-read gap and lacks the new restart-bound read path.
Findings None None.
Security None None.

How this fits together

An external deployment controller polls the Gateway suspension coordinator through authenticated WebSocket RPC while work drains. Restart admission controls which connections and requests remain available before teardown.

flowchart LR
  A[Deployment controller] --> B[Authenticated WebSocket]
  B --> C[Gateway RPC admission]
  C --> D[Suspension coordinator]
  E[Restart lifecycle] --> D
  D --> F[Status reply]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +80, Tests +296, Docs +26, Other +16. Total +418 across 23 files.

View PR surface stats
Area Files Added Removed Net
Source 6 96 16 +80
Tests 13 302 6 +296
Docs 3 28 2 +26
Config 0 0 0 0
Generated 0 0 0 0
Other 1 17 1 +16
Total 23 443 25 +418

Review metrics

Metric Value Why it matters
Status RPC contract 1 opt-in request field, 2 optional response fields, 0 default-shape changes Released closed validators continue to accept ordinary status replies.
Code growth production +96, tests and fixtures +291, test configs +5 net lines The production growth is explained by restart-bound read-only state and compatible opt-in status output.

Technical review

Best possible solution:

Keep restart progress tied to the live Gateway lifecycle, with read-only status for the original suspension and authorization enforced at every reconnect and RPC boundary.

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

Yes. Current main still has the retirement-to-running path, and the PR supplies a pinned-base failing RPC observation; this read-only review did not execute current main.

Is this the best way to solve the issue?

Yes. The coordinator retains observation without restoring lease authority, and the opt-in response avoids changing the released default wire shape.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against bc9a4e70329f.

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P1: A controller can defer a valid Gateway update when restart causes its owned suspension to appear to be running.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The changed coordinator and WebSocket admission path were exercised with an injected restart through a real Gateway server and transport client; the reported after-fix result is an authenticated reconnect and retained status where the baseline returned HTTP 503 or running. A published CLI also accepted the candidate's default replies. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed coordinator and WebSocket admission path were exercised with an injected restart through a real Gateway server and transport client; the reported after-fix result is an authenticated reconnect and retained status where the baseline returned HTTP 503 or running. A published CLI also accepted the candidate's default replies. No stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Dallin Romney: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (5 earlier review cycles)
  • reviewed 2026-09-24T12:19:45.693Z sha 662de1a :: blocked before merge. :: [P1] Keep status responses compatible with published validators
  • reviewed 2026-09-24T12:37:32.544Z sha 662de1a :: blocked before merge. :: [P1] Preserve compatibility with released suspension validators
  • reviewed 2026-09-24T13:35:49.311Z sha 2362b2fe986acb911d46b14f0c7a318f7014d310 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-24T14:10:36.667Z sha fb2ad45 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-24T14:31:35.329Z sha fb2ad45 :: needs maintainer review before merge. :: none

@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: c84dcbd921e42eec51401a9f972f4b67aa77e8b9
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/gateway/server/ws-connection/message-handler.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@steipete
steipete marked this pull request as draft September 24, 2026 12:28
auto-merge was automatically disabled September 24, 2026 12:28

Pull request was converted to draft

@steipete
steipete marked this pull request as ready for review September 24, 2026 13:18
@clawsweeper

clawsweeper Bot commented Sep 24, 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.

@steipete steipete closed this Sep 24, 2026
@steipete steipete reopened this Sep 24, 2026
@steipete
steipete enabled auto-merge (squash) September 24, 2026 13:28
@clawsweeper clawsweeper Bot added 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 rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 24, 2026
@steipete
steipete marked this pull request as draft September 24, 2026 13:46
auto-merge was automatically disabled September 24, 2026 13:46

Pull request was converted to draft

@steipete
steipete force-pushed the steipete/perf-micro-suspend-status-conflict-under-load-20260919 branch from 2362b2f to fb2ad45 Compare September 24, 2026 13:58
@steipete
steipete marked this pull request as ready for review September 24, 2026 14:00
@steipete
steipete enabled auto-merge (squash) September 24, 2026 14:48
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 24, 2026
@steipete
steipete merged commit 86192cd into main Sep 24, 2026
220 of 222 checks passed
@steipete
steipete deleted the steipete/perf-micro-suspend-status-conflict-under-load-20260919 branch September 24, 2026 15:15
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit '02ad6b76b1a2ee2b414b170072e6e3e606fda3d4': (134 commits)
  fix(build): scope normalization declarations to package sources (#157174)
  fix: exit after validating Codex model references (#157323)
  fix(gateway): guard workspace adoption during active work (#157259)
  fix(update): rebuild stale Git runtimes when source is already current (#156996)
  fix: require a click before diagnosing failed updates (#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (#157352)
  fix(skills): refresh skills after watched directories are replaced (#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (#157334)
  fix(gateway): retain owned suspension status during restart (#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (#157337)
  test(daemon): use the native PowerShell probe budget (#157289)
  fix(exec): avoid gateway stalls during background task writes (#157177)
  test(cli): isolate preaction title setter state
  fix(test): synchronize Git backoff cancellation readiness (#157315)
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit 'c4333da677cbdfe1bbaf783ed01c363ff39e93b8': (100 commits)
  fix(test): stop preflight mocks leaking into shared workers (#157207)
  fix(build): scope normalization declarations to package sources (#157174)
  fix: exit after validating Codex model references (#157323)
  fix(gateway): guard workspace adoption during active work (#157259)
  fix(update): rebuild stale Git runtimes when source is already current (#156996)
  fix: require a click before diagnosing failed updates (#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (#157352)
  fix(skills): refresh skills after watched directories are replaced (#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (#157334)
  fix(gateway): retain owned suspension status during restart (#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (#157337)
  test(daemon): use the native PowerShell probe budget (#157289)
  fix(exec): avoid gateway stalls during background task writes (#157177)
  test(cli): isolate preaction title setter state
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* commit '02ad6b76b1a2ee2b414b170072e6e3e606fda3d4': (122 commits)
  fix(build): scope normalization declarations to package sources (#157174)
  fix: exit after validating Codex model references (#157323)
  fix(gateway): guard workspace adoption during active work (#157259)
  fix(update): rebuild stale Git runtimes when source is already current (#156996)
  fix: require a click before diagnosing failed updates (#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (#157352)
  fix(skills): refresh skills after watched directories are replaced (#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (#157334)
  fix(gateway): retain owned suspension status during restart (#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (#157337)
  test(daemon): use the native PowerShell probe budget (#157289)
  fix(exec): avoid gateway stalls during background task writes (#157177)
  test(cli): isolate preaction title setter state
  fix(test): synchronize Git backoff cancellation readiness (#157315)
  ...
vincentkoc added a commit that referenced this pull request Sep 24, 2026
* test(ui): cover stack-free tooltip disconnect cleanup

* fix(build): scope normalization declarations to package sources

Give normalization-core its own TypeScript project so declaration generation does not load the repository-wide source set. Preserve the existing DTS build command and compiler policy.

* Merge normalization declaration scope for tooltip proof

* commit '81aeccb3db80136a118d6d2f98b67d836ec25e51':
  fix(build): scope normalization declarations to package sources

* fix(ui): avoid retaining tooltip anchors in abort reasons

* Merge main to include native wrapper source inventory repair

* commit '02ad6b76b1a2ee2b414b170072e6e3e606fda3d4': (134 commits)
  fix(build): scope normalization declarations to package sources (#157174)
  fix: exit after validating Codex model references (#157323)
  fix(gateway): guard workspace adoption during active work (#157259)
  fix(update): rebuild stale Git runtimes when source is already current (#156996)
  fix: require a click before diagnosing failed updates (#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (#157352)
  fix(skills): refresh skills after watched directories are replaced (#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (#157334)
  fix(gateway): retain owned suspension status during restart (#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (#157337)
  test(daemon): use the native PowerShell probe budget (#157289)
  fix(exec): avoid gateway stalls during background task writes (#157177)
  test(cli): isolate preaction title setter state
  fix(test): synchronize Git backoff cancellation readiness (#157315)
  ...

Co-authored-by: Vincent Koc <[email protected]>
@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
…#157258)

Keep the suspension owner's status readable when restart commits, including authenticated controller reconnects. Retain owner and phase as read-only lifecycle facts while preserving foreign-token conflicts and refusing resume after committed shutdown.

Preserve the published v4 response shape by default; includeLifecycle explicitly opts into metadata. The original failing CI shard passes all 568 tests without weakening its legacy assertion. The published 2026.9.6 CLI and response schema also pass against the candidate with 200 active roots.

The installed updater runs first. This change affects the next driver's polls once the fixed Gateway is running; a full native deployment was not part of this proof.

Repair an inherited startup-cleanup test race by awaiting the real close notification before advancing fake timers. Twenty standalone file runs and three original-shard replays pass without weakening physical-exit assertions.

Keep combined CI include selections inside each of the six media/UI project owners. The regression fails on the five missing intersections; the corrected original 138-file selection passes all 3,313 active tests in their proper environments.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
* test(ui): cover stack-free tooltip disconnect cleanup

* fix(build): scope normalization declarations to package sources

Give normalization-core its own TypeScript project so declaration generation does not load the repository-wide source set. Preserve the existing DTS build command and compiler policy.

* Merge normalization declaration scope for tooltip proof

* commit '81aeccb3db80136a118d6d2f98b67d836ec25e51':
  fix(build): scope normalization declarations to package sources

* fix(ui): avoid retaining tooltip anchors in abort reasons

* Merge main to include native wrapper source inventory repair

* commit 'f11e16cd65951f284264bd202b49984e21091cf5': (134 commits)
  fix(build): scope normalization declarations to package sources (openclaw#157174)
  fix: exit after validating Codex model references (openclaw#157323)
  fix(gateway): guard workspace adoption during active work (openclaw#157259)
  fix(update): rebuild stale Git runtimes when source is already current (openclaw#156996)
  fix: require a click before diagnosing failed updates (openclaw#157359)
  test(release): provide sealed artifact inputs to writer fixtures
  fix(ios): preserve chat state and adapt layout when iPad windows resize (openclaw#156683)
  fix(test): prepare native UI fixtures before compilation
  fix(test): await outbound delivery readiness before assertions
  fix: clarify deferred Codex catalog refresh warnings (openclaw#157352)
  fix(skills): refresh skills after watched directories are replaced (openclaw#156324)
  ci: reduce Node fixture overhead and defer seven release matrices (openclaw#157341)
  chore(test): stop Codex Computer Use and Signal batching tests flaking under load (openclaw#157334)
  fix(gateway): retain owned suspension status during restart (openclaw#157258)
  fix(ci): scope desktop status assertions to the selected worker
  chore(i18n): refresh native locales (openclaw#157337)
  test(daemon): use the native PowerShell probe budget (openclaw#157289)
  fix(exec): avoid gateway stalls during background task writes (openclaw#157177)
  test(cli): isolate preaction title setter state
  fix(test): synchronize Git backoff cancellation readiness (openclaw#157315)
  ...

Co-authored-by: Vincent Koc <[email protected]>
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 docs Improvements or additions to documentation extensions: codex gateway Gateway runtime P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. security-sensitive-changed size: M 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