Skip to content

Conversation

@bjohansebas
Copy link
Member

Description

Validation

Related Issues

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Copilot AI review requested due to automatic review settings July 15, 2025 01:33
@bjohansebas bjohansebas requested review from a team as code owners July 15, 2025 01:33
@vercel
Copy link

vercel bot commented Jul 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Jul 15, 2025 1:33am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Next.js build pipeline by enabling Turbopack in the default build and bumps the Next.js dependency to v15.4.1.

  • Adds --turbo flag to build:default script
  • Bumps next from 15.3.4 to 15.4.1
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (2)

apps/site/package.json:9

  • Consider adding or updating tests to verify that the build process with the --turbo flag completes successfully and produces the expected output.
    "build:default": "cross-env NODE_NO_WARNINGS=1 next build --turbo",

apps/site/package.json:6

  • [nitpick] Since build:default now always includes the --turbo flag, the top-level build script is passing it redundantly; you could simplify it to node --run build:default.
    "build": "node --run build:default -- --turbo",

@codecov
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.08%. Comparing base (b035290) to head (0d092e0).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7981      +/-   ##
==========================================
- Coverage   73.10%   73.08%   -0.03%     
==========================================
  Files          95       95              
  Lines        8355     8355              
  Branches      219      219              
==========================================
- Hits         6108     6106       -2     
- Misses       2246     2248       +2     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@avivkeller avivkeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think turbo has been unflagged.

With that in mind, why not wait for Dependabot to do this?

@bjohansebas
Copy link
Member Author

I don't think turbo has been unflagged.

Why not use it? Supposedly it passes all the tests, right? I understand there might still be risks until it stabilizes and has been tested for a while, so I get why we don't want to use Turbopack in the builds yet.

With that in mind, why not wait for Dependabot to do this?

i don't know 🤷, i got hyped haha

Copy link
Member

@ovflowd ovflowd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't change random things and let Dependabot do its job lol

"build:blog-data": "cross-env NODE_NO_WARNINGS=1 node ./scripts/blog-data/generate.mjs",
"build:blog-data:watch": "node --watch --watch-path=pages/en/blog ./scripts/blog-data/generate.mjs",
"build:default": "cross-env NODE_NO_WARNINGS=1 next build",
"build:default": "cross-env NODE_NO_WARNINGS=1 next build --turbo",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you changing this line? This has nothing to do with Turbopack being stable or not. Open Next is not compatible with Turbopack.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Between open-next and next, I'm already starting to get confused.

@bjohansebas
Copy link
Member Author

Okay, I got carried away haha, I'm going to close it

@bjohansebas bjohansebas deleted the next-update branch July 15, 2025 02:03
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.

4 participants