Skip to content

fix(deps): override uuid to 11.1.1 in compose qualification client (OSS-394) - #700

Merged
athNdev merged 1 commit into
mainfrom
codex/oss394-uuid-focus
Nov 20, 2026
Merged

athNdev merged 1 commit into
mainfrom
codex/oss394-uuid-focus

Conversation

@athNdev

@athNdev athNdev commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Scope

Focused security upgrade for the single remaining Dependabot alert, #208 / GHSA-w5hq-g745-h8pq (moderate, "uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided", fixed in 11.1.1) in scripts/qualify-compose-client/package-lock.json.

This branch changes only two files:

  • package.json: adds "overrides": { "uuid": "11.1.1" } (no direct dependency, no other package range changed).
  • package-lock.json: top-level uuid 8.3.2 -> 11.1.1 and removal of the duplicated yggdrasil-nested uuid 10.0.0; 11 insertions / 19 deletions total. No other package, source file, generated file, workflow or deployment setting changes. It is not a broad dependency upgrade, and there is no release/alias/publish action.

Advisory and local evidence

  • Baseline: 1 open GitHub alert (uuid) and npm audit --omit=dev 0 high / 5 moderate / 0 low; npm ls uuid showed 8.3.2 via @azure/msal-node and 10.0.0 via yggdrasil.
  • After the override: fresh npm ci --ignore-scripts --no-audit --no-fund exit 0; npm ls uuid shows 11.1.1 deduped/overridden for both consumers; npm audit --omit=dev reports 0 vulnerabilities.
  • The qualifier chain's uuid call sites are yggdrasil/src/Client.js uuid.v4() and the msal-node CJS bundle GuidGenerator uuid.v4(); both use only the public v4 export. Verified with createRequire from the installed yggdrasil and @azure/msal-node package manifests that both resolve uuid 11.1.1, and that v4() returns a valid UUID from the CommonJS surface.
  • node --check scripts/qualify-compose-game.mjs exit 0.
  • Affected-surface checks at this head: bun install --frozen-lockfile (no changes), bun run check (0 errors / 0 warnings), bun run lint clean, bun run test 473 pass / 6 skip / 0 fail; go test ./..., go vet ./... and knowledge-lint results are being appended when the background run finishes.

Qualification smoke

The real host + bridge Compose qualification smoke should run at this exact head with the known-good staging coordinates:

Compose staging: 44696908498 4923432 v1.0.40

These reference a successful release run with unexpired staging artifacts, the staged product commit from BUILD-INFO.json, and published baseline tag v1.0.40. The smoke exercises shipped install/upgrade/rollback and a real Minecraft login/join; this is a read-only hosted qualification, not a publication.

Merge hold / review request

DO NOT MERGE and DO NOT ENABLE AUTO-MERGE. Per the dependency-upkeep assignment (Jira OSS-394 comment 12155) the merge is held until release coordination clears (Stable 2.0.1 publish retry). Per Codex-main-review.md, this PR is solely OpenCode-implemented: explicit Codex approval on the exact head below and the reviewed base is required before any merge.

  • Reviewed base: d76a357cf5be2bcf11a1d99f457f4e2bfa4bc171 (pinned main)
  • Exact head: 940893f9bc069833d97d7285213ce95b1549c3ec

Codex review is requested on that head. OpenCode's own review and hosted checks do not substitute for it. If the head or integration changes materially, a fresh review is required.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Compose client dependency

Layer / File(s) Summary
Pin uuid version
scripts/qualify-compose-client/package.json
The manifest adds an override that sets uuid to version 11.1.1.

Change: Other

Merge Risk: Minimal · up to 94089

This updates a transitive uuid dependency in the compose qualification client. No concrete defect was found, and the change is easy to revert. The author asks for the qualification smoke to be run and for release coordination to clear before merge.

Architecture risk: Low · up to 94089

The change affects 1 system.

Changed systems: scripts

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — scripts (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in scripts/qualify-compose-client/package.json: The manifest adds an overrides block pinning uuid to 11.1.1.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

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: 0753ec7c-4697-460d-92db-4df88a71c630
Commits

Reviewing files that changed from the base of the PR and between d76a357 and 940893f.

Files ignored due to path filters: 1

  • scripts/qualify-compose-client/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 1

  • scripts/qualify-compose-client/package.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

@athNdev

athNdev commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Codex review requested per Codex-main-review.md — please review the exact head before any merge.

  • PR: fix(deps): override uuid to 11.1.1 in compose qualification client (OSS-394) #700 (branch codex/oss394-uuid-focus)
  • Exact head: 940893f
  • Reviewed base: d76a357 (pinned main at branch creation)
  • Scope: focused security fix for Dependabot alert fix(upload): serialize concurrent stream writes #208 / GHSA-w5hq-g745-h8pq (uuid <11.1.1). Two files only: scripts/qualify-compose-client/package.json adds overrides.uuid=11.1.1; package-lock.json replaces uuid 8.3.2 with 11.1.1 and removes the nested yggdrasil uuid 10.0.0 (11 insertions / 19 deletions). No direct dependency, workflow, source, generated file, release or alias change.
  • Focused results: baseline npm audit --omit=dev = 5 moderate (uuid chain) -> after override 0 vulnerabilities; fresh npm ci exit 0; npm ls uuid shows 11.1.1 deduped/overridden for both @azure/msal-node and yggdrasil; createRequire checks confirm both consumers resolve uuid 11.1.1 and yggdrasil's only call site (uuid.v4()) works on the CommonJS surface; node --check of the game harness exit 0. Affected surface: bun frozen install no changes, bun check 0/0, bun lint clean, bun test 473 pass / 6 skip; go test/vet and knowledge-lint in progress locally and hosted CI running at the exact head.
  • Remaining risks: the real host+bridge Compose qualification smoke is still in progress at this head (queued in run 44762322643 with the known-good staging coordinates in the PR body); no smoke result is claimed yet. Merge remains HELD until release coordination clears (Stable 2.0.1 publish retry) AND explicit Codex approval of the exact head is recorded. No auto-merge will be enabled.

OpenCode coordinator: PR #700, head 940893f — please keep this review request visible to the check-in.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

View guided diff | Turn on auto-fix | Re-trigger cubic

@athNdev

athNdev commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Historical hosted-job failure reconciled — PR #700, exact head 940893f (unchanged; no code or commit change).

  • Original failing job: Compose packaged host network, run 44762351875 / job 136377878090, failed 2026-11-20T15:27:19Z. Root cause was hosted-runner disk exhaustion (dd: ... No space left on device, sqlite database or disk is full (13)), which aborted the world snapshot and left the later login with connect ECONNREFUSED 127.0.0.1:25565. The same job had already completed real Minecraft 1.21.1 joins before the disk failure.
  • Exact rerun: gh run rerun 44762351875 --job 136377878090 produced job 136404879298 in the SAME run (attempt 2), head_sha 940893f, started 16:06:42Z, conclusion success at 16:13:46Z: https://github.com/athNdev/carbonpanel/actions/runs/44762351875/job/136404879298
  • Rerun evidence: "Joined Minecraft 1.21.1, acknowledged position, and appeared in server console roster"; "World gamerule keepInventory remained true"; "PASS: host clean install, ENOSPC refusal, interrupted pull, staged upgrade, privilege comparison, rollback, restart and join"; existing-guest installer \"pass\": true; both evidence artifacts uploaded.
  • Current check rollup: 20/20 applicable checks PASS at the exact head, with the previously failing host job now green in its own run. No failing or pending checks remain.

Merge hold is unchanged: this PR is solely OpenCode-implemented, so it still requires explicit Codex approval of head 940893f per Codex-main-review.md AND release-coordination clearance after the Stable 2.0.1 publish retry. No merge and no auto-merge have been performed or enabled.

@athNdev

athNdev commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Codex review approval for exact head 940893f9bc069833d97d7285213ce95b1549c3ec against reviewed merge base d76a357cf5be2bcf11a1d99f457f4e2bfa4bc171. I reviewed the package and lock diff, both bot checks, and the actual installed dependency consumers. Both exact packages resolve the only installed uuid 11.1.1, and both CommonJS and ESM v4 paths passed independently. The clean lockfile install and npm audit --omit=dev passed with zero reported vulnerabilities. GitHub shows 26 applicable checks passing. The first host login connection refusal in run 44762351875 was superseded by its exact-head retry, which passed both networks under the packaged offline-auth game fixture. Main's subsequent release-workflow merge did not change the dependency files. Merge coordination remains held while the designated Stable release publishes. Keep Jira open until the advisory closes on main.

@athNdev
athNdev merged commit 9e4b3c2 into main Nov 20, 2026
42 of 44 checks passed
@athNdev
athNdev deleted the codex/oss394-uuid-focus branch November 20, 2026 18:03
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.

1 participant