Skip to content

fix: avoid Gateway pauses during host discovery - #149792

Merged
steipete merged 1 commit into
mainfrom
steipete/perf-gateway-needless-spawns-20260916
Sep 16, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/perf-gateway-needless-spawns-20260916

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Large Linux Gateway processes incur avoidable main-thread pauses when disk and binary discovery fork utility processes.

User Impact

Host disk snapshots and covered binary checks avoid those forks while preserving their reported values and fallback behavior. No configuration or migration is required.

Why This Change Was Made

Disk capacity sampling uses statfs, and binary discovery reuses the filesystem PATH resolver. The disk owner retains local-volume filtering, mount identity checks, partial results, and response deadlines. Native filesystem work runs serially and remains tracked after a timeout so refreshes cannot fill the shared I/O pool. If a native request stays blocked, disk discovery becomes unavailable after the normal cached response expires until that request settles.

The PATH owner preserves POSIX symlink/parent traversal and existing Windows lookup semantics. Native macOS/Windows mount enumeration remains necessary. The GitHub launch wrapper still resolves credentials only inside the child, preserving its environment-only secret boundary.

Evidence

  • Regression-first proof: original disk sampling and covered binary/Bash/Tailscale lookups failed the new spawn-count assertions; the replacements pass.
  • Targeted owner/sibling suite: 10 files passed. The final disk/Gateway recheck passed all 29 tests; the unchanged GitHub launcher and credential suites passed 11 tests, including Node and Bun.
  • Independent Codex review: clean through P2 after resolving mount visibility, Btrfs identity, and native-I/O deadline findings.
  • node scripts/check-changed.mjs and git diff --check passed. Hosted CI is tracked against the exact PR head.

The regression fixtures cover zero probe spawns, df byte-value parity, real which comparisons, disappearing and stacked mounts, Btrfs subvolumes, blocked filesystem requests, PATH changes, and Windows suffix lookup. The existing GitHub launcher/credential tests exercise Node and Bun with synthetic credentials.

A native macOS check matched df capacity for both sampled volumes and matched or bracketed available space while the filesystem changed. Linux filesystem edge cases and Windows lookup behavior have fixture coverage; no new production CPU profile or native Windows proof was collected.

Read disk capacities in-process and reuse filesystem PATH lookup for
binary, Tailscale, and Bash discovery to avoid forks from large Gateways.

Keep mount visibility, partial results, and response deadlines in the disk
sampler. Bound native work across timeouts and preserve executable lookup
semantics and the existing GitHub credential launch boundary.
@clawsweeper

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

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime agents Agent runtime and tooling size: L maintainer Maintainer-authored PR labels Sep 16, 2026
@steipete
steipete marked this pull request as ready for review September 16, 2026 06:12
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. 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 16, 2026
@clawsweeper

clawsweeper Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 16, 2026, 2:26 AM ET / 06:26 UTC.

ClawSweeper review

What this changes

The PR replaces utility-process disk sampling and binary discovery with filesystem lookups while retaining disk filtering, cached snapshots, and discovery fallbacks.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 4 items remain

This remains useful work that current main has not replaced, but the new synchronous PATH scans introduce an availability regression that prevents approval.

Priority: P2
Reviewed head: 5287bced10d5c046deafa5168e12fc5060f9c94b

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The disk lifecycle and lookup regressions have useful coverage, but synchronous discovery leaves an actionable availability defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied maintainer classification exempts this internal discovery change from the external-contributor proof gate. Reported native macOS sampling supports disk-value parity, while fixtures do not establish responsiveness on a blocked PATH filesystem.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied maintainer classification exempts this internal discovery change from the external-contributor proof gate. Reported native macOS sampling supports disk-value parity, while fixtures do not establish responsiveness on a blocked PATH filesystem.
Evidence reviewed 10 items Introduced changes survive the test merge: The verified test merge retains the replacement of asynchronous utility probes with resolveExecutableFromPathEnv in both binary detection and Tailscale discovery. This concern is introduced by the PR, not inferred from endpoint drift.
Blocking filesystem work enters asynchronous discovery: The shared resolver calls statSync and accessSync for PATH candidates. Both newly migrated asynchronous discovery callers disable its cache. A blocked filesystem lookup therefore blocks the calling JavaScript thread rather than remaining in the utility child.
Gateway-reachable Tailscale discovery: readTailscaleWhoisIdentity reaches getTailscaleBinary and findTailscaleBinary on an uncached lookup; Gateway HTTP ingress supplies that identity reader. The newly synchronous scan can consequently stall a running Gateway, not only a standalone setup command.
Findings 1 actionable finding [P2] [P2] Keep asynchronous PATH discovery off the calling thread
Security None None.

How this fits together

Host discovery supplies disk statistics to the Gateway Host card and locates executables for setup and Tailscale integration. Its filesystem and process operations run within the Gateway or CLI process.

flowchart TD
  A[Host information requests] --> B[Disk snapshot owner]
  C[Mount table and filesystem statistics] --> B
  B --> D[Gateway Host card]
  E[Setup and Tailscale requests] --> F[Executable lookup owner]
  G[PATH and filesystem entries] --> F
  F --> H[Executable availability and selection]
Loading

Before merge

  • [P2] Keep asynchronous PATH discovery off the calling thread (P2) - With an unresponsive NFS/FUSE mount or network-backed directory before the target in PATH, this call enters statSync/accessSync inside resolveExecutableFromPathEnv and blocks the JavaScript thread without a deadline. Previously bare-name detection performed that scan in a utility child with a 2-second timeout. The same replacement in findTailscaleBinary is reachable from Gateway Tailscale identity lookup, so it can stall unrelated requests. Preserve nonblocking, bounded filesystem probing for these asynchronous callers; disabling the cache also makes every detection repeat the blocking scan.
  • Resolve merge risk (P1) - A slow or blocked filesystem in PATH can now stall Gateway work during binary discovery; the duration and affected-host frequency are unmeasured.
  • Resolve merge risk (P1) - The supplied validation does not include before/after elapsed-time and RSS measurements required by the scoped agent performance guidance.
  • Complete next step (P2) - Repair the blocking PATH scans in asynchronous discovery and add responsiveness evidence plus the scoped before/after timing and RSS measurements.

Findings

  • [P2] [P2] Keep asynchronous PATH discovery off the calling thread — src/infra/detect-binary.ts:38-40
Agent review details

Security

None.

PR surface

Source +128, Tests +395, Docs 0. Total +523 across 12 files.

View PR surface stats
Area Files Added Removed Net
Source 5 214 86 +128
Tests 6 460 65 +395
Docs 1 1 1 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 12 675 152 +523

Review metrics

Metric Value Why it matters
Production versus test growth Production +128 net lines; tests +395 net lines Production growth primarily implements mount identity, visibility, and bounded native-I/O lifetime, which the PR explicitly justifies.

Merge-risk options

Maintainer options:

  1. Preserve nonblocking binary discovery (recommended)
    Repair the asynchronous lookup callers so a blocked PATH filesystem cannot freeze the Gateway or accumulate timed-out native requests.

Technical review

Best possible solution:

Keep filesystem-based discovery, but give asynchronous callers bounded nonblocking probes through the existing lookup owner, preserving lookup semantics and tracking native work through timeout.

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

Yes, from source: put a blocked filesystem before the executable in PATH and invoke bare-name detection or uncached Tailscale discovery; statSync blocks the calling thread. This review did not execute that fault scenario.

Is this the best way to solve the issue?

Not yet: reusing filesystem lookup removes forks, but moving asynchronous discovery onto synchronous filesystem calls trades short fork pauses for potentially unbounded stalls.

Full review comments:

  • [P2] [P2] Keep asynchronous PATH discovery off the calling thread — src/infra/detect-binary.ts:38-40
    With an unresponsive NFS/FUSE mount or network-backed directory before the target in PATH, this call enters statSync/accessSync inside resolveExecutableFromPathEnv and blocks the JavaScript thread without a deadline. Previously bare-name detection performed that scan in a utility child with a 2-second timeout. The same replacement in findTailscaleBinary is reachable from Gateway Tailscale identity lookup, so it can stall unrelated requests. Preserve nonblocking, bounded filesystem probing for these asynchronous callers; disabling the cache also makes every detection repeat the blocking scan.
    Confidence: 0.94

Overall correctness: patch is incorrect
Overall confidence: 0.92

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This is a useful host-discovery optimization with a bounded repair and no evidence of an ongoing widespread outage.
  • add merge-risk: 🚨 availability: Replacing asynchronous PATH probes with synchronous filesystem calls can freeze the Gateway on an unresponsive PATH entry.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The supplied maintainer classification exempts this internal discovery change from the external-contributor proof gate. Reported native macOS sampling supports disk-value parity, while fixtures do not establish responsiveness on a blocked PATH filesystem.

Label justifications:

  • P2: This is a useful host-discovery optimization with a bounded repair and no evidence of an ongoing widespread outage.
  • merge-risk: 🚨 availability: Replacing asynchronous PATH probes with synchronous filesystem calls can freeze the Gateway on an unresponsive PATH entry.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The supplied maintainer classification exempts this internal discovery change from the external-contributor proof gate. Reported native macOS sampling supports disk-value parity, while fixtures do not establish responsiveness on a blocked PATH filesystem.

Evidence

What I checked:

  • Introduced changes survive the test merge: The verified test merge retains the replacement of asynchronous utility probes with resolveExecutableFromPathEnv in both binary detection and Tailscale discovery. This concern is introduced by the PR, not inferred from endpoint drift. (src/infra/detect-binary.ts:39, 55d59bdc34ad)
  • Blocking filesystem work enters asynchronous discovery: The shared resolver calls statSync and accessSync for PATH candidates. Both newly migrated asynchronous discovery callers disable its cache. A blocked filesystem lookup therefore blocks the calling JavaScript thread rather than remaining in the utility child. (src/infra/executable-path.ts:67, 5287bced10d5)
  • Gateway-reachable Tailscale discovery: readTailscaleWhoisIdentity reaches getTailscaleBinary and findTailscaleBinary on an uncached lookup; Gateway HTTP ingress supplies that identity reader. The newly synchronous scan can consequently stall a running Gateway, not only a standalone setup command. (src/infra/tailscale.ts:86, 5287bced10d5)
  • Disk lifecycle and regression coverage: The disk owner serializes native requests, retains outstanding work after response timeout, and checks mount membership before publishing results. Reviewed tests cover partial results, blocked requests, recovery, stacked mounts, Btrfs identity, and system.info fallback; they were not executed during this read-only review. (src/infra/system-disks.test.ts:284, 5287bced10d5)
  • Timeout dependency contract: The patch directly imports withTimeout from @openclaw/fs-safe/advanced, establishing the dependency signal. Version 0.11.0 implements a timer race without cancelling the underlying promise, consistent with retaining pendingCollection until native work settles. Repository ownership was verified through its package metadata; the release tag resolves to the cited commit. (src/timing.ts:31, 5209566a355f)
  • Filesystem statistics runtime compatibility: The Node filesystem API is directly used by the patch. Official documentation places statfs.frsize at Node 24.16.0, matching the repository's Node floor; its presence is therefore not a supported-Node compatibility defect. See https://nodejs.org/docs/latest-v24.x/api/fs.html#statfsfrsize.

Likely related people:

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

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Repair asynchronous PATH discovery and verify that a blocked filesystem leaves the event loop responsive while native work remains bounded.
  • Record before/after elapsed time and RSS for the affected performance path, as required by the scoped agent guidance.

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.

