Skip to content

chore(deps): update fs-safe to 0.25.0 - #167476

Merged
steipete merged 3 commits into
mainfrom
codex/fs-safe-0.25.0-20261008
Oct 9, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/fs-safe-0.25.0-20261008

Conversation

@steipete

@steipete steipete commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Plugin loading spends too long capturing dependency files, and SSH workspace seeding fails on Linux volumes that reject RENAME_NOREPLACE.

Closes #167231. Related: #167033 (left open for appliance-specific confirmation).

User Impact

Consumes the filesystem performance, guest-publication, lock-release, and temporary-directory diagnostic improvements in fs-safe 0.25.0. The installed-OTEL full-flow case passes in 110.859 seconds against its unchanged 180-second deadline. SSH sandbox workspace seeding now succeeds under a selective Linux no-replace-rename failure.

The guest directory fallback preserves targets present at its absence check and refuses nonempty directory/file competitors. An empty directory created after that check can be replaced; this is the upstream documented fallback contract.

Why This Change Was Made

Update all 13 direct pins, regenerate the seven native package locks and npm lock mirrors, and rotate the eight reviewed-release exceptions with a removal date. The regenerated lockfile changes only the fs-safe family; platform constraints and the independent transitive 0.12.0 family remain intact.

Release notes: 0.25.0 changelog.

Evidence

  • All eight 0.25.0 npm packages verified published.
  • Frozen dependency installation, direct-pin guard, and all 104 generated npm lock mirrors passed.
  • Semantic lock comparison: only 13 importers, eight package entries, and eight snapshots changed; no unrelated dependency changes.
  • Independent full-candidate review passed at P0–P2. Targeted lifecycle, sandbox, lock, temp, and OAuth migration suites passed 173 tests. All pnpm tsgo:all lanes, targeted lint, docs formatting/link audit, and git diff --check passed. The controlled installed-OTEL comparison and explicit child-process profiles passed on both versions. All 19 focused Linux plugin suites passed (444 tests; conditional APFS and Bun cases skipped).
Area Audit / remaining proof
Plugin captures (#878/#849) The unchanged installed-OTEL full-flow case passes in 110.859 s, 69.141 s below its 180 s deadline. No batch adoption is needed on that evidence. Existing source pins/identity binding, destination-FD hashing, receipts, bounds, aliases and modes remain unchanged. The same-runner 0.24.2 baseline took 136.232 s: a 25.373 s (18.6%) reduction in this controlled comparison. Explicit child-process profiling measured 6.777321 s → 4.152030 s of inclusive sampled copy time in a representative runtime-inspection process (38.7% lower).
SSH guest publication (#876) Backend already consumes the guest fragment. Updated native-only docs/error text and repaired two upstream-comment-based race injection anchors. Real backend/session/tar-upload seeding passes under selective seccomp EINVAL on 0.25.0; the same environment reproduces the failure with 0.24.2. Existing targets, no-reseed behavior and staging cleanup passed.
Lock release (#879) No redundant moved-root cleanup workaround found. Keep independent contention, stale-reclaim, and unsettled-writer safeguards. Native replacement ownership and portable unlink-denial fixtures passed; native tests retain real native release.
Temp diagnostics (#877) No ownership-policy relaxation. Leave #167033 open pending the appliance's newly identified rejected path and reporter confirmation.
Guest moves (#869) Admitted modes are now preserved on cross-device file copies; no caller adaptation identified.
Receipts/atomic/archive fixes (#868/#851/#852) Authorization callbacks assert authority/identity rather than mutating sources; no old restoration-error matcher or mutable read-limit owner was found. No caller adaptation.
Scoped tilde names (#856) No affected first-party scoped file/existing-path lookup relies on expanding a literal ~ entry. No caller adaptation.
Watch and internal performance (#858/#870/#871/#857/#864/#860/#859) Watch owners already handle scope invalidation. Walk/mode/guard/watch preparation and bounded diagnostics changes preserve the caller contracts. No adaptation.

Historical retained observations reported by fs-safe #878: 119.383 s passing before capture migration; 252.762 s afterward, exceeding the unchanged 180 s limit; copyRootFileSync attributed 20.428 s per load. These are historical observations, not current candidate results. Fresh measurements below use the canonical current test on the same Linux Blacksmith Testbox (effective CPU count was not captured for that timing lease); the historical hardware/trace artifacts were unavailable, so these are not a claim of identical historical hardware.

Thanks @valkyriweb and @joequant for the filesystem reports.

Plugin-load measurement

Command: CI=1 OPENCLAW_VITEST_MAX_WORKERS=1 OPENCLAW_VITEST_NO_OUTPUT_TIMEOUT_MS=900000 node scripts/run-vitest.mjs run --config test/vitest/vitest.e2e.config.ts test/e2e/qa-lab/runtime/diagnostics-otel-install-runtime.e2e.test.ts -t 'installs the exact package and exports with config precedence, sampling, and flush' --maxWorkers=1. The test deadline remains 180,000 ms; the no-output process watchdog covers cold build/setup and does not change that test deadline.

Version / run Test body Whole command Result
0.25.0, uninstrumented 110.859 s 529.44 s Pass; whole command includes cold private-QA build/setup
0.24.2, uninstrumented baseline 136.232 s 456.90 s Pass; separate frozen install and its own cold QA build/setup

Provider: blacksmith-testbox, lease tbx_01m4etdgdckmyy37bexy0v135v, runner, Linux x64, Node 24.19.0, pnpm 12.5.1. Candidate is 5f671e5063f82e502c49cc93ce4436e4805777a0; baseline is its pre-bump main ancestor e09e5ddfa52cfeac2ff7a77a5c419bf43d64cf77, installed separately.

Copy-path attribution

A separate diagnostic fixture retained the same assertions and 180-second deadline and passed profiling flags explicitly through the child command. The hermetic test environment still removes ambient NODE_OPTIONS. On blacksmith-testbox lease tbx_01m4ex15p7m3dr54asbxscbdbn (runner), nproc and affinity verified four available CPUs; Node 24.19.0 and pnpm 12.5.1 matched across versions.

Inclusive sampled copyRootFileSync time 0.24.2 0.25.0
Representative plugins inspect diagnostics-otel --runtime --json process 6.777321 s 4.152030 s
Nested copy-path assertCurrent in that process 4.704513 s 1.914730 s
Aggregate across all four profiled processes 48.629338 s 28.295191 s

The aggregate is not per-load time. Metadata bound the inspection profiles to their actual command/PID and copy frames to capturePluginGenerationArtifact. The parser covers both the old copy-root-file-sync.js and new copy-path-admission.js check layouts. Paired raw-profile hashes and metrics were independently verified. Both performance leases are stopped. Both profiling cases passed: 123.713 s on 0.24.2 and 102.420 s on 0.25.0. Uninstrumented timings above remain the performance comparison.

SSH sandbox reproduction

Provider: blacksmith-testbox, lease tbx_01m4es8wdpr4ek0dcsh61whpqp, runner, Linux x64, Node 24.19.0, pnpm 12.5.1. Lease stopped.

A compiled seccomp filter returned EINVAL only for renameat2(RENAME_NOREPLACE). An independent probe confirmed ordinary rename, flags-zero renameat2 and link/unlink remained allowed. The actual RemoteShellSandboxBackend.runShellCommand path exercised workspace initialization, the real session and tar upload, and guest publication through a local-shell transport. This simulates the reported syscall failure; it is not a new real-runsc claim.

fs-safe No-filter control Selective EINVAL
0.24.2 Pass Reproduced directory hard-link fallback EPERM
0.25.0 Pass Pass

The candidate seeded complete primary and agent workspaces, preserved existing empty/nonempty/file targets, avoided reseeding, and left no staging directories. The tested bump commit 7fc95fc2ad5b4f6a9f6c3c25c4c78a816779c127 differs from the current head only in the documented error wording and consumer fixtures/docs.

CI investigation

Exact head 5f671e5063f82e502c49cc93ce4436e4805777a0, CI run 37852582162, attempt 2 had 158 passing jobs, 18 skipped jobs, two failing shards and the aggregate gate. The single dynamic-tools retry in attempt 3 failed with the same timeout. No admin merge has been attempted or qualified for that failure. The fixture-clock repair below passed its new-head CI bundle.

The first-attempt Telegram join-introduction QA case timed out at 120 s. Its one requested rerun passed unchanged in 118.028 s (job); this is recorded as a transient failure, not a claimed code fix. The exact CI merge 02a3df93bd2dfb83cf0075d3571fae16f71216e5 and its main parent 6ae2aee12eb0641b623e8c34840b47de9cff2022 were compared in isolated frozen installs on Linux/Node 24.19.0, two CPU affinity and two workers (runner, stopped lease tbx_01m4eww7evbvw10avpany0fgc9):

  • Compaction reproduced the same assertion on both versions: 29 passed/1 failed. The expected exact 2147000000 ms ignored enqueue elapsed time; actual values were 2146999999.990242 (0.25.0) and 2146999999.993057 (0.24.2). Main later fixed the assertion in fix(test): compaction worker clamp test fails on main after queue-anchored deadlines #167513 (7e80556f503d26ddde64e274bfb50cbbec7830f5). This failure is proven inherited.
  • The original six-file dynamic-tools group passed 55/55 on both versions. Those passing replays do not qualify its original timeout as inherited. The one targeted CI retry timed out again. Replays with the CI cache conditions also passed, so the original CI cause remains unproven. The bounded clock experiment below exposed and repairs a fixture mechanism; no timeout or assertion has been weakened.

Required-command fixture timing repair

The first dynamic-tool contract test originally started its five-second attempt watchdog on real time, then installed fake timers only after the command began. Slow fixture startup can therefore expire the attempt while the test is still waiting for the mocked command. The neighboring process-poll contract already owns its clock from startup through settlement.

The repair owns Date, setTimeout, and clearTimeout before starting the attempt, keeps that clock through terminal-result collection, and explicitly configures a 10 ms yield window before advancing 20 ms. It preserves the single-spawn/single-turn, pending-call, complete-result, and successful-terminal assertions. The five-second attempt budget and 120-second test limit are unchanged. Production execution and cancellation behavior are unchanged.

A diagnostic negative control with awaitResults: false returned Command still running and failed the preserved REQUIRED_NATIVE_RESULT assertion. The early pending assertion itself passed because asynchronous projection delivered later. A separate synthetic six-second turn/start reply delay exhausted the old fixture's real five-second attempt deadline and left command.started unresolved until the unchanged 120-second test timeout. With clock ownership, that same injected delay passed. This establishes the fixture mechanism and its repair, not a reproduction or inheritance qualification of the original CI failure. Diagnostic logging and delay injection are not part of the patch.

Independent Codex review of the fixture change is clean at P0–P2; formatting, focused lint, and the extension test typecheck passed. The exact-patch Linux validation passed all 20 standalone full-file runs (six tests each), all three original six-file shards (55 tests each; 94.440/73.435/80.685 s whole commands), and all 101 tests across five owner sibling files. The runner verified file SHA-256 7140e0f8a374d25f1f708617dd608cbf4016993df1738900d932dbb4a8bc0a62, Node 24.21.0, four CPUs, three shard workers, and read-only transform caches. pnpm test extensions/codex/src/app-server/run-attempt.dynamic-tools.test.ts --maxWorkers=1 took 42.383–88.824 s (median 49.125 s) per Linux invocation; the loaded Mac's cold command took 227.15 s, including compilation. This existing integration contract crosses production host capabilities, execution ownership, and dynamic-tool response collection; a helper-only assertion cannot protect that end-to-end pending-result handoff. No new process boots, sleeps, or test timeout increases were added.

Provider: blacksmith-testbox, lease tbx_01m4eyhp6fte1m9werggt5wmz7 (runner). New-head CI run 37865563961 has passed all extension bundles including the repaired dynamic-tool group. The QA restart-recovery test in checks-node-changed-2 timed out at 120 seconds after restart on its first attempt and its one unchanged rerun (retry job); both logs show recovery dispatch aborting after startup-scope shutdown. Android third-party JVM tests independently reached their 20-minute job deadline. The QA failure is now proven inherited by the exact tested-merge/main-parent A/B below. Android passed its one targeted retry. The sole remaining failure is the independently qualified QA case; the matching main/candidate failures are documented below. The merge is verified on upstream main.

Inherited QA failure: same-environment A/B

The unchanged extensions/qa-lab/src/gateway-kill-restart-send.e2e.test.ts fails on both the actual CI main parent and tested merge on one AWS m7a.xlarge lease (cbx_ccb7e7b30b6e, proof run). Both private-QA builds and frozen installs passed. Node 24.19.0, pnpm 12.5.1, two-CPU affinity/two workers, and reported RAM of 16,373,194,752 bytes were held constant. The original 120-second recovery wait and every assertion remain unchanged.

Source fs-safe Full-file outcome
Main parent c9a0c00b8691bda5bd7a38ee494b5edd8ecb9254 0.24.2 Failed, 211.00 s, exit 1
Actual tested merge dfbaea58c5477c4886667bf2cf50a8274d3a2a65 0.25.0 Failed, 211.20 s, exit 1

Both mark one startup orphan, fail all three recovery attempts with AbortError from AsyncWorkScope.beginClose → startupOperations.close, tombstone the recovery, and exhaust the 120,000 ms wait with bus kinds [inbound-message,outbound-message]. The outbound message is the failure notice. This independently qualifies the QA failure as inherited, while leaving its underlying lifetime bug unresolved. The earlier queued lease and an 8 GiB build OOM produced no QA test results and do not contribute to that conclusion.

Android deadline investigation

The original Android JVM task reached its 20-minute CI deadline without an assertion log. Four examined scheduled-main counterparts passed; no inherited failure is claimed. Native source/configuration inputs are unchanged across the baseline and candidate, and all 31 generated protocol, i18n, Mermaid, and Sodium assets match byte-for-byte.

A corrected controlled replay on Blacksmith Testbox (tbx_01m4f4b060xrpg3tzswj87tjc3, run, released) passed 3,689 tests / 278 suites on each version: 292.988 s on main and 296.794 s on the tested merge. Fresh JUnit reports verify actual unit-test execution. No assertions, the warning policy, or the 20-minute budget were relaxed. The first diagnostic observer itself violated Gradle's deprecation policy; that initial command outcome is excluded.

The replay had 15.418 GiB RAM, controlled two-CPU affinity, and warmed variant-owned caches; original CI had 7.654 GiB and its sticky caches. Original runner metrics recorded earlier memory pressure and later low CPU, but no OOM and no retained Java stacks. These facts do not identify the stall. The single targeted retry is job 113638141092, on a GitHub-hosted runner at the unchanged head; it passed unchanged in 13 minutes 34 seconds. That GitHub-hosted retry used one JVM fork versus the original Blacksmith job’s two. No inherited-failure exception is claimed for Android.

Final exact-head CI (run 37865563961, attempt 3): 160 successful jobs, 18 conditional skips, one inherited QA failure and its downstream aggregate; no cancelled jobs. The QA result is carried from its executed attempt-2 retry; it is not a third QA failure. The public A/B evidence supports only that exception. Android's unchanged retry passed on a GitHub-hosted runner. All task-owned proof leases are released. Merged as ca31b89d2217. Upstream main verification confirms all 13 direct pins/importers and seven platform locks at exactly 0.25.0, with no 0.24.2 family entries. The separate transitive 0.12.0 family remains intact.

@clawsweeper

clawsweeper Bot commented Oct 8, 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 added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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 Oct 8, 2026
@clawsweeper

clawsweeper Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Updates fs-safe to 0.25.0 across OpenClaw and bundled plugins, adjusts affected test fixtures, and documents Linux workspace publication fallback.

Example: Start an SSH sandbox on a Linux volume that rejects RENAME_NOREPLACE.

  • Before: Workspace publication falls back to hard-linking a directory and fails with EPERM.
  • After: The completed workspace publishes through the directory-rename fallback.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful dependency update with production-path proof, preserved consumer contracts, and no remaining actionable findings.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): Linux proof exercises the production remote-shell backend, real session and tar upload under selective renameat2 EINVAL: 0.24.2 fails and 0.25.0 seeds complete workspaces while preserving observed targets and cleaning stages. The installed plugin-inspection flow records improved capture performance; upstream real gVisor traces independently support the guest fallback. No persisted data format changes require migration.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A new SSH sandbox cannot seed its workspace on affected Linux volumes, and plugin loading spends excessive time capturing dependencies.
Reason: The released dependency repairs an observed sandbox failure and delivers measured capture improvements. Prior area ownership and the written proposal establish acceptance of the bounded fallback.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: current main still uses fs-safe 0.24.2. The earlier findings are resolved, and no actionable patch defect remains; the documented publication tradeoff has owner approval.

Priority: P2
Reviewed head: f5760dbfaa02d3fac8adcbd3d9fd5ab93f3a0a1a

Before merge

None.

Findings

None.

Agent review details

How this fits together

OpenClaw uses fs-safe for guarded filesystem operations, including capturing plugin dependencies and publishing uploaded sandbox workspaces. OpenClaw retains transport and lifecycle authority while the dependency owns filesystem primitives.

flowchart TD
  A[Plugin loading] --> B[Guarded dependency capture]
  C[SSH sandbox startup] --> D[Upload complete workspace]
  B --> E[fs-safe filesystem operations]
  D --> E
  E --> F{Native no-replace rename supported?}
  F -->|Yes| G[Publish workspace]
  F -->|Linux rejection| H[Check target and use bounded fallback]
  H --> G
Loading

Technical review

Best possible solution:

Keep filesystem fixes in fs-safe and consume the released version while preserving OpenClaw's transport, capture integrity, and lifecycle ownership contracts.

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

Yes: current main imports the 0.24.2 guest helper, and the reported selective RENAME_NOREPLACE rejection reaches its directory hard-link failure; contributor and upstream traces establish the before/after path.

Is this the best way to solve the issue?

Yes: updating the shared filesystem owner fixes the guest path without adding a competing OpenClaw fallback, and the consumer adaptations preserve existing behavior tests.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 8a32b5a adds src/agents/sandbox/remote-shell-bootstrap-python.ts:3 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 8a32b5a4b543; files: src/agents/sandbox/remote-shell-bootstrap-python.ts)

PR surface

Source 0, Tests +4, Docs +5, Config 0, Other 0. Total +9 across 21 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 4 35 31 +4
Docs 1 11 6 +5
Config 14 22 22 0
Generated 0 0 0 0
Other 1 57 57 0
Total 21 126 117 +9

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #167231
Summary: This PR consumes the released guest-publication fix for the canonical SSH sandbox report.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Repairs a bounded Linux sandbox publication failure and improves plugin capture performance.
  • merge-risk: 🚨 compatibility: The owner-approved Linux fallback can replace an empty directory raced into the target after its absence check, changing the previous fail-closed contract.
  • 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.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only; repair and merge need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-08T22:32:59.938Z sha 5f671e5 :: needs changes before merge. :: none
  • reviewed 2026-10-08T23:22:07.009Z sha 5f671e5 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-08T23:47:23.900Z sha 5f671e5 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-09T00:10:49.168Z sha 5f671e5 :: needs changes before merge. :: none
  • reviewed 2026-10-09T00:52:04.081Z sha f5760db :: needs changes before merge. :: none
  • reviewed 2026-10-09T01:14:11.669Z sha f5760db :: needs maintainer review before merge. :: none
  • reviewed 2026-10-09T01:22:36.229Z sha f5760db :: needs maintainer review before merge. :: none
  • reviewed 2026-10-09T02:32:32.078Z sha f5760db :: needs maintainer review before merge. :: none

Reviewed October 8, 2026, 10:47 PM ET / October 9, 2026, 02:47 UTC (Revision 10).

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime docker Docker and sandbox tooling agents Agent runtime and tooling size: S and removed size: XS labels Oct 8, 2026
@steipete
steipete marked this pull request as ready for review October 8, 2026 22:17
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependency graph changes

This maintainer PR changes the dependency graph.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

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

These dependency graph changes were made:

  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • extensions/acpx/package.json
  • extensions/codex/package.json
  • extensions/cua-computer/package.json
  • extensions/feishu/package.json
  • extensions/file-transfer/package.json
  • extensions/llama-cpp/package.json
  • extensions/matrix/package.json
  • extensions/memory-core/package.json
  • extensions/migrate-claude/package.json
  • extensions/openshell/package.json
  • extensions/qa-lab/package.json
  • extensions/signal/package.json
  • package.json

Carefully review these changes before merging.

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

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

These security sensitive changes were made:

  • src/agents/sandbox/remote-shell-bootstrap-python.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. 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. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 8, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 9, 2026
@steipete

steipete commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

The remaining gateway-kill-restart-send QA failure is reproduced on the tested main baseline independently of this dependency update.

I ran the unchanged full test file in separate physical worktrees and frozen installs on the same AWS m7a.xlarge lease, with Node 24.19.0, pnpm 12.5.1, two-CPU affinity, two workers, and 16,373,194,752 bytes of reported RAM. Both private-QA builds passed. The test's 120,000 ms recovery wait and assertions were unchanged.

Source fs-safe Full-file result
Main parent c9a0c00b8691bda5bd7a38ee494b5edd8ecb9254 0.24.2 Failed, 211.00 s, exit 1
Actual CI merge dfbaea58c5477c4886667bf2cf50a8274d3a2a65 0.25.0 Failed, 211.20 s, exit 1

Both outputs have the same failure sequence (timestamps and bundled paths normalized; the bracketed line summarizes repetitions):

marked 1 startup-orphaned main session(s) for restart recovery
failed to resume interrupted main session agent:qa:main: AbortError: This operation was aborted
    at AsyncWorkScope.beginClose
    at Object.close (startupOperations.close)
[three recovery attempts, followed by tombstoning]
timed out after 120000ms; final bus-event kinds=[inbound-message,outbound-message]

The sole outbound event is the recovery-failure notice, not a successful resumed reply. This matches the first CI failure and its one unchanged QA rerun (job 113618473743). It establishes inheritance of this failure; it does not claim the underlying recovery bug is fixed.

Each case used:

pnpm install --frozen-lockfile
CI=1 OPENCLAW_BUILD_ALL_NO_PNPM=1 OPENCLAW_BUILD_PRIVATE_QA=1 \
  NODE_OPTIONS=--max-old-space-size=8192 taskset -c 0,1 pnpm build qaRuntime

export CI=1 OPENCLAW_BUILD_ALL_NO_PNPM=1 NODE_OPTIONS=--max-old-space-size=8192
export OPENCLAW_VITEST_MAX_WORKERS=2 OPENCLAW_VITEST_WORKER_CACHE=1
export OPENCLAW_E2E_USE_PREBUILT_DIST=1 OPENCLAW_CI_TEST_RUNTIME_POLICY=bun-compatible
export OPENCLAW_NODE_TEST_TARGETS_JSON='["extensions/qa-lab/src/gateway-kill-restart-send.e2e.test.ts"]'
export OPENCLAW_NODE_TEST_PLAN_CONCURRENCY=1 OPENCLAW_NODE_TEST_PLAN_CONTINUE_ON_FAILURE=1
export OPENCLAW_VITEST_FS_MODULE_CACHE_WRITER=0 OPENCLAW_NODE_COMPILE_CACHE_WRITER=0
export NODE_COMPILE_CACHE_PORTABLE=1
# Each worktree has its own OPENCLAW_VITEST_FS_MODULE_CACHE_ROOT and NODE_COMPILE_CACHE.
taskset -c 0,1 node --import tsx scripts/ci-run-node-test-shard.mts

Provider: aws, lease cbx_ccb7e7b30b6e, proof run. Earlier queue and low-memory build setup failures executed no QA tests and are excluded from this comparison.

Android is separate: both controlled native-test replays passed 3,689 tests with identical generated assets, but they did not reproduce its original 20-minute CI deadline. Its one targeted CI retry is still pending; no inherited-failure exception is claimed for Android. Landing remains through scripts/pr after the remaining checks settle.

@steipete
steipete merged commit ca31b89 into main Oct 9, 2026
640 of 650 checks passed
@steipete
steipete deleted the codex/fs-safe-0.25.0-20261008 branch October 9, 2026 03:20
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 9, 2026
* chore(deps): update fs-safe to 0.25.0

* test: align fs-safe consumers with native publication and release

* test(codex): control required-result contract timing
steipete added a commit that referenced this pull request Oct 9, 2026
The fs-safe 0.25.0 upgrade in ca31b89 (#167476) exposes the Windows service fixture passing a POSIX native binding through Windows ABI calls. The first artifact lock fails with binding.fstatIdentity missing and leaves ownership behind.

Keep real artifact admission, baseline capture, database restoration, and lock cleanup on the actual host while the caller retains its simulated service platform. Preserve all filesystem and rollback behavior; no native-backend disablement or fake success results.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 10, 2026
The fs-safe 0.25.0 upgrade in aecaad3 (openclaw#167476) exposes the Windows service fixture passing a POSIX native binding through Windows ABI calls. The first artifact lock fails with binding.fstatIdentity missing and leaves ownership behind.

Keep real artifact admission, baseline capture, database restoration, and lock cleanup on the actual host while the caller retains its simulated service platform. Preserve all filesystem and rollback behavior; no native-backend disablement or fake success results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: feishu Channel integration: feishu channel: matrix Channel integration: matrix channel: signal Channel integration: signal dependencies-changed PR changes dependency-related files docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: acpx extensions: codex extensions: llama-cpp extensions: memory-core Extension: memory-core extensions: openshell extensions: qa-lab gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. plugin: cua-computer plugin: file-transfer plugin: migrate-claude proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. security-sensitive-changed size: S 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.

ssh sandbox backend: workspace publish fails with EINVAL on gVisor volume mounts (renameat2 RENAME_NOREPLACE)

1 participant