Uh oh!
There was an error while loading. Please reload this page.
lookup: add next - #1044
Conversation
- Closesnodejs#1017
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #1044 +/- ##
==========================================
- Coverage 96.33% 95.23% -1.11%
==========================================
Files 28 28 Lines 2181 2181 ==========================================
- Hits 2101 2077 -24 - Misses 80 104 +24 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
GeoffreyBooth
left a comment
There was a problem hiding this comment.
Looks good assuming you can get CI to pass. That might be something that needs fixing on the Next side, though, if some of the tests are flaky; maybe a different test command can be created that’s essentially “run the tests that we think should always pass.”
@GeoffreyBooth It looks like windows has been failing on main for awhile https://github.com/nodejs/citgm/commits/main Furthermore, I'm not sure if citgm actually runs any tests against the lookup.json file that I modified. |
Ethan-Arrowood
commented
Jan 9, 2024
@GeoffreyBooth does the CI run |
GeoffreyBooth
commented
Jan 9, 2024
I’m not very knowledgeable of how CITGM works. Perhaps @targos knows? |
targos
commented
Jan 9, 2024
Here's a first test run: https://github.com/nodejs/citgm/actions/runs/7466807218 |
targos
commented
Jan 9, 2024
CI doesn't run |
Ethan-Arrowood
commented
Jan 9, 2024
Looks like it didn't install correctly: https://github.com/nodejs/citgm/actions/runs/7466807218/job/20319001003#step:5:12 |
styfle
commented
Jan 9, 2024
This should fix it: vercel/next.js#60443 |
The postinstall script was failing In the case when you download [a zip](https://codeload.github.com/vercel/next.js/zip/refs/heads/canary) of the repo. This PR fixes it so that `git config` can fail silently in that case when the repo is not using git. - Related to nodejs/citgm#1044 Closes NEXT-2036
styfle
commented
Jan 9, 2024
@targos Can you try once more now that its fixed? |
Ethan-Arrowood
commented
Jan 10, 2024
Looks like we may need to skip on windows. Otherwise it seems to have passed on mac and linux 🎉 |
styfle
commented
Jan 10, 2024
@targos I added skip win32. Please run once more (Third time's the charm ☘️ ) |
targos
commented
Jan 10, 2024
OK, let's do a full run in Jenkins. |
styfle
commented
Jan 10, 2024
@targos Looks like pnpm support isn't quite working. Its not selecting the correct version of pnpm I think we need to make sure |
targos
commented
Jan 11, 2024
|
styfle
commented
Jan 11, 2024
@targos Interesting. Then perhaps |
GeoffreyBooth
commented
Jan 11, 2024
Why does it need to use a precise version of pnpm? Surely 8.14.0 and 8.14.1 aren’t that different? |
@GeoffreyBooth Next.js is a highly visible project that receives many PRs. We lock down the package manager version so that contributors fail fast when they have the wrong pnpm installed rather than then submitting an issue saying it doesn't work and we have to ask for system details, etc. In theory, a patch version should't matter, but in practice it can and there is no reason to leave it open for interpretation. Thats probably the same reason why the Thankfully, there is a tool to solve this now: corepack. So most of the |
GeoffreyBooth
commented
Jan 11, 2024
Okay, do you want to update CITGM accordingly? |
Ethan-Arrowood
commented
Jan 11, 2024
Would that be this workflow file? citgm/.github/workflows/test-module.yml Line 59 in 44548b7 |
styfle
commented
Jan 11, 2024
I can’t seem to find the place where package managers are installed? Can you share the line of code? |
GeoffreyBooth
commented
Jan 12, 2024
They're just dependencies of CITGM, so they'd get installed via that. |
styfle
commented
Mar 9, 2024
Should I add corepack support to citgm? Perhaps right before install here? citgm/lib/package-manager/install.js Line 99 in 12e6902 |
Checklist
npm testpasseshere
Related
Co-authored-by: Ethan Arrowood ethan@arrowood.dev