@steipete
steipete merged commit 880876b into main Sep 16, 2026
265 checks passed
@steipete
steipete deleted the steipete/perf-gateway-needless-spawns-20260916 branch September 16, 2026 06:46
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
Read disk capacities in-process and reuse filesystem PATH lookup for
binary, Tailscale, and Bash discovery to avoid forks from large Gateways.

Keep mount visibility, partial results, and response deadlines in the disk
sampler. Bound native work across timeouts and preserve executable lookup
semantics and the existing GitHub credential launch boundary.
steipete added a commit that referenced this pull request Oct 13, 2026
Share existing config-path and retired-media traversal owners. Remove speculative
rollback, retry, reentry, and diagnostic freshness machinery while preserving
security effect checks, ordinary cleanup settlement, resource bounds, and public
config, CLI, protocol, and persisted-data shapes. Phase E is untouched.

Production delta: 335 net lines removed (+97/-432) across 16 old files.
Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests
in 4 files. Independent scoped review found no actionable P0-P2 findings.
Published as a branch only under the campaign's below-500 rule, not a PR.

Best-effort tradeoffs accepted

- Overlapping failed env publications may require reload/restart instead of ordered compensation; #105289/#103736 document synthetic harness proof, not a human actual-use report.
- Failed in-process restart preparation/emission requires explicit config reapply or manual restart; #105289/#160375 describe synthetic timing, not a transient transport failure.
- A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; #149792 uses forced mount fixtures, without a human incident.
- CLI provider cleanup is attempted once; #113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure.
- Requested-head CI details are a snapshot until refresh; #148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs.
- A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; #92175/#89456 are synthetic trust-harness work, and every trust check remains.
- Model normalizers must not reenter the same resolver; #156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain.
- Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; #109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding.
- A delayed update verification reply may repeat a terminal broadcast or briefly show old status; #160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain.
- A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; #112338/#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains.
- Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; #113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain.
steipete added a commit that referenced this pull request Oct 13, 2026
…#170826)

* refactor: simplify older agent and channel execution paths

Consolidate duplicate payload and metadata projections under their existing owners. Simplify internal bookkeeping and bounded cache invalidation while retaining public SDK contracts, security-effect authority, ordinary concurrency, and durable user state.

* refactor: retain branch cache pending complete old-code cutover

Withdraw the branch-cache cluster because completing its unused-export cleanup requires an infra owner touched this week. Preserve the original cache, regression assertions, and docs. The remaining old-code lane removes 424 net production lines and is branch-only under the campaign BELOW-500 rule.

* refactor: simplify old gateway, config, and CLI bookkeeping

Share existing config-path and retired-media traversal owners. Remove speculative
rollback, retry, reentry, and diagnostic freshness machinery while preserving
security effect checks, ordinary cleanup settlement, resource bounds, and public
config, CLI, protocol, and persisted-data shapes. Phase E is untouched.

Production delta: 335 net lines removed (+97/-432) across 16 old files.
Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests
in 4 files. Independent scoped review found no actionable P0-P2 findings.
Published as a branch only under the campaign's below-500 rule, not a PR.

Best-effort tradeoffs accepted

- Overlapping failed env publications may require reload/restart instead of ordered compensation; #105289/#103736 document synthetic harness proof, not a human actual-use report.
- Failed in-process restart preparation/emission requires explicit config reapply or manual restart; #105289/#160375 describe synthetic timing, not a transient transport failure.
- A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; #149792 uses forced mount fixtures, without a human incident.
- CLI provider cleanup is attempted once; #113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure.
- Requested-head CI details are a snapshot until refresh; #148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs.
- A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; #92175/#89456 are synthetic trust-harness work, and every trust check remains.
- Model normalizers must not reenter the same resolver; #156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain.
- Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; #109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding.
- A delayed update verification reply may repeat a terminal broadcast or briefly show old status; #160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain.
- A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; #112338/#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains.
- Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; #113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain.

* refactor: defer pricing cache cleanup touched on main

