Skip to content

fix(deps): override rimraf's glob to 13.0.7 in .opencode (completes the Dependabot glob fix) - #17296

Merged
developing-today-fleet[bot] merged 3 commits into
mainfrom
xaltha/17285-glob-rimraf-bg
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 3 commits into
mainfrom
xaltha/17285-glob-rimraf-bg

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17285

Root cause

PR #17271 (for #17263) added the range-scoped override "glob@^13.0.0": "13.0.7", which fixed the hoisted glob 13.0.5 instance that Dependabot alert #940 tracks. The first Dependabot run on that merge (run 46462298184, head = the #17271 merge commit itself) still failed with security_update_not_possible for glob in /.opencode: latest resolvable 10.5.0, lowest non-vulnerable 13.0.7. The remaining in-range instance is [email protected]'s nested glob — requested ^10.3.7, resolved 10.5.0, inside GHSA-3g3m-2fjr-6pw4's range (>= 9.0.0, < 13.0.7).

Fix

  • .opencode/package.json: add the second scoped override "glob@^10.3.7": "13.0.7" alongside the existing glob@^13.0.0 one.
  • .opencode/package-lock.json: regenerated with npm 10.9.4. The four per-consumer nested glob 13.0.7 copies dedupe to a single hoisted node_modules/glob 13.0.7; rimraf's nested glob 10.5.0 and its exclusive CLI dep tree (foreground-child, jackspeak, package-json-from-dist, @isaacs/cliui, the string-width/wrap-ansi chain) are removed; no other package entry changes. The libc fields npm 10 strips from 18 platform packages were restored field-for-field from main (same handling as PR fix(deps): override glob to 13.0.7 in .opencode (unblocks Dependabot security update) #17271), so the diff vs main is the glob restructure only.

Verification

  • Lockfile audit after regen: the only glob instance in .opencode/package-lock.json is 13.0.7 — nothing remains in the GHSA-3g3m-2fjr-6pw4 range.
  • A second npm install --package-lock-only run is a no-op (idempotent).
  • Full branch diff read by the lane; merge-base diff touches only .opencode/package.json + .opencode/package-lock.json.
  • The end-to-end proof is the next Dependabot Updates run on main after merge: wake = that run's conclusion; on failure, fix forward.
{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T16:43:19Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch/workspace/github-work/code-17285-bg",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch/workspace/github-work/code-17285-bg",
      "repo": "developing-today/code",
      "branch": "xaltha/17285-glob-rimraf-bg",
      "sha": "0fbbf697e6cad7588fe3ee5108f861c84e55982a"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Follow-on to #17263 / PR #17271: the first Dependabot run on the merged
scoped override still failed (run 46462298184, #17285) with
security_update_not_possible for glob in /.opencode — latest resolvable
10.5.0, lowest non-vulnerable 13.0.7. The remaining in-range instance
is [email protected]'s nested glob (requested ^10.3.7, resolved 10.5.0;
GHSA-3g3m-2fjr-6pw4 covers >= 9.0.0, < 13.0.7). Scope the override to
that edge as well; lockfile regen follows.

Refs #17285
npm-regenerated (npm 10.9.4) with both scoped overrides in place:
the four per-consumer nested glob 13.0.7 copies from PR #17271 dedupe
to a single hoisted node_modules/glob 13.0.7, rimraf's nested glob
10.5.0 and its exclusive CLI dep tree (foreground-child, jackspeak,
package-json-from-dist, @isaacs/cliui, string-width/wrap-ansi chain)
are removed, and no other package entry changes. The libc fields
npm 10 strips from 18 platform packages were restored field-for-field
from main, so the diff is the glob restructure only. Verified: every
glob instance in the lockfile is now 13.0.7 (GHSA-3g3m-2fjr-6pw4
patched floor), and a second regen is a no-op.

Closes #17285
The idempotency re-run of npm install --package-lock-only re-stripped
them after the first restoration; restore all 18 field-for-field from
main so the branch diff vs main is the glob restructure only.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c0f6aaa7-ce49-4b6c-82e6-a1c2d4759469

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet
developing-today-fleet Bot merged commit 68b74bc into main Nov 30, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/17285-glob-rimraf-bg branch November 30, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main CI failure: Dependabot Updates (run 46462298184)

1 participant