Skip to content

chore(deps): update fs-safe to 0.24.2 - #166457

Merged
steipete merged 1 commit into
mainfrom
chore/fs-safe-0.24.2
Oct 7, 2026
Merged

steipete merged 1 commit into
mainfrom
chore/fs-safe-0.24.2

Conversation

@steipete

@steipete steipete commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Related: #166246

What Problem This Solves

Plugin source capture can fail on Linux when it hashes a native cloned file through a write-only descriptor.

User Impact

Plugin source capture receives readable and writable native clone descriptors. This also consumes the upstream exclusive-publication fallback for Linux filesystems that reject RENAME_NOREPLACE, complementing the existing Doctor capture repair. No configuration or migration is required.

Why This Change Was Made

Update the root package and all 12 bundled-plugin consumers to @openclaw/fs-safe 0.24.2, regenerate the pnpm lockfile, and rotate the eight version-specific install cooldown exceptions. The filesystem fixes remain owned by fs-safe: publication fallback and native clone descriptors.

Thanks @MertBasar0 for the Doctor reproduction.

Evidence

  • Published fs-safe 0.24.2; all eight package tarballs independently matched their published SHA-512 integrities.
  • pnpm install --lockfile-only and pnpm install --frozen-lockfile passed.
  • Dependency pin guard, generated npm lock mirrors, formatting, and git diff --check passed.
  • All 83 focused tests passed across six filesystem, SDK compatibility, and plugin capture suites (596.66 seconds including cold worker builds).
  • Isolated independent review completed with no actionable P0–P2 findings.

Linux syscall fallback proof belongs to the upstream release; local consumer proof runs on macOS arm64, including native APFS cloning. Only dependency metadata changes: stored formats, database schemas, embedding metadata, and migration code are unchanged.

The exact-head CI run finished with one failing test shard and its downstream gate: sessions-history-http.test.ts → returns 404 after initializing a missing configured session store raises Agent database execution admission is closed. The same case, error, and stack reproduce on the exact main baseline f45e4dac14547bdc78d90c95384ca65c2de3ef4e with fs-safe 0.24.1 using pnpm test src/gateway/sessions-history-http.test.ts --maxWorkers=1 -t "returns 404 after initializing a missing configured session store" (1 failed, 19 skipped, 175.75 seconds). The implicated test and admission-owner files are byte-identical in the tested merge. This qualifies for the native inherited-failure landing exception; CI is not being reported as green. All other jobs passed or skipped, with no cancellations.

@clawsweeper

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

@github-actions

github-actions Bot commented Oct 7, 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: 9c28870f27bb182892599073e28bd03c7b85f837
  • 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.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. labels Oct 7, 2026
@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 7, 2026, 1:59 AM ET / 05:59 UTC (Revision 4).

ClawSweeper review

What this changes

Updates OpenClaw and its bundled plugins to fs-safe 0.24.2 to repair native cloned-file access and unsupported Linux exclusive publication.

Merge readiness

⛔ Blocked before merge - 1 item remains

The dependency update remains useful: current main still pins fs-safe 0.24.1. No actionable patch defect was found, and the previous migration-proof blocker is unsupported because no stored-data contract changes. The documented inherited CI failure belongs to the native landing workflow.

Priority: P2
Reviewed head: 9c28870f27bb182892599073e28bd03c7b85f837

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, consistent dependency update with verified upstream repairs, published integrity metadata, and no actionable correctness findings.
Proof confidence 🌊 off-meta tidepool Not applicable: The trusted-author contributor-proof exemption applies. Upstream records successful fixed Linux/Btrfs execution through OpenClaw's unchanged plugin-capture consumer, while this PR reports macOS/APFS consumer validation. No stored-data contract changes, so migration proof is not applicable.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The trusted-author contributor-proof exemption applies. Upstream records successful fixed Linux/Btrfs execution through OpenClaw's unchanged plugin-capture consumer, while this PR reports macOS/APFS consumer validation. No stored-data contract changes, so migration proof is not applicable.
Evidence reviewed 10 items Pinned introduced patch: The complete merge-base-to-head diff changes only fs-safe version pins, corresponding native-package lock entries and integrities, and eight version-specific cooldown exceptions. It introduces no application code, schema, serialized format, configuration option, or install lifecycle hook.
Actual dependency consumer: copyPluginSourceFile imports copyRootFileSync from fs-safe, requests native cloning, and immediately hashes the returned descriptor. This establishes the direct dependency contract behind the reported EBADF repair; no Codex harness behavior changes.
Merged native descriptor repair and real execution evidence: openclaw/fs-safe#844 is merged. Its reviewed native patch changes Linux destination descriptors to read/write and retains macOS security-receipt verification during descriptor handoff. The PR records failing published-0.24.1 Linux/Btrfs runs and successful fixed Node/Bun runs through the unmodified OpenClaw plugin-source capture consumer, including matching hashes and unchanged source contents.
Findings None None.
Security None None.

How this fits together

OpenClaw uses fs-safe to copy plugin source files and publish recovery captures without overwriting existing files. Its native filesystem helpers supply descriptors and identity checks that OpenClaw uses to hash and verify those copies.

flowchart TD
  A[Plugin source files] --> B[Safe native copy]
  B --> C[Readable cloned descriptor]
  C --> D[Hash and verify plugin capture]
  E[Recovery capture files] --> F[Exclusive publication]
  F --> G[Published recovery capture]
Loading

Before merge

  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Config 0, Other 0. Total 0 across 15 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 14 22 22 0
Generated 0 0 0 0
Other 1 57 57 0
Total 15 79 79 0

Review metrics

None.

Stored data model

Persistent data-model change detected: serialized state: extensions/matrix/package.json, vector/embedding metadata: extensions/memory-core/package.json. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Consume the published filesystem repairs through the existing fs-safe owner while retaining current capture formats and strict identity checks.

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

Yes: OpenClaw immediately reads the native clone descriptor, and upstream documents published-0.24.1 Linux/Btrfs failures through that same consumer. This read-only review did not execute target code.

Is this the best way to solve the issue?

Yes: updating the authoritative filesystem dependency repairs the descriptor contract without duplicating native logic in OpenClaw; the complete patch introduces no migration requirement.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This bounded dependency repair addresses native plugin-capture failures on affected filesystems without changing configuration or stored formats.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The trusted-author contributor-proof exemption applies. Upstream records successful fixed Linux/Btrfs execution through OpenClaw's unchanged plugin-capture consumer, while this PR reports macOS/APFS consumer validation. No stored-data contract changes, so migration proof is not applicable.

Evidence

What I checked:

Likely related people:

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

Rating scale

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

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

Workflow

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

History

Review history (3 earlier review cycles)
  • reviewed 2026-10-07T05:19:00.641Z sha 9c28870 :: blocked before merge. :: none
  • reviewed 2026-10-07T05:24:45.679Z sha 9c28870 :: blocked before merge. :: none
  • reviewed 2026-10-07T05:43:28.688Z sha 9c28870 :: blocked before merge. :: none

@steipete

steipete commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

The generated data-model checklist does not apply to this dependency-only patch. The changes under extensions/matrix/package.json and extensions/memory-core/package.json replace only the fs-safe version string. They do not alter serialized state, database schemas, embedding metadata, migration code, or capture formats. The completed review also explicitly confirms that no stored-data contract changes and no actionable correctness findings were identified.

The existing 83 consumer tests passed, including SDK filesystem compatibility and plugin source capture/admission with native APFS cloning. This is sufficient consumer coverage for the metadata update; migration proof would exercise an unchanged contract.

@steipete
steipete merged commit 5d4484b into main Oct 7, 2026
318 of 332 checks passed
@steipete
steipete deleted the chore/fs-safe-0.24.2 branch October 7, 2026 06:10
@steipete

steipete commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

MarMarLabs added a commit to MarMarLabs/openclaw that referenced this pull request Oct 7, 2026
214 upstream commits. On the Feishu side, openclaw#166610 moves the streaming
preview queue into a new streaming-update.ts helper, openclaw#166427 replaces a
local JSON parse helper in dedupe-key.ts with the SDK's safeParseJson
and drops an unused import in monitor.transport.ts, and openclaw#166457 updates
fs-safe to 0.24.2 in extensions/feishu/package.json.

extensions/feishu/src/reply-dispatcher.ts conflicted only on the
imports: openclaw#166610 added queueFeishuStreamingUpdate next to this branch's
createFeishuTableRouting import. The merge keeps both. The rest of
openclaw#166610 merged on its own, and the streaming path still hands the table-
routed text to the new helper.

No upstream change touches a config schema, so the generated files were
regenerated from this merge and came out identical to the previous
branch head. build:docker ran in a separate detached checkout of this
commit. Counts are core 2494, channel 3876 and plugin 4524. The core and
plugin hashes match upstream/main. The generated metadata differs from
upstream/main only by the two Feishu markdown.tables entries. The three
generated-file checks pass there.

Feishu: 102 files and 1523 tests in the extension project, 17 files and
218 tests in the database-workers project, all passing. The forwarder
test and the routing guards pass, 503 tests. tsgo:core, tsgo:extensions,
tsgo:extensions:test, tsgo:test:root, the line-cap, max-lines,
assertion-safety, database-worker, test-timeout-race and test-mock-
exports ratchets against upstream/main, oxlint and oxfmt on the 43
changed code files all pass.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: feishu Channel integration: feishu channel: matrix Channel integration: matrix channel: signal Channel integration: signal dependencies-changed PR changes dependency-related files extensions: acpx extensions: codex extensions: llama-cpp extensions: memory-core Extension: memory-core extensions: openshell extensions: qa-lab P2 Normal backlog priority with limited blast radius. plugin: cua-computer plugin: file-transfer plugin: migrate-claude rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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