Skip to content

Conversation

@eps1lon
Copy link
Member

@eps1lon eps1lon commented Nov 19, 2025

70% failure rate and we haven't been able to identify the issue for a while.

@ijjk
Copy link
Member

ijjk commented Nov 19, 2025

Failing test suites

Commit: 68e95f8 | About building and testing Next.js

pnpm test-start test/e2e/app-dir/segment-cache/revalidation/segment-cache-revalidation.test.ts (job)

  • segment cache (revalidation) > re-fetch visible links after a navigation, if needed (DD)
Expand output

● segment cache (revalidation) › re-fetch visible links after a navigation, if needed

thrown: "Exceeded timeout of 120000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

  248 |   })
  249 |
> 250 |   it('re-fetch visible links after a navigation, if needed', async () => {
      |   ^
  251 |     let act: ReturnType<typeof createRouterAct>
  252 |     const browser = await next.browser('/refetch-on-new-base-tree/a', {
  253 |       beforePageLoad(page) {

  at it (e2e/app-dir/segment-cache/revalidation/segment-cache-revalidation.test.ts:250:3)
  at Object.describe (e2e/app-dir/segment-cache/revalidation/segment-cache-revalidation.test.ts:7:1)

pnpm test-dev test/e2e/app-dir/actions/app-action.test.ts (job)

  • app-dir action handling > fetch actions > should handle redirects to routes that provide an invalid RSC response (DD)
Expand output

● app-dir action handling › fetch actions › should handle redirects to routes that provide an invalid RSC response

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

Expected substring: "Hello from a pages route"
Received string:    "0.45477489045095454
Client
Server
Client and Server
0
+1+1 (Slow)-1*2
redirect to a pages route
submit
test"

  1310 |
  1311 |       await retry(async () => {
> 1312 |         expect(await browser.elementByCss('body').text()).toContain(
       |                                                           ^
  1313 |           'Hello from a pages route'
  1314 |         )
  1315 |         expect(await browser.url()).toBe(`${next.url}/pages-dir`)

  at toContain (e2e/app-dir/actions/app-action.test.ts:1312:59)
  at retry (lib/next-test-utils.ts:797:14)
  at Object.<anonymous> (e2e/app-dir/actions/app-action.test.ts:1311:7)

@eps1lon eps1lon merged commit bbfd5fb into canary Nov 19, 2025
279 of 282 checks passed
@eps1lon eps1lon deleted the sebbie/11-19-_test_disable_flaky_prefetching.stale-times_test branch November 19, 2025 15:39
Moroshima pushed a commit to Moroshima/next.js that referenced this pull request Nov 20, 2025
@github-actions github-actions bot added the locked label Dec 4, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants