Skip to content

fix(gateway): prevent workspace adoption during active session work - #157259

Merged
vincentkoc merged 2 commits into
mainfrom
fix/session-adoption-active-work-20260924
Sep 24, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/session-adoption-active-work-20260924

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an existing chat's workspace being changed while its current turn still owns active work.

User Impact

Workspace adoption now returns a retryable busy result until existing work finishes. Idle adoption preserves the session identity and conversation history. A preparation callback, including a repeated worktree request, waits until idle; an unchanged binding without a callback remains available.

Why This Change Was Made

The lifecycle fence queued new work but did not stop work that had already been admitted. The creation owner now checks that work before filesystem preparation can allocate anything, revalidates the target identity after acquiring custody, and fences the canonical key, aliases, and session ID through commit or rollback. Target admission lives in a small internal helper so the oversized creation service does not grow.

Evidence

The measurements below are from the original 41d076f → a6b119fe candidate. Head f5bb75425f7816f0d3339ba528e160ca8c26ef7f preserves that exact three-file patch and merges main at 9ccfc7d1bea21e34da48edbd54afd2e1be57db40. The affected creation/admission owners, test file, and lockfile are unchanged between those bases. Fresh PR-head CI is required for the incorporated main context.

  • node scripts/run-vitest.mjs src/gateway/session-create-preparation.test.ts: 16/16 passed; 50.93 seconds including the wrapper. Covers acquired work by canonical key, alias, and session ID; an embedded owner without an admission lease; target identity drift; unchanged-binding adoption; nonempty transcript preservation; queued work through successful commit and rollback; unrelated-session progress; and the existing creation cases.
  • Exact-base changed-file checks passed: pinned formatting, core TypeScript, all 25 selected test typecheck graphs, lint (zero warnings/errors), dead exports, line-cap and ownership/storage/import guards. No runtime import cycles.
  • Independent review found no actionable issues on the final candidate. Remote verification matched all 49,290 source/test/build/config inputs before and after validation; four non-executable agent/editor control files were excluded by the sync contract.
  • Validated against frozen base 41d076f30b32737723a3410af395d43c1b6dd00c. Current PR-head CI and native landing checks remain required. Live chat migration and deployment are separate operator steps.

Test cost

The required before/after one-worker measurement passed on a fresh Blacksmith Testbox (workflow run), Linux x64, Node 24.19.0, pnpm 12.4.2:

Revision Passing tests Command wall time Vitest file time
Baseline 41d076f30b32737723a3410af395d43c1b6dd00c 6 49.660 s 9.645 s
Candidate a6b119fe1e36f4003da5188c3d93acda1a9d2aa4 16 65.827 s 21.050 s

Command on each revision: corepack pnpm test src/gateway/session-create-preparation.test.ts --maxWorkers=1 --reporter=json --outputFile=<temporary-report>.

These are sequential single samples, baseline first, using identical frozen dependency inputs, separate physical installs, and fresh per-revision Node compile and Vitest filesystem module caches. The machine and OS page cache were shared; this is measured test cost, not a statistical performance claim. Wall time includes compilation and worker setup. The additional cases cost 16.167 s wall / 11.405 s file time in this pair.

The measured one-worker file interval is below the 30 s test-time explanation threshold, though above the 5 s target. It exercises real session creation, persistence, transcript preservation, and admission ordering through preparation, commit, and rollback. Explicit deferred gates coordinate the races without sleeps; a mocked predicate would not prove those owner-ordering contracts.

Hosted CI on original head a6b119fe also passed all 16 cases in checks-node-changed-compact-large-28. Its 16 reported case durations sum to 37.356 s; the entire shared job took 194 s, which is not attributable to this file alone. The hosted case-time sum exceeds 30 s, so the owner-level persistence and lifecycle-ordering contracts above justify retaining this coverage. It does not start a Gateway per test or use real sleeps. The three changed source/test files are unchanged, and the benchmark Testbox has been stopped.

The two original attached CI attempts timed out in the central hosted typecheck row without a TypeScript diagnostic. The refreshed base includes the landed hosted-profile stripe fix; no CI source changes are added by this PR.

Production delta: +82 lines, including the internal extraction and active-work invariant. Test delta: +289 lines.

Reject existing-session workspace preparation before allocation when admitted work or an embedded/reply run is active. Keep idle adoption on the original session and transcript, and hold queued work through commit or rollback using canonical, alias, and session ID lifecycle identities.

Extract target admission policy into an internal helper so the oversized creation owner does not grow. Preparation callbacks, including worktree replay, return retryable busy until idle; unchanged bindings without a callback remain available.

Validate active-owner rejection, identity drift, transcript preservation, queued admission ordering, and unrelated session progress. Focused tests: 16 passed. Exact-base changed checks, pinned formatting, core and test typechecks, lint, and owner guards passed.
@vincentkoc vincentkoc self-assigned this Sep 24, 2026
@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.

@vincentkoc
vincentkoc marked this pull request as ready for review September 24, 2026 12:03
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: M labels Sep 24, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper automerge

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Maintainer-approved ClawSweeper automerge is not merged yet.

Approver: vincentkoc
Head: f5bb75425f78
Merge status: exact-head ClawSweeper review decision is human

I left the PR open for the remaining gate instead of bypassing it.

Automerge progress:

  • 2026-09-24 12:15:53 UTC active review reused a6b119fe1e36 (waiting)
  • 2026-09-24 12:19:08 UTC review queued a6b119fe1e36 (queued)

@clawsweeper clawsweeper Bot added the clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge label Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 24, 2026, 11:18 AM ET / 15:18 UTC (Revision 4).

ClawSweeper review

What this changes

Gateway session creation returns a retryable busy result before changing an active session’s workspace, while preserving idle adoption and adding session lifecycle tests.

Merge readiness

⛔ Blocked before merge - 2 items remain

Current main still allows workspace preparation to begin for an existing session with active work. The PR addresses that gap without an actionable code finding. Its explicit human-review pause remains the merge blocker.

Priority: P1
Reviewed head: f5bb75425f7816f0d3339ba528e160ca8c26ef7f
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused owner-level repair and lifecycle tests provide good confidence, with the requested test-cost evidence supplied.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored PR is exempt from external-contributor real-setup proof. Tests exercise the production session creation owner with persisted sessions and active admissions; no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored PR is exempt from external-contributor real-setup proof. Tests exercise the production session creation owner with persisted sessions and active admissions; no stored-data contract changes.
Evidence reviewed 7 items Introduced active-work guard: The PR checks acquired work and embedded runs before invoking workspace preparation.
Creation-owner custody: The lifecycle mutation fences the canonical key, store aliases, requested key, and initial session ID through preparation and rollback.
Current-main gap: Current main checks parent activity but reads the existing creation target without checking its active work before preparation. The affected files have no changes between the pinned base and fetched main.
Findings None None.
Security None None.

How this fits together

Gateway session creation receives chat and session requests, prepares workspace resources, and persists the session. Session work admission tracks turns that must finish before an existing workspace binding changes.

flowchart LR
 A[Session request] --> B[Existing session lookup]
 B --> C[Lifecycle custody]
 C --> D{Active work?}
 D -->|Yes| E[Retryable busy result]
 D -->|No| F[Workspace preparation]
 F --> G[Session commit]
Loading

Decision needed

Question Recommendation
Should the human-review pause placed over test-cost evidence now be released? Release the pause: Accept the measured cost and let exact-head CI and native merge gates govern landing.

Why: The requested measurements are in the PR body, but the explicit human-review hold still requires a maintainer to resolve it.

Before merge

  • Complete next step (P2) - A maintainer should release or retain the existing human-review pause after assessing the supplied test-cost measurements.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Source +82, Tests +289. Total +371 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 2 113 31 +82
Tests 1 290 1 +289
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 403 32 +371

Review metrics

Metric Value Why it matters
Production and test growth production +82 net lines, tests +289 net lines The PR explains the internal extraction and the owner-level coverage added for the active-work invariant.
One-worker test cost +16.167 s wall, +11.405 s file time The supplied before/after measurement addresses the prior review’s recurring-cost question.

Technical review

Best possible solution:

Keep workspace changes inside the session creation owner’s lifecycle custody, reject active targets before preparation, and preserve the existing session identity and transcript on idle adoption.

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

Yes, from source: current main can prepare a workspace for an existing active target without checking its admitted work. This read-only review did not execute the baseline.

Is this the best way to solve the issue?

Yes. The creation owner already holds lifecycle custody through preparation and rollback, so checking active work there is a narrow repair.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P1: Changing a workspace beneath an active turn can disrupt a live agent workflow.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.

Evidence

What I checked:

  • Introduced active-work guard: The PR checks acquired work and embedded runs before invoking workspace preparation. (src/gateway/session-create-target.ts:49, f5bb75425f78)
  • Creation-owner custody: The lifecycle mutation fences the canonical key, store aliases, requested key, and initial session ID through preparation and rollback. (src/gateway/session-create-service.ts:1452, f5bb75425f78)
  • Current-main gap: Current main checks parent activity but reads the existing creation target without checking its active work before preparation. The affected files have no changes between the pinned base and fetched main. (src/gateway/session-create-service.ts:734, 86192cd70df7)
  • Boundary tests: Tests call the production creation service and exercise active canonical-key, alias, session-ID, and embedded-run ownership, plus identity drift and commit/rollback ordering. (src/gateway/session-create-preparation.test.ts:27, f5bb75425f78)
  • Prior review and test cost: The previous completed review had no findings and requested test-cost evidence. The PR body now supplies before/after one-worker measurements and hosted case timing; the human-review label remains.
  • Related feature history: Prior merged history connects Vincent Koc to session access, Peter Steinberger to session lifecycle fencing, and RoboClaw to recent session admission work; the available history does not prove introduction of a specific current line. (src/gateway/session-create-service.ts, da27b336c0e9)

Likely related people:

  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • RoboClaw: 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 (3 earlier review cycles)
  • reviewed 2026-09-24T12:16:58.395Z sha a6b119f :: blocked before merge. :: none
  • reviewed 2026-09-24T12:24:07.709Z sha a6b119f :: blocked before merge. :: none
  • reviewed 2026-09-24T12:38:20.433Z sha a6b119f :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 🚀 automerge armed This PR is in ClawSweeper's automerge lane. clawsweeper:human-review Needs maintainer review before ClawSweeper can continue labels Sep 24, 2026
@clawsweeper

clawsweeper Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

🦞✅
ClawSweeper is pausing this repair loop for human review.

Source: clawsweeper[bot]
Reason: - [ ] Resolve merge risk (P1) - The expanded Gateway test file lacks the required before/after one-worker benchmark and CI runtime measurement; the reported 50.93-second wrapper run does not establish its recurring... (sha=a6b119fe1e36f4003da5188c3d93acda1a9d2aa4)

Why human review is needed:
ClawSweeper found a blocker that should be resolved or accepted by a maintainer before the repair or automerge loop continues.

What the maintainer can do as a next step:
If the maintainer accepts the current risk and wants ClawSweeper to continue merge gates, comment @clawsweeper approve. If more work is needed, resolve the blocker first, then comment @clawsweeper automerge to re-review and continue. If automation should stay paused, leave clawsweeper:human-review in place or comment @clawsweeper stop.

I added clawsweeper:human-review and left the final call with a maintainer.

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper automerge

@clawsweeper

clawsweeper Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 🚀 automerge armed This PR is in ClawSweeper's automerge lane. labels Sep 24, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper approve

@clawsweeper

clawsweeper Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

* commit '9ccfc7d1bea21e34da48edbd54afd2e1be57db40': (89 commits)
  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)
  fix: validate Codex model references in Docker (#157175)
  fix(state): tolerate brief WAL coordinator contention (#157121)
  fix: unblock conversations after recovery preparation fails (#157214)
  test(telegram): avoid wall-clock pacing in HTTP conformance (#157281)
  fix: keep independent database work responsive under load (#157230)
  refactor(sqlite): centralize WAL checkpoint execution (#157263)
  improve(android): show tool outcomes in collapsed work (#156950)
  fix: remove tracked release scratch blocking source capture (#157308)
  test(update): remove legacy probe stream ordering race
  fix: preserve steering across reconnects and show queued input (#157135)
  fix(ui): keep typing focus when the GitHub reader opens (#157202)
  fix(ios): keep screenshot logs outside capture evidence
  test(codex): await startup teardown in lifecycle fixtures
  chore(ui): refresh control ui locales (#157311)
  refactor(memory): deslop memory plugins (#156867)
  refactor(test): share CLI diagnostics fixture setup (#157201)
  fix(release): retry notarization submit/wait on transport failures and name the resume command (#157116)
  ...
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper approve

@vincentkoc
vincentkoc merged commit 5c13ecf into main Sep 24, 2026
205 of 206 checks passed
@vincentkoc
vincentkoc deleted the fix/session-adoption-active-work-20260924 branch September 24, 2026 15:38
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

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
…57259)

Reject existing-session workspace preparation before allocation when admitted work or an embedded/reply run is active. Keep idle adoption on the original session and transcript, and hold queued work through commit or rollback using canonical, alias, and session ID lifecycle identities.

Extract target admission policy into an internal helper so the oversized creation owner does not grow. Preparation callbacks, including worktree replay, return retryable busy until idle; unchanged bindings without a callback remain available.

Validate active-owner rejection, identity drift, transcript preservation, queued admission ordering, and unrelated session progress. Focused tests: 16 passed. Exact-base changed checks, pinned formatting, core and test typechecks, lint, and owner guards passed.
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

clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge clawsweeper:human-review Needs maintainer review before ClawSweeper can continue gateway Gateway runtime P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant