Skip to content

Expose Turbopack NFT functionality as separate entrypoint#94356

Draft
mischnic wants to merge 2 commits into
canaryfrom
mischnic/nft-standalone
Draft

Expose Turbopack NFT functionality as separate entrypoint#94356
mischnic wants to merge 2 commits into
canaryfrom
mischnic/nft-standalone

Conversation

@mischnic
Copy link
Copy Markdown
Member

@mischnic mischnic commented Jun 2, 2026

Replicate what require("@vercel/nft").nodeFileTrace does

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

Failing test suites

Commit: 90f5754 | About building and testing Next.js

pnpm test-dev test/development/app-dir/hmr-intercept-routes/hmr-intercept-routes.test.ts (job)

  • hmr-intercept-routes > should update intercept routes via HMR (DD)
Expand output

● hmr-intercept-routes › should update intercept routes via HMR

page.waitForSelector: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('#default-intercept') to be visible

  560 |
  561 |     return this.startChain(async () => {
> 562 |       const el = await page.waitForSelector(selector, {
      |                             ^
  563 |         timeout,
  564 |         state,
  565 |       })

  at waitForSelector (lib/browsers/playwright.ts:562:29)
  at Playwright._chain (lib/browsers/playwright.ts:692:23)
  at Playwright._chain [as startChain] (lib/browsers/playwright.ts:673:17)
  at Playwright.startChain [as waitForElementByCss] (lib/browsers/playwright.ts:561:17)
  at Object.waitForElementByCss (development/app-dir/hmr-intercept-routes/hmr-intercept-routes.test.ts:38:21)

pnpm test-dev-turbo test/e2e/app-dir/instant-navigation-testing-api/instant-navigation-testing-api.test.ts (turbopack) (job)

  • instant-navigation-testing-api > runtime params are excluded from instant shell > does not include cookie values in instant shell during page load (DD)
Expand output

● instant-navigation-testing-api › runtime params are excluded from instant shell › does not include cookie values in instant shell during page load

expect(received).toContain(expected) // indexOf

Expected substring: "testCookie: hello"
Received string:    "testCookie: not set"

  411 |       const cookieValue = page.locator('[data-testid="cookie-value"]')
  412 |       await cookieValue.waitFor({ state: 'visible', timeout: 10000 })
> 413 |       expect(await cookieValue.textContent()).toContain('testCookie: hello')
      |                                               ^
  414 |     })
  415 |
  416 |     it('does not include dynamic param values in instant shell during page load', async () => {

  at Object.toContain (e2e/app-dir/instant-navigation-testing-api/instant-navigation-testing-api.test.ts:413:47)

pnpm test-start-turbo test/e2e/app-dir/instant-navigation-testing-api/instant-navigation-testing-api.test.ts (turbopack) (job)

  • instant-navigation-testing-api > runtime params are excluded from instant shell > does not include cookie values in instant shell during client navigation (DD)
Expand output

● instant-navigation-testing-api › runtime params are excluded from instant shell › does not include cookie values in instant shell during client navigation

expect(received).toContain(expected) // indexOf

Expected substring: "testCookie: hello"
Received string:    "testCookie: not set"

  330 |       const cookieValue = page.locator('[data-testid="cookie-value"]')
  331 |       await cookieValue.waitFor({ state: 'visible' })
> 332 |       expect(await cookieValue.textContent()).toContain('testCookie: hello')
      |                                               ^
  333 |     })
  334 |
  335 |     it('does not include dynamic param values in instant shell during client navigation', async () => {

  at Object.toContain (e2e/app-dir/instant-navigation-testing-api/instant-navigation-testing-api.test.ts:332:47)

Other failing CI jobs

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

Stats skipped

Commit: 90f5754
View workflow run

@mischnic mischnic changed the title Expose Turbopack NFT functionality as separate function Expose Turbopack NFT functionality as separate entrypoint Jun 3, 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