Skip to content

fix(eve): protect nitro-referenced dev snapshots#611

Open
iroiro147 wants to merge 1 commit into
vercel:mainfrom
iroiro147:fix/protect-dev-nitro-snapshot-534
Open

fix(eve): protect nitro-referenced dev snapshots#611
iroiro147 wants to merge 1 commit into
vercel:mainfrom
iroiro147:fix/protect-dev-nitro-snapshot-534

Conversation

@iroiro147

Copy link
Copy Markdown
Contributor

Summary

  • protect stale dev-runtime snapshots that are still referenced by generated .eve/nitro artifacts
  • keep existing pointer and active workflow-data protections intact while allowing unrelated stale snapshots to prune
  • add regression coverage for an aggressive prune that preserves a Nitro-referenced snapshot

Refs #534.

Tests

  • pnpm install (completed; hook installer printed an ENOTDIR warning because this checkout is a Git worktree)
  • pnpm --filter eve run test:integration -- src/internal/nitro/dev-runtime-artifacts.integration.test.ts -t 'generated Nitro files' (50 files passed, 386 tests passed)
  • pnpm --filter eve run typecheck
  • pnpm guard:invariants
  • pnpm exec oxfmt --check packages/eve/src/internal/nitro/dev-runtime-artifacts.ts packages/eve/src/internal/nitro/dev-runtime-artifacts.integration.test.ts .changeset/dev-runtime-nitro-prune-protection.md
  • pnpm exec oxlint packages/eve/src/internal/nitro/dev-runtime-artifacts.ts packages/eve/src/internal/nitro/dev-runtime-artifacts.integration.test.ts
  • git diff --check
  • pnpm changeset status --since origin/main

Signed-off-by: iroiro147 <sarthak.singh@juspay.in>
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@iroiro147 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

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