Withdraw the usage-format production and paired test changes after main landed afc559c, keeping the hard seven-day old-code exclusion. Both files match the pre-campaign base, so main retains its interrupted-stream usage repair. The remaining reviewed o05/o06 union removes 713 net production lines across 42 files.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…openclaw#170826)

* refactor: simplify older agent and channel execution paths

Consolidate duplicate payload and metadata projections under their existing owners. Simplify internal bookkeeping and bounded cache invalidation while retaining public SDK contracts, security-effect authority, ordinary concurrency, and durable user state.

* refactor: retain branch cache pending complete old-code cutover

Withdraw the branch-cache cluster because completing its unused-export cleanup requires an infra owner touched this week. Preserve the original cache, regression assertions, and docs. The remaining old-code lane removes 424 net production lines and is branch-only under the campaign BELOW-500 rule.

* refactor: simplify old gateway, config, and CLI bookkeeping

Share existing config-path and retired-media traversal owners. Remove speculative
rollback, retry, reentry, and diagnostic freshness machinery while preserving
security effect checks, ordinary cleanup settlement, resource bounds, and public
config, CLI, protocol, and persisted-data shapes. Phase E is untouched.

Production delta: 335 net lines removed (+97/-432) across 16 old files.
Focused proof: 311 tests in 25 files; final embedding/shutdown proof: 91 tests
in 4 files. Independent scoped review found no actionable P0-P2 findings.
Published as a branch only under the campaign's below-500 rule, not a PR.

Best-effort tradeoffs accepted

- Overlapping failed env publications may require reload/restart instead of ordered compensation; openclaw#105289/openclaw#103736 document synthetic harness proof, not a human actual-use report.
- Failed in-process restart preparation/emission requires explicit config reapply or manual restart; openclaw#105289/openclaw#160375 describe synthetic timing, not a transient transport failure.
- A mount changed during sampling may briefly be attributed to its parent filesystem until the next snapshot; openclaw#149792 uses forced mount fixtures, without a human incident.
- CLI provider cleanup is attempted once; openclaw#113471's blocked-close fixtures do not establish a transient failed-close incident, and the CLI exits on cleanup failure.
- Requested-head CI details are a snapshot until refresh; openclaw#148464's synthetic push/rerun interleavings do not justify rereading the head and check inventory after fetching jobs.
- A malformed catalog resolver may repeat rejection until the existing 16-fallback bound instead of an earlier identity bailout; openclaw#92175/openclaw#89456 are synthetic trust-harness work, and every trust check remains.
- Model normalizers must not reenter the same resolver; openclaw#156076's callback reentry is synthetic. Measured lookup caches and ordinary callback errors/order remain.
- Offline plugin-state imports assume no unsupported same-destination writer after capacity preflight; openclaw#109679's ordinary near-capacity import remains fixed, while concurrent eviction compensation came from synthetic sibling seeding.
- A delayed update verification reply may repeat a terminal broadcast or briefly show old status; openclaw#160592 supplies synthetic ordering proof, while durable effect idempotency, FIFO, repair authority, and shutdown joining remain.
- A malformed reply from the fixed inline CA worker may fail instead of using a dedicated invalid-result fallback; openclaw#112338/openclaw#112336 do not report a human malformed-message incident. Timeout/error/exit handling remains.
- Failed Gateway embedding cleanup blocks only its agent/provider scope until restart instead of retaining provider objects and retrying close; openclaw#113471 documents synthetic blocked-close proof, not a human failed-close incident. Local FIFO cleanup, remote concurrency, abort handling, authority, and normal shutdown settlement remain.

* refactor: defer pricing cache cleanup touched on main

Withdraw the usage-format production and paired test changes after main landed 7a00a9f, keeping the hard seven-day old-code exclusion. Both files match the pre-campaign base, so main retains its interrupted-stream usage repair. The remaining reviewed o05/o06 union removes 713 net production lines across 42 files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: L status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant