Skip to content

perf(sessions): reuse current participants across transcript appends - #157622

Merged
steipete merged 4 commits into
mainfrom
steipete/perf-micro-seven-participant-selects-per-append-20260919
Sep 25, 2026
Merged

steipete merged 4 commits into
mainfrom
steipete/perf-micro-seven-participant-selects-per-append-20260919

Conversation

@steipete

@steipete steipete commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Related: #157582

What Problem This Solves

A transcript append that touches its session entry executes seven full participant SELECTs, repeatedly decoding the same participant list during target resolution, admission, and publication.

User Impact

Busy sessions do less SQLite and participant-decoding work. Transcript bytes, participant order, contribution updates, and publication behavior stay unchanged. There are no configuration, schema, migration, retention, or update changes.

Why This Change Was Made

Borrow detached participant display facts from the existing entry-cache owner only while its exact connection revision is current. The existing local generation and SQLite data version invalidate raw/local and foreign changes; dynamic authorization still declines cache reuse. The participant writer continues to own refresh and commit publication; it shares the same state with the projection through a small module that keeps imports acyclic. The transcript writer carries its normalized entry into identity publication instead of immediately reading it back. Compile the existing generation query once per connection so freshness checks do not replace the removed reads with repeated query compilation.

The participant optimization adds 49 net production lines, with no new result cache. Batch readers keep their existing single cohort query. The zero-read path requires a current retained entry cache; cold handles and invalidated revisions retain authoritative reads. This branch is based on the prerequisite commit 7e6bad656fd7 and does not reimplement that change.

Evidence

Synthetic persistSessionTranscriptTurn appends with entry touches, measured against the prerequisite on one blacksmith-testbox, profile openclaw-check, lease tbx_01m3amf8c49y1ssqmg0vk5qy8q, Node 24.19.0 (lease workflow):

Measurement Before After
100 appends, existing participant 700 full participant SELECTs 0
New participant followed by append 1 full participant refresh plus repeated append reads 1 total
100 metadata patches 100 full participant SELECTs 0
Median thread CPU / 100 appends, 1 participant 187.770 ms 164.637 ms (-12.3%)
Median thread CPU / 100 appends, 32 participants 209.371 ms 132.451 ms (-36.7%)
Median wall / 100 appends, 1 participant 202.275 ms 172.223 ms
Median wall / 100 appends, 32 participants 213.718 ms 138.095 ms

Timing uses 200 warmup appends and five 100-append samples, without stack capture. Both participant counts measured 3,500 → 0 full SELECTs across the 500 measured appends. Exact-actor/capacity reads for recording a new participant remain unchanged. These are isolated synthetic measurements, not a production CPU projection.

Queued collector cancellation repair

The failing session-utils.queued-collector-admission.test.ts is a pre-existing cancellation race, not a participant-cache regression. Earlier main CI 36090933962 failed with the identical Queued collector session changed before cancellation publication; retry Stop. error. Main already repaired it in d65bc76d60daaa16078748bd2f2a9c090564d2ee; this branch imports that owner fix unchanged.

The guard compares the Gateway projection's lifecycle generation, not updatedAt, participant display facts, or the SQLite cache token. Aborting native admission can start provisional-session deletion after the kill releases its session fence but before it publishes the cancellation receipt. The fix retains an exact-entry publication barrier in the existing registry retirement owner. Launch cleanup waits for publication to finish, including failure, before scheduler release can join cleanup. Session replacement, live authority, FIFO, and revision checks remain intact.

The existing native-admission test now controls the publication boundary and verifies cleanup ordering without weakening the Stop response assertion or adding another Gateway boot.

All comparison runs use blacksmith-testbox, profile openclaw-check, Node 24.19.0, with the repository runner node scripts/run-vitest.mjs src/gateway/session-utils.queued-collector-admission.test.ts in 20 independent invocations per ref.

Ref Passed / failed file runs Lease
Original PR 6847e10ff51b 18 / 2 tbx_01m3bh8q2g845s2aj1aza4zvqr
Unoptimized main base 2584898818aa 17 / 3 tbx_01m3bhwg489rz2ta81hzqpxhyr
Fetched main 17e75b2b923e, already containing the repair 20 / 0 tbx_01m3bjcq2ejj81hqp9y9ykckcp
Repaired PR e7944bf715fb 20 / 0 tbx_01m3bk3cs790k3mcfj53d8kgch

