Repository navigation
fix(deps): override glob to 13.0.7 in .opencode (unblocks Dependabot security update) - #17271
Merged
Merged
Conversation
…update unblocked)
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This was referenced Nov 30, 2026
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Nov 30, 2026
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
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Nov 30, 2026
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
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Nov 30, 2026
…d copies 13 open Dependabot alerts on this manifest trace to two stale copies nested under @cloudflare/vitest-pool-workers (its bundled miniflare exact-pins them): undici 7.29.0 (11 alerts, patched floor 7.30.1) and sharp 0.35.2 (2 alerts, patched floor 0.35.5). The hoisted copies are already patched (undici 7.30.2, sharp 0.35.5). Add exact-pin npm overrides (undici 7.30.2, sharp 0.35.5 — the same versions the tree already hoists) and regenerate the lockfile with npm 10.9.4: the nested stale copies and their exclusive @img platform packages are removed, the tree dedupes onto the hoisted patched copies, and no other package entry changes (libc fields npm 10 strips were restored in npm 12's field order, as in PR #17271). Closes #17298
Contributor
Author
|
Verification (lane 0900-AN, at head 8850d49):
Merging on this verification (CI is not a merge gate). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #17263
Root cause (from run 46459060664's log)
Dependabot's security update for
globin/.opencodeerrored: the tree's hoisted glob is 13.0.5 (affected:>= 9.0.0 < 13.0.7), exact-pinned through@opencode/[email protected]under both memory plugins. A patched version (13.0.7) exists, but Dependabot's only update path would downgrade@knikolov/opencode-plugin-simple-memory2.0.0 → 1.1.1, so the job fails instead. Dependabot's own log names the resolution: "Add an override/resolution to pin glob to a non-vulnerable version compatible with your dependencies."Fix
.opencode/package.json: add a range-scoped npm override —"glob@^13.0.0": "13.0.7". The scope matters: rimraf's nested glob is already 10.5.0 (the patched 10.x line) and is deliberately left untouched..opencode/package-lock.json: regenerated. Field-by-field diff against the old lock is exactly the glob restructure and nothing else: hoisted[email protected]removed;[email protected]nested under@npmcli/map-workspaces,@npmcli/package-json,@opencode/util, andcacache. (The local npm 10 strips thelibcfields npm 12 writes on 18 platform packages; those were restored field-for-field so this PR carries no unrelated churn.)Verification
npm install --package-lock-onlyresolves every glob ^13 instance to 13.0.7; rimraf's stays 10.5.0.< 13.0.7for 13.x,>= 10.2.0 < 10.5.0for 10.x) — link in the PR comments./.opencodeshould complete the glob security update (or find nothing to do); if it errors again, the new run log is the next evidence.{ "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:24:58Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch/workspace/github-work/code-17263", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch/workspace/github-work/code-17263", "repo": "developing-today/code", "branch": "xaltha/17263-glob-override", "sha": "8850d490fdd0a7217d126fd265bb44366c2bfb67" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.