Skip to content

chore: refresh dependencies and consolidate release notes - #257

Merged
steipete merged 2 commits into
mainfrom
chore/dependencies-notes-20260911
Sep 11, 2026
Merged

steipete merged 2 commits into
mainfrom
chore/dependencies-notes-20260911

Conversation

@steipete

@steipete steipete commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Refresh JSZip to 3.10.2, Node declarations to 26.5.1, and the existing emnapi build-tool runtime pin to 2.0.0-alpha.5. Update hybrid-array to 0.4.15 and both immutable CodeQL action pins to 4.38.0. Regenerate the pnpm lockfile with the declared pnpm version; preserve the Node >=22 minimum and two-day release-age policy.

Consolidate all Unreleased notes since v0.8.6, including the independent legacy-lock cleanup (#254) and publication-test repair (#256), with contributor credit and a prominent note about the already-landed archive durability default. Land this PR last, after #256 and #254.

This supersedes the maintenance changes in #242, #249, #252, and #253. Those PRs remain open for the orchestrator to close after this replacement lands. No contributor revisions are requested.

Validation of the final source: 71 Rust tests; fresh Linux native build and pnpm check (8,456 tests); fresh npm 11.19.0 and pnpm 11.25.0 root-only consumer installs, including omitted optionals and native-required behavior; ZIP/device/secret-read probes on macOS and Linux; git diff --check; and clean local/branch Codex P0–P2 reviews. Hosted CI, merged coverage, CodeQL, and benchmarks pass at the exact final head. The warmed remote workspace initially retained an older installed JSZip despite a frozen install; rebuilding its disposable node_modules verified the intended versions and made the full consumer smoke pass.

The newest napi Rust patches are held for a later refresh because they are less than two days old. No package version, tag, or publication is changed here.

@clawsweeper

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

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​jszip@​3.10.1 ⏵ 3.10.288 -11100848870
Updatednpm/​@​emnapi/​runtime@​2.0.0-alpha.4 ⏵ 2.0.0-alpha.51001007394100
Updatednpm/​@​types/​node@​26.4.1 ⏵ 26.5.1100 +110081 +196100

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Publisher changed: npm jszip is now published by jkoops

Author: jkoops

From: package.json → npm/[email protected]

ℹ Read more on: This package | This alert | What is unstable ownership?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Try to reduce the number of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@steipete
steipete marked this pull request as ready for review September 11, 2026 22:01
@steipete
steipete requested a review from a team as a code owner September 11, 2026 22:01
@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 11, 2026
@clawsweeper

clawsweeper Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed September 11, 2026, 6:10 PM ET / 22:10 UTC.

ClawSweeper review

What this changes

Updates JavaScript and Rust dependencies and pinned CodeQL actions, then consolidates Unreleased notes and contributor credits.

Merge readiness

⛔ Blocked before merge - 3 items remain

This remains a useful maintenance consolidation absent from main. No actionable patch defect was found; the reported runtime validation needs inspectable output before merge.

Priority: P3
Reviewed head: db324f8481d071d6472561251e9078a5835ec593

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The maintenance patch is coherent and supported by substantial reported validation, but observable runtime evidence is still needed.
Proof confidence 🦐 gold shrimp (3/6) Needs stronger real behavior proof before merge: The body reports relevant installed-package ZIP and consumer runs on macOS/Linux, including correction of stale JSZip resolution, but provides no inspectable output tying the intended versions to extraction and consumer results. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: The body reports relevant installed-package ZIP and consumer runs on macOS/Linux, including correction of stale JSZip resolution, but provides no inspectable output tying the intended versions to extraction and consumer results. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 9 items Applicable repository policy: Read the complete root AGENTS.md and contribution/security guides. Applied filesystem-boundary, package compatibility, dependency-review, and Unreleased-note guidance; no nested AGENTS.md or matching maintainer notes were found. Builds, tests, and bundled review helpers were not executed under the read-only review contract.
Verified introduced scope: The complete introduced diff changes five files, with 113 insertions and 109 deletions. Manifest and lockfile versions agree; exports, Node >=22, native package versions, lifecycle scripts, workflow permissions, and the two-day release-age setting remain unchanged. The diff whitespace check passed.
Still needed on main and latest release: Inspected fetched main e8a0877 and release v0.8.6: both retain JSZip 3.10.1, emnapi runtime alpha.4, and Node declarations 26.4.1. Related dependency PRs remain open; no merged replacement establishes an implemented-on-main close.
Findings None None.
Security None None.

How this fits together

fs-safe provides guarded filesystem operations for Node.js applications. These dependencies support ZIP decoding, native builds, type checking, and repository security analysis.

flowchart LR
  A[Dependency manifests] --> B[Package installation]
  B --> C[ZIP decoder]
  D[Untrusted archives] --> C
  C --> E[Filesystem safety checks]
  E --> F[Guarded extraction]
  A --> G[Native build and security analysis]
Loading

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: The body reports relevant installed-package ZIP and consumer runs on macOS/Linux, including correction of stale JSZip resolution, but provides no inspectable output tying the intended versions to extraction and consumer results. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve merge risk (P1) - Landing before the two explicitly named prerequisite PRs would make the consolidated notes claim fixes that main does not yet contain.
  • Complete next step (P2) - Attach the existing consumer/ZIP runtime output, redacting private paths, endpoints, IPs, and credentials; updating the body should trigger review, otherwise ask a maintainer for @clawsweeper re-review. Land after fix(lock): tolerate legacy manager state during exit cleanup #254 and test: drain durable publication work before fixture cleanup #256 as specified.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Maintenance scope 5 files; 0 production-source or test files changed The branch is bounded to dependency metadata, one security workflow, and release notes.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep one reviewed dependency refresh with accurate release notes, preserved package contracts, and auditable consumer results using the intended installed versions.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep one reviewed dependency refresh with accurate release notes, preserved package contracts, and auditable consumer results using the intended installed versions.

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

Not applicable: this maintenance PR does not report a specific broken behavior, and inspection found no discrete introduced defect.

Is this the best way to solve the issue?

Yes: synchronized dependency updates and consolidated notes are a bounded solution; the existing archive guards and package contracts remain intact.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is routine dependency and release-note maintenance with no demonstrated urgent user-facing regression.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The body reports relevant installed-package ZIP and consumer runs on macOS/Linux, including correction of stale JSZip resolution, but provides no inspectable output tying the intended versions to extraction and consumer results. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Label justifications:

  • P3: This is routine dependency and release-note maintenance with no demonstrated urgent user-facing regression.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The body reports relevant installed-package ZIP and consumer runs on macOS/Linux, including correction of stale JSZip resolution, but provides no inspectable output tying the intended versions to extraction and consumer results. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

  • Applicable repository policy: Read the complete root AGENTS.md and contribution/security guides. Applied filesystem-boundary, package compatibility, dependency-review, and Unreleased-note guidance; no nested AGENTS.md or matching maintainer notes were found. Builds, tests, and bundled review helpers were not executed under the read-only review contract. (AGENTS.md:1, db324f8481d0)
  • Verified introduced scope: The complete introduced diff changes five files, with 113 insertions and 109 deletions. Manifest and lockfile versions agree; exports, Node >=22, native package versions, lifecycle scripts, workflow permissions, and the two-day release-age setting remain unchanged. The diff whitespace check passed. (package.json:166, db324f8481d0)
  • Still needed on main and latest release: Inspected fetched main e8a0877 and release v0.8.6: both retain JSZip 3.10.1, emnapi runtime alpha.4, and Node declarations 26.4.1. Related dependency PRs remain open; no merged replacement establishes an implemented-on-main close. (package.json:166, 733bc50c81b9)
  • Actual dependency boundary: The ZIP fallback imports JSZip and passes admitted binary input to loadAsync, then checks entry counts and validates decoded names. Existing admission and integrity tests cover dangerous metadata, collisions, payload limits, and unpublished failure results. This directly establishes JSZip as a relevant dependency; no filesystem authorization logic is changed by this PR. (src/archive-zip-preflight.ts:28, db324f8481d0)
  • Publisher alert investigated: Socket reported a publisher change to jkoops. npm metadata identifies Stuk/jszip and release commit 020fa338; an in-memory tarball inspection confirmed the declared integrity and byte-identical upstream contents for both changed lib files and package.json. The reviewed runtime changes concern binary type detection and Blob reading, with no added install lifecycle hook. This provides concrete context for the alert without asserting publisher identity authentication or a comprehensive package audit. (lib/utils.js:352, 020fa3384c99)
  • Immutable action pin verified: The annotated v4.38.0 tag resolves to b96794f015dfd88f77b49b1c93e0fa7110f94c63, matching both updated workflow references. (b96794f015df)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

Rank-up moves

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

  • Attach existing redacted consumer/ZIP probe output showing installed versions and results; terminal screenshots or recordings are welcome, and logs or copied output are sufficient.

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

Copy link
Copy Markdown
Contributor Author

Maintainer proof for db324f8481d071d6472561251e9078a5835ec593:

  • CI: success.
  • Merged coverage: success across Linux, macOS, and Windows.
  • CodeQL and benchmarks: success.
  • cargo test --workspace --locked: 71 passed. Fresh Linux native build and pnpm check: 8,456 passed.
  • pnpm package:smoke: fresh npm 11.19.0 and pnpm 11.25.0 root-only installs pass, including platform selection, omitted optionals, secret-directory behavior, and native-required/fallback controls.
  • Built-package ZIP/device/secret probes pass with native mode off and require on Linux; the JavaScript probe also passes on macOS.
  • Installed JSZip 3.10.2 and Node declarations 26.5.1 were verified explicitly after rebuilding the disposable warm workspace's stale node_modules.
  • Local and final branch Codex reviews: no actionable P0–P2 findings.

Ready for squash merge after #256 and #254. This PR contains the complete ordered Unreleased notes, including contributor credit. Close superseded dependency PRs #242, #249, #252, and #253 after this lands. No release or publication was performed.

@clawsweeper

clawsweeper Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: chore: refresh dependencies and consolidate release notes This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant