Skip to content

chore: Improve Turborepo invalidations#94966

Draft
mischnic wants to merge 1 commit into
canaryfrom
mischnic/improve-turborepo-invalidaion
Draft

chore: Improve Turborepo invalidations#94966
mischnic wants to merge 1 commit into
canaryfrom
mischnic/improve-turborepo-invalidaion

Conversation

@mischnic

Copy link
Copy Markdown
Member

This speeds up pnpm build (especially locally), because a change to packages/next/src doesn't invalidate ALL other packages anymore

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Failing test suites

Commit: bf11e75 | About building and testing Next.js

pnpm test /home/runner/work/next.js/next.js/packages/next-codemod/lib/__tests__/agents-md-e2e.test.js (job)

  • agents-md e2e (CLI invocation) > getNextjsVersion > returns error when Next.js is not installed (DD)
Expand output

● agents-md e2e (CLI invocation) › getNextjsVersion › returns error when Next.js is not installed

expect(received).toBeNull()

Received: "16.2.3"

  437 |       const result = getNextjsVersion(nonNextDir)
  438 |
> 439 |       expect(result.version).toBeNull()
      |                              ^
  440 |       expect(result.error).toBe('Next.js is not installed in this project.')
  441 |     })
  442 |   })

  at Object.toBeNull (../packages/next-codemod/lib/__tests__/agents-md-e2e.test.js:439:30)

pnpm test /home/runner/work/next.js/next.js/packages/next-codemod/lib/__tests__/agents-md-e2e.test.js (job)

  • agents-md e2e (CLI invocation) > getNextjsVersion > returns error when Next.js is not installed (DD)
Expand output

● agents-md e2e (CLI invocation) › getNextjsVersion › returns error when Next.js is not installed

expect(received).toBeNull()

Received: "16.2.3"

  437 |       const result = getNextjsVersion(nonNextDir)
  438 |
> 439 |       expect(result.version).toBeNull()
      |                              ^
  440 |       expect(result.error).toBe('Next.js is not installed in this project.')
  441 |     })
  442 |   })

  at Object.toBeNull (../packages/next-codemod/lib/__tests__/agents-md-e2e.test.js:439:30)

pnpm test C:/a/next.js/next.js/packages/next-codemod/lib/__tests__/agents-md-e2e.test.js (job)

  • agents-md e2e (CLI invocation) > getNextjsVersion > returns error when Next.js is not installed (DD)
Expand output

● agents-md e2e (CLI invocation) › getNextjsVersion › returns error when Next.js is not installed

expect(received).toBeNull()

Received: "16.2.3"

  437 |       const result = getNextjsVersion(nonNextDir)
  438 |
> 439 |       expect(result.version).toBeNull()
      |                              ^
  440 |       expect(result.error).toBe('Next.js is not installed in this project.')
  441 |     })
  442 |   })

  at Object.toBeNull (../packages/next-codemod/lib/__tests__/agents-md-e2e.test.js:439:30)

pnpm test C:/a/next.js/next.js/packages/next-codemod/lib/__tests__/agents-md-e2e.test.js (job)

  • agents-md e2e (CLI invocation) > getNextjsVersion > returns error when Next.js is not installed (DD)
Expand output

● agents-md e2e (CLI invocation) › getNextjsVersion › returns error when Next.js is not installed

expect(received).toBeNull()

Received: "16.2.3"

  437 |       const result = getNextjsVersion(nonNextDir)
  438 |
> 439 |       expect(result.version).toBeNull()
      |                              ^
  440 |       expect(result.error).toBe('Next.js is not installed in this project.')
  441 |     })
  442 |   })

  at Object.toBeNull (../packages/next-codemod/lib/__tests__/agents-md-e2e.test.js:439:30)

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Stats cancelled

Commit: bf11e75
View workflow run

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