[GH-ISSUE #4988] [Issue]: Keep dependency security updates safe for existing installations #2766

Closed
opened 2026-10-21 05:55:00 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4988

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The current staging dependency graph resolves every open Dependabot advisory to a patched version, but a dormant NanoID override still names an older patch and the launcher update-handoff regression is not a required pull-request check. This leaves room for a future dependency change to reintroduce either a vulnerable resolution or the pnpm handoff failure users experienced previously.

Expected behavior

Security dependency updates stay pinned to patched resolutions, and every pull request must prove that macOS/Linux, Windows, and Termux launchers re-resolve the repository's exact integrity-pinned pnpm after updating the checkout. Existing users should update with the frozen lockfile without manually replacing pnpm.

Actual behavior

staging currently audits clean, but package.json/the lockfile still contain a dormant nanoid@3.3.12 -> 3.3.17 override while the latest advisory requires 3.3.18. The existing launcher handoff regression passes locally but only runs inside the much larger optional regression aggregate, not in required pull-request CI.

Steps to reproduce

  1. Compare the open Dependabot alerts on the default branch with the resolved versions on staging.
  2. Run pnpm audit --audit-level low; the staging graph is clean.
  3. Inspect the root NanoID override and .github/workflows/pull-request-checks.yml; the stale override and missing required launcher gate remain.

Environment

  • Marinara Engine version: current staging (2.4.2 pre-release)
  • Install type: all supported update paths
  • OS + version: macOS/Linux, Windows, and Termux
  • Browser or app shell: not applicable

Logs, screenshots, or video

The staging audit reports zero vulnerabilities across production and development dependencies. The existing launcher update regression passes and covers post-checkout pnpm pin refresh, but required PR CI does not invoke it directly.

Additional context

This should not bump Marinara Engine to pnpm 11. The current exact, integrity-pinned pnpm 10.34.5 is already supported and patched; the goal is to preserve a reliable update handoff and prevent the old NanoID resolution from returning. Open default-branch Dependabot alerts can be marked as remediation in progress once the staging PR lands, then will disappear naturally when staging is promoted for the release.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 13, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4988 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The current `staging` dependency graph resolves every open Dependabot advisory to a patched version, but a dormant NanoID override still names an older patch and the launcher update-handoff regression is not a required pull-request check. This leaves room for a future dependency change to reintroduce either a vulnerable resolution or the pnpm handoff failure users experienced previously. ## Expected behavior Security dependency updates stay pinned to patched resolutions, and every pull request must prove that macOS/Linux, Windows, and Termux launchers re-resolve the repository's exact integrity-pinned pnpm after updating the checkout. Existing users should update with the frozen lockfile without manually replacing pnpm. ## Actual behavior `staging` currently audits clean, but `package.json`/the lockfile still contain a dormant `nanoid@3.3.12 -> 3.3.17` override while the latest advisory requires 3.3.18. The existing launcher handoff regression passes locally but only runs inside the much larger optional regression aggregate, not in required pull-request CI. ## Steps to reproduce 1. Compare the open Dependabot alerts on the default branch with the resolved versions on `staging`. 2. Run `pnpm audit --audit-level low`; the staging graph is clean. 3. Inspect the root NanoID override and `.github/workflows/pull-request-checks.yml`; the stale override and missing required launcher gate remain. ## Environment - Marinara Engine version: current `staging` (2.4.2 pre-release) - Install type: all supported update paths - OS + version: macOS/Linux, Windows, and Termux - Browser or app shell: not applicable ## Logs, screenshots, or video The staging audit reports zero vulnerabilities across production and development dependencies. The existing launcher update regression passes and covers post-checkout pnpm pin refresh, but required PR CI does not invoke it directly. ## Additional context This should not bump Marinara Engine to pnpm 11. The current exact, integrity-pinned pnpm 10.34.5 is already supported and patched; the goal is to preserve a reliable update handoff and prevent the old NanoID resolution from returning. Open default-branch Dependabot alerts can be marked as remediation in progress once the staging PR lands, then will disappear naturally when staging is promoted for the release. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:55:00 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 13, 2026):

Ownership: @SpicyMarinara is taking this release-safety fix. Scope stays narrow: align the dormant NanoID override with the already-audited staging lockfile, make the existing post-checkout pnpm handoff regression a required PR gate, and avoid an unnecessary pnpm major upgrade.

<!-- gh-comment-id:5287055497 --> @SpicyMarinara commented on GitHub (Aug 13, 2026): Ownership: @SpicyMarinara is taking this release-safety fix. Scope stays narrow: align the dormant NanoID override with the already-audited staging lockfile, make the existing post-checkout pnpm handoff regression a required PR gate, and avoid an unnecessary pnpm major upgrade.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 13, 2026):

Completed in PR #4989 and merged to staging as 2389567db3. The staging dependency graph audits clean at low severity, the pnpm update handoff is now a required CI gate, and the 26 default-branch alerts are closed as remediation in progress until the release promotion.

<!-- gh-comment-id:5287163679 --> @SpicyMarinara commented on GitHub (Aug 13, 2026): Completed in PR #4989 and merged to staging as 2389567db35fffc3258e796786f775676cd44f24. The staging dependency graph audits clean at low severity, the pnpm update handoff is now a required CI gate, and the 26 default-branch alerts are closed as remediation in progress until the release promotion.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2766
No description provided.