[PR #4989] [MERGED] Keep dependency updates safe for existing installations #6570

Closed
opened 2026-10-23 04:11:40 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4989
Author: @SpicyMarinara
Created: 8/13/2026
Status: ✅ Merged
Merged: 8/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/dependency-update-safety


📝 Commits (1)

  • 9b816f2 fix: keep dependency updates release-safe

📊 Changes

5 files changed (+9 additions, -4 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+3 -0)
📝 .github/workflows/security-audit.yml (+1 -1)
📝 CHANGELOG.md (+1 -0)
📝 package.json (+3 -2)
📝 pnpm-lock.yaml (+1 -1)

📄 Description

Why

The dependency graph on staging already resolves all 26 default-branch Dependabot alerts to patched versions, but a dormant NanoID override still named an older patch and the existing launcher handoff regression was not a required PR check. That combination could allow a future dependency change to reintroduce a vulnerable resolution or repeat the pnpm update failure existing users experienced.

Closes #4988.

What changed

  • Align the dormant NanoID 3.x override with patched 3.3.18.
  • Run dependency audits at low severity so every known advisory is caught, not only high-severity findings.
  • Give the existing cross-platform launcher/update checks a focused command and run it in required PR validation.
  • Keep the current integrity-pinned pnpm 10.34.5; this deliberately does not force users onto pnpm 11.

Validation

  • Run pnpm install --lockfile-only.
  • Run pnpm audit --audit-level low.
  • Run pnpm regression:launcher-update.
  • Run pnpm check.
  • Run pnpm version:check.
  • Verify a real existing checkout can move from the current main lockfile to this branch with the checked-out pnpm pin and frozen lockfile.
  • Wait for required CI and CodeRabbit.

Manual verification

  • Manually verify one existing launcher-managed installation updates through the next release without asking the user to install another pnpm version.

Summary by CodeRabbit

  • Bug Fixes

    • Updated dependency security resolutions to address vulnerabilities.
    • Added Windows installer layout validation.
    • Improved regression checks for dependency-update handoff behavior.
  • Security

    • Dependency audits now flag low-severity vulnerabilities in addition to higher-severity issues.
  • Documentation

    • Added unreleased changelog notes covering the security and validation updates.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/4989 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/13/2026 **Status:** ✅ Merged **Merged:** 8/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/dependency-update-safety` --- ### 📝 Commits (1) - [`9b816f2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9b816f2cc549fe8a99c244d4d2eeb822d3d79060) fix: keep dependency updates release-safe ### 📊 Changes **5 files changed** (+9 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+3 -0) 📝 `.github/workflows/security-audit.yml` (+1 -1) 📝 `CHANGELOG.md` (+1 -0) 📝 `package.json` (+3 -2) 📝 `pnpm-lock.yaml` (+1 -1) </details> ### 📄 Description ## Why The dependency graph on `staging` already resolves all 26 default-branch Dependabot alerts to patched versions, but a dormant NanoID override still named an older patch and the existing launcher handoff regression was not a required PR check. That combination could allow a future dependency change to reintroduce a vulnerable resolution or repeat the pnpm update failure existing users experienced. Closes #4988. ## What changed - Align the dormant NanoID 3.x override with patched `3.3.18`. - Run dependency audits at `low` severity so every known advisory is caught, not only high-severity findings. - Give the existing cross-platform launcher/update checks a focused command and run it in required PR validation. - Keep the current integrity-pinned pnpm `10.34.5`; this deliberately does not force users onto pnpm 11. ## Validation - [ ] Run `pnpm install --lockfile-only`. - [ ] Run `pnpm audit --audit-level low`. - [ ] Run `pnpm regression:launcher-update`. - [ ] Run `pnpm check`. - [ ] Run `pnpm version:check`. - [ ] Verify a real existing checkout can move from the current `main` lockfile to this branch with the checked-out pnpm pin and frozen lockfile. - [ ] Wait for required CI and CodeRabbit. ## Manual verification - Manually verify one existing launcher-managed installation updates through the next release without asking the user to install another pnpm version. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Updated dependency security resolutions to address vulnerabilities. * Added Windows installer layout validation. * Improved regression checks for dependency-update handoff behavior. * **Security** * Dependency audits now flag low-severity vulnerabilities in addition to higher-severity issues. * **Documentation** * Added unreleased changelog notes covering the security and validation updates. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:11:40 +07:00
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#6570
No description provided.