Skip to content

chore(deps): align vitest across the workspace + ignore migration-gated majors - #140

Merged
ribato22 merged 1 commit into
mainfrom
chore/deps-align-and-ignores
Jul 27, 2026
Merged

chore(deps): align vitest across the workspace + ignore migration-gated majors#140
ribato22 merged 1 commit into
mainfrom
chore/deps-align-and-ignores

Conversation

@ribato22

Copy link
Copy Markdown
Owner

Closes out the second Dependabot triage wave.

1. Align vitest across the workspace

packages/sdk pinned vitest ^1.2.2 while apps/api and apps/worker were on ^2.0.0. That split is itself a PR generator — it's why Dependabot kept proposing a separate sdk-only bump (#134, 1.6.1 → 4.1.10) that could never merge cleanly and would have left the workspace split three ways.

Aligning sdk to ^2.0.0 means one vitest major governs everything (and matches the ^2 pin on @vitest/coverage-v8). Drops 249 lines of duplicate vitest-1 tree from the lockfile; sdk tests stay green (17/17).

2. Three more ignore rules for migration-gated majors

dep why it can't be a drop-in bump
next Next 15+ requires React 19, which is already ignored for the same reason — the admin crosses both majors together or not at all (#138 closed)
vitest must move in lockstep with @vitest/coverage-v8 and every workspace package → one deliberate PR, never per-package (#134 closed)
n8n-workflow 2.x is a new n8n node-API major; the published n8n-nodes-multiwa must be reconciled against it and re-published (#137 closed)

Verification

  • All 5 workspace packages build ✓ · api/worker/admin typecheck ✓
  • api 324/324 · worker 34/34 · sdk 17/17
  • Lockfile still air-gap safe (0 ssh:// refs)
  • dependabot.yml parses; 13 migration-gated majors now ignored

This wave's triage

Merged (4): #135 @fastify/multipart 10 · #136 @types/nodemailer 8 (aligned all 3 packages) · #139 @fastify/static 10.1.2 — SECURITY FIX · this PR
Closed with reasons (3): #134 vitest (workspace split) · #137 n8n-workflow 2.x · #138 next 14→16

⚠️ #139 was a real vulnerability: @fastify/static@8.3.0 was affected by GHSA-8pvw-jcv7-9cmjAuthorization Bypass via Non-Canonical URL Paths (MODERATE, affects <= 10.1.1). First patched version is exactly 10.1.2, so the major bump was the only remedy. Now on 10.1.2.

…ed majors

packages/sdk pinned vitest ^1.2.2 while apps/api and apps/worker were on ^2.0.0.
That split is why Dependabot kept proposing a separate sdk-only vitest bump
(#134, 1.6.1 -> 4.1.10) that could never merge cleanly. Align sdk to ^2.0.0 so
one vitest major governs the whole workspace (and matches the ^2 pin on
@vitest/coverage-v8). Drops 249 lines of duplicate vitest-1 tree from the
lockfile; sdk tests stay green (17/17).

Ignore three more majors that need a coordinated migration, so Dependabot stops
re-opening PRs that can never merge as-is:
- next        Next 15+ requires React 19, which is already ignored for the same
              reason; the admin crosses both majors together or not at all (#138).
- vitest      must move in lockstep with @vitest/coverage-v8 and every workspace
              package, so a major is one deliberate PR, never a per-package one (#134).
- n8n-workflow  2.x is a new n8n node-API major; the published n8n-nodes-multiwa
              package must be reconciled against it and re-published (#137).

All packages build; api/worker/admin typecheck; api 324/324, worker 34/34,
sdk 17/17 green; lockfile still air-gap safe (0 ssh refs).
@ribato22
ribato22 merged commit 1fffc95 into main Jul 27, 2026
8 checks passed
@ribato22
ribato22 deleted the chore/deps-align-and-ignores branch July 27, 2026 09:02
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