Skip to content

test(e2e/nitro-3): Pin rolldown to 1.1.3 to fix build#21894

Closed
nicohrubec wants to merge 1 commit into
developfrom
nh/fix-nitro3-e2e-nft
Closed

test(e2e/nitro-3): Pin rolldown to 1.1.3 to fix build#21894
nicohrubec wants to merge 1 commit into
developfrom
nh/fix-nitro3-e2e-nft

Conversation

@nicohrubec

@nicohrubec nicohrubec commented Jul 1, 2026

Copy link
Copy Markdown
Member

The E2E nitro-3 Test job fails at the Build E2E app step with:

SyntaxError: Named export 'nodeFileTrace' not found. The requested module '@vercel/nft' is a CommonJS module…

Trigger: rolldown@1.1.4, published 2026-07-01 (the failing run has rolldown@1.1.4 in its stack). It tightened CJS→ESM named-export interop, so nitro's import { nodeFileTrace } from the CommonJS @vercel/nft no longer resolves at build time. The nitro-3 app tracked rolldown: latest with no committed lockfile, so a fresh CI install grabbed 1.1.4 hours after publish. nitro (3 weeks old, resolves to the exact pinned beta) and @vercel/nft (5+ weeks) did not move.

Pins rolldown to the last-good 1.1.3. Verified locally: pnpm build fails on 1.1.4, succeeds on 1.1.3 (✓ built). Scoped to nitro-3 — the only app that pins rolldown directly and the only E2E job that failed.

Unrelated to any SDK change; unblocks the E2E gate for all open PRs. Cleanup debt: revert to latest once rolldown restores the interop (or nitro/@vercel/nft adapt).

🤖 Generated with Claude Code

@nicohrubec nicohrubec changed the title test(e2e/nitro-3): Pin @vercel/nft to 0.30.4 to fix build test(e2e/nitro-3): Pin @vercel/nft to 0.30.4 to fix app build Jul 1, 2026
`rolldown@1.1.4` (published 2026-07-01) tightened CJS→ESM named-export interop,
so nitro's `import { nodeFileTrace }` from the CommonJS `@vercel/nft` fails at
build time. The app tracked `rolldown: latest` with no lockfile, so fresh installs
picked it up. Pin to the last-good `1.1.3` (verified locally: 1.1.4 fails, 1.1.3 builds).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nicohrubec nicohrubec force-pushed the nh/fix-nitro3-e2e-nft branch from a051545 to 77ff58d Compare July 1, 2026 15:17
@nicohrubec nicohrubec changed the title test(e2e/nitro-3): Pin @vercel/nft to 0.30.4 to fix app build test(e2e/nitro-3): Pin rolldown to 1.1.3 to fix build Jul 1, 2026
@nicohrubec nicohrubec closed this Jul 1, 2026
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