Lease workflows: original PR, unoptimized base, and repaired main.

Every baseline failure was the reported cancellation-publication error in exact=false. The original 13-file CI shard also passed once on the old PR (143 tests, 110.767 s remote command); that passing replay was not treated as a fix. Applying only the strengthened test to the unoptimized base failed on the intended ordering assertion: session delete preceded publication entered (27.445 s remote command).

The first PR lease invocation stopped before Vitest because synced dependencies were absent. After remote pnpm install --frozen-lockfile, the 20 actual test runs above completed; the setup failures are excluded from the comparison. Main's final portal-sync warning did not affect its successful test command.

Fresh independent Codex review of the exact imported repair: scoped-clean, no actionable P0–P2 findings. No local tests, typechecks, or builds were run. Auto-merge was left untouched.

Final validation

Repair head: e7944bf715fbbf1fe91d1e81dac59e677a2681a6 (plain push; original perf commits preserved).

All following commands passed on blacksmith-testbox, profile openclaw-check, lease tbx_01m3bk3cs790k3mcfj53d8kgch, with the physical checkout, clean source, and exact head verified before execution (lease workflow):

Command / scope Result Wall time
node scripts/run-vitest.mjs src/gateway/session-utils.queued-collector-admission.test.ts, 20 independent runs 20 passed / 0 failed file runs 402.658 s remote command, including dependency setup
pnpm test src/gateway/session-utils.queued-collector-admission.test.ts --maxWorkers=1 2 passed; case times 2.675 s and 1.774 s 17.85 s
node scripts/run-vitest.mjs on the six sibling files below 160 passed across six files and three test projects 106.37 s
node --import tsx scripts/ci-run-node-test-shard.mts, original CI group manifest and eight-worker setting, three runs 143 passed on each run 110.37 / 103.77 / 96.66 s

Sibling files:

  • src/agents/subagents/registry/subagent-control.publication.test.ts
  • src/agents/subagents/registry/subagent-registry-queued-registration.test.ts
  • src/agents/subagents/spawn/subagent-spawn.claim-handoff.test.ts
  • src/agents/subagents/spawn/subagent-spawn.context-resources.test.ts
  • src/gateway/session-utils.queued-collector.test.ts
  • src/config/sessions/session-accessor.sqlite-append-participants.test.ts

The participant-append regression still passes (0.842 s), preserving the zero-repeat-read budget and new-actor refresh behavior. git diff --check also passed.

Hosted CI 36101840133 completed success for this exact head, including production/test types, lint, guards, build artifacts, architecture, all selected tests, and openclaw/ci-gate. Those completed gates supply broader validation; a duplicate Testbox check-changed sweep was not run.

One preliminary candidate lease, tbx_01m3bjw5ehxtw0zsmb9033s60a, rejected the hydration Git HEAD before tests: unpublished source had synced as a working-tree patch, not the new commit. Inspection verified the repair file hashes; after publishing, that lease was stopped and replaced with the exact-head lease above. No test failure was hidden or rerun as a setup failure.

All five lane-owned leases are stopped. No live Gateway deployment or production Node 26 profiling was performed. Existing squash auto-merge, enabled before this repair lane on 2026-09-24 at 23:11:32Z, completed after green CI on 2026-09-25 at 06:27:59Z. Merge commit: 0e6a3175dae3854d022965701bf63a8bfb4a9765, verified on main. This repair lane issued no merge command and left auto-merge untouched.

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

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 25, 2026, 2:20 AM ET / 06:20 UTC (Revision 6).

ClawSweeper review

What this changes

The branch reuses revision-checked participant display facts during SQLite transcript appends, prepares a generation query once per connection, adds regression coverage, and coordinates collector cancellation with failed-launch cleanup.

Merge readiness

⛔ Blocked before merge - 2 items remain

Keep open. Current main contains the prerequisite and collector cancellation repair, but still lacks the measured append-path optimization. The branch has distinct value, and this review found no blocking code defect.

Priority: P2
Reviewed head: e7944bf715fbbf1fe91d1e81dac59e677a2681a6

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The branch has focused real-path performance evidence and a bounded cache change with no identified correctness defect.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The session writer was exercised through the transcript append entrypoint on Blacksmith Testbox with real SQLite storage; warm appends showed 700 to 0 full participant reads per 100 turns, and the session code is unchanged at the reviewed head. Focused tests supplement that measurement. No stored-data contract changes require migration proof.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The session writer was exercised through the transcript append entrypoint on Blacksmith Testbox with real SQLite storage; warm appends showed 700 to 0 full participant reads per 100 turns, and the session code is unchanged at the reviewed head. Focused tests supplement that measurement. No stored-data contract changes require migration proof.
Evidence reviewed 8 items Introduced participant reuse: The introduced patch lends participant display facts only when the retained entry cache matches the connection revision; otherwise the participant reader falls back to SQLite.
Current main still reads participants: Current main has no retained-entry fallback in the single-session participant projection; it queries participant rows after the prepared-read check.
Prerequisite is merged: The related, merged #157582 reduces participant reads when publishing entry writes. Its current-main history does not cover the remaining append-path reads addressed here.
Findings None None.
Security None None.

How this fits together

OpenClaw stores transcript turns, session entries, and participants in SQLite, then publishes committed session views to Gateway readers. The subagent registry also coordinates Stop requests with cleanup of failed collector launches.

flowchart LR
  A[Transcript append] --> B[Session writer]
  B --> C{Cache revision current}
  C -->|Yes| D[Retained participants]
  C -->|No| E[SQLite participant rows]
  D --> F[Committed session view]
  E --> F
  G[Stop request] --> H[Cancellation and cleanup]
  H --> F
Loading

Before merge

  • Complete next step (P2) - Add the new append test's standalone one-worker wall time to the PR body, then report its hosted CI seconds when the current run completes.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +126, Tests +122. Total +248 across 19 files.

View PR surface stats
Area Files Added Removed Net
Source 13 147 21 +126
Tests 6 126 4 +122
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 19 273 25 +248

Review metrics

Metric Value Why it matters
Warm append participant reads 700 → 0 full SELECTs per 100 appends The Testbox measurement identifies the bounded performance gain; it is not an end-to-end production CPU estimate.
Production and test growth production +126 net lines; tests +122 net lines The introduced branch includes the separate collector repair already on main; its new cache path is the smaller remaining merge contribution.

Stored data model

Persistent data-model change detected: serialized state: src/config/sessions/session-accessor.sqlite-transcript-turn.ts. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep participant rows authoritative while borrowing detached display facts only at a matching SQLite revision, then publish session changes after commit.

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

Not applicable as a correctness bug. The captured Testbox comparison measures the existing repeated reads, and current-main source still follows the uncached participant path.

Is this the best way to solve the issue?

Yes. Reusing the existing entry-cache owner at its native revision, with an authoritative SQLite fallback, is a narrow solution to the remaining reads.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded session hot-path improvement with limited user-visible blast radius.
  • merge-risk: 🚨 session-state: Transactional borrowing of cached participants merits attention to stale session presentation; revision checks and local/foreign-write coverage constrain that risk.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The session writer was exercised through the transcript append entrypoint on Blacksmith Testbox with real SQLite storage; warm appends showed 700 to 0 full participant reads per 100 turns, and the session code is unchanged at the reviewed head. Focused tests supplement that measurement. No stored-data contract changes require migration proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. The session writer was exercised through the transcript append entrypoint on Blacksmith Testbox with real SQLite storage; warm appends showed 700 to 0 full participant reads per 100 turns, and the session code is unchanged at the reviewed head. Focused tests supplement that measurement. No stored-data contract changes require migration proof.

Evidence

What I checked:

Likely related people:

  • unknown: 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-24T22:15:54.357Z sha b6a2a60 :: blocked before merge. :: [P2] Break the new runtime import cycle
  • reviewed 2026-09-24T22:23:48.193Z sha b6a2a60 :: blocked before merge. :: [P2] Break the participant projection import cycle
  • reviewed 2026-09-24T23:02:21.719Z sha cc32bdf :: blocked before merge. :: none
  • reviewed 2026-09-24T23:15:52.422Z sha cc32bdf :: blocked before merge. :: none
  • reviewed 2026-09-25T00:09:43.303Z sha 828f514 :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. 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. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 24, 2026
@steipete
steipete enabled auto-merge (squash) September 24, 2026 23:11
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. label Sep 24, 2026
@steipete
steipete force-pushed the steipete/perf-micro-seven-participant-selects-per-append-20260919 branch from cc32bdf to 828f514 Compare September 25, 2026 00:02
Borrow detached participant projections at the entry owner's native revision
and publish transcript identity from the normalized write result. Prepare the
existing generation query once per connection to keep freshness checks cheap.

Synthetic warm appends: seven participant SELECTs to zero; new actors retain
one projection refresh. Median CPU improves 12% with one participant and 37%
with 32. No schema, configuration, or update behavior changes.

Follow-up to #157582. Testbox: 92 focused tests, all changed-check stages,
and independent review pass.
Move the sole entry-cache WeakMap and native-revision participant lender into
a shared state module. The writer and projection keep the same state and
algorithm without importing each other.

Fixes the architecture and guard failures on the initial PR head. Testbox
architecture checks, all 92 focused tests, complete changed-file checks,
and independent review pass.
Move SessionEntryCacheDatabase unchanged to the existing entry-cache types
leaf and update every importer without retaining a projection re-export.
This removes the type-only cache-state -> cache-projection edge counted by
Madge while preserving the participant cache owner and runtime behavior.
Import OpenClawAgentDatabase from its declaring database contract so the
leaf does not gain a dependency on the database runtime barrel.

Baseline: check:madge-import-cycles reproduced the three-module cycle.
Validation on blacksmith-testbox, profile openclaw-check,
lease tbx_01m3be4cqwcx9nb4mxqzc9v541:
- pnpm check:madge-import-cycles: zero cycles (41.7s).
- pnpm check:import-cycles: zero runtime value cycles (12.3s).
- node scripts/run-vitest.mjs: 268 passed across 19 focused files,
  including both participant suites (196.7s remote command).
- node scripts/check-changed.mjs --base
  0484d7a: passed (27m22s), including
  core and all 25 dependent test type graphs, lint and remaining guards.
- Independent Codex review: no actionable P0-P2 findings.

No runtime, schema, configuration or update behavior changes.
@steipete
steipete force-pushed the steipete/perf-micro-seven-participant-selects-per-append-20260919 branch from 29b3abb to 6847e10 Compare September 25, 2026 05:24
Queued collector startup failure could delete its provisional session before
Stop published cancellation, returning a misleading session-generation error.
Retain an exact-entry publication barrier in the existing retirement owner.
Failed-launch cleanup waits for publication to finish, including failure,
before the scheduler hold can await that cleanup. Existing generation,
session, successor, FIFO and current-authority checks remain intact.

Extend the existing real sessions.abort regression with a deterministic
publication boundary: original code deletes the session before publication;
the fix passes both exact modes and five cleanup/publication siblings.
No additional Gateway boot, timers or test cases. Changed case 2.372s,
file 21.11s Vitest; seven selected cases 42.998s wrapper wall. Core types,
25 changed-test type graphs, scoped lint/format and independent review pass.
The unchanged local baseline did not reproduce the timing-dependent CI
failure; deterministic ordering proof establishes the repaired invariant.

Repairs the queued-collector failure observed in main CI36090933962.
Release note: Stop reliably reports cancellation when a queued collector
has not yet reached native acceptance, while preserving cleanup ownership.

(cherry picked from commit d65bc76)
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime agents Agent runtime and tooling size: M and removed size: S labels Sep 25, 2026
@steipete
steipete merged commit 0e6a317 into main Sep 25, 2026
208 of 210 checks passed
@steipete
steipete deleted the steipete/perf-micro-seven-participant-selects-per-append-20260919 branch September 25, 2026 06:28
vincentkoc added a commit that referenced this pull request Sep 25, 2026
…4-prep

* commit '8fe893da516ebdc817692fb2d272e27bc3c88376': (31 commits)
  fix(test): wait for reload admission before restart polling (#157964)
  refactor(mattermost): reuse DM retry option selection (#157800)
  chore(i18n): refresh native locales (#157850)
  perf(sessions): reuse current participants across transcript appends (#157622)
  refactor(signal): share pending transport migration results (#157777)
  fix(tui): open model pickers without waiting for the Gateway (#157839)
  fix(gateway): apply config despite delayed file notifications (#157906)
  fix(auth): clear deleted account selections and support account recovery (#157745)
  fix: plugin reloads lose tool results and strand subagent settlement (#157339)
  fix(gateway): avoid preview errors during worker metadata updates (#157943)
  refactor(diffs): reuse native promisify for compression (#157835)
  fix(models): keep current choices on the first picker page (#157869)
  fix(plugins): retain existing quarantine across unrelated reloads (#157907)
  fix(openai): prioritize ChatGPT sign-in and clarify auth choices (#157792)
  chore(ui): refresh control ui locales (#157955)
  fix(ui): refresh connected accounts after auth changes (#157950)
  fix(scripts): avoid redundant npm version process in package checks (#157809)
  refactor(usage): capture hosted pricing once per operation (#157838)
  refactor(ui): share slash-command failure results (#157649)
  fix(cron): announce runs miss the channel's formatting rules (#157877)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
…penclaw#157622)

* perf(sessions): reuse current participants across transcript appends

Borrow detached participant projections at the entry owner's native revision
and publish transcript identity from the normalized write result. Prepare the
existing generation query once per connection to keep freshness checks cheap.

Synthetic warm appends: seven participant SELECTs to zero; new actors retain
one projection refresh. Median CPU improves 12% with one participant and 37%
with 32. No schema, configuration, or update behavior changes.

Follow-up to openclaw#157582. Testbox: 92 focused tests, all changed-check stages,
and independent review pass.

* perf(sessions): share participant cache state without an import cycle

Move the sole entry-cache WeakMap and native-revision participant lender into
a shared state module. The writer and projection keep the same state and
algorithm without importing each other.

Fixes the architecture and guard failures on the initial PR head. Testbox
architecture checks, all 92 focused tests, complete changed-file checks,
and independent review pass.

* fix(sessions): break participant cache import cycle

Move SessionEntryCacheDatabase unchanged to the existing entry-cache types
leaf and update every importer without retaining a projection re-export.
This removes the type-only cache-state -> cache-projection edge counted by
Madge while preserving the participant cache owner and runtime behavior.
Import OpenClawAgentDatabase from its declaring database contract so the
leaf does not gain a dependency on the database runtime barrel.

Baseline: check:madge-import-cycles reproduced the three-module cycle.
Validation on blacksmith-testbox, profile openclaw-check,
lease tbx_01m3be4cqwcx9nb4mxqzc9v541:
- pnpm check:madge-import-cycles: zero cycles (41.7s).
- pnpm check:import-cycles: zero runtime value cycles (12.3s).
- node scripts/run-vitest.mjs: 268 passed across 19 focused files,
  including both participant suites (196.7s remote command).
- node scripts/check-changed.mjs --base
  dda1f68: passed (27m22s), including
  core and all 25 dependent test type graphs, lint and remaining guards.
- Independent Codex review: no actionable P0-P2 findings.

No runtime, schema, configuration or update behavior changes.

* fix(agents): publish collector cancellation before launch cleanup

Queued collector startup failure could delete its provisional session before
Stop published cancellation, returning a misleading session-generation error.
Retain an exact-entry publication barrier in the existing retirement owner.
Failed-launch cleanup waits for publication to finish, including failure,
before the scheduler hold can await that cleanup. Existing generation,
session, successor, FIFO and current-authority checks remain intact.

Extend the existing real sessions.abort regression with a deterministic
publication boundary: original code deletes the session before publication;
the fix passes both exact modes and five cleanup/publication siblings.
No additional Gateway boot, timers or test cases. Changed case 2.372s,
file 21.11s Vitest; seven selected cases 42.998s wrapper wall. Core types,
25 changed-test type graphs, scoped lint/format and independent review pass.
The unchanged local baseline did not reproduce the timing-dependent CI
failure; deterministic ordering proof establishes the repaired invariant.

Repairs the queued-collector failure observed in main CI36090933962.
Release note: Stop reliably reports cancellation when a queued collector
has not yet reached native acceptance, while preserving cleanup ownership.

(cherry picked from commit f5159c6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling gateway Gateway runtime merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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