Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node: Re-create the lockfiles for the project-with-lockfile test projects #9449

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

fviernau
Copy link
Member

Make the results easy to compare.

Part of #9261.

@fviernau fviernau requested a review from a team as a code owner November 18, 2024 09:28
@fviernau fviernau enabled auto-merge (rebase) November 18, 2024 09:28
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.93%. Comparing base (1e58026) to head (4295eb2).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9449      +/-   ##
============================================
- Coverage     67.97%   67.93%   -0.04%     
+ Complexity     1291     1289       -2     
============================================
  Files           249      249              
  Lines          8792     8792              
  Branches        913      913              
============================================
- Hits           5976     5973       -3     
- Misses         2431     2433       +2     
- Partials        385      386       +1     
Flag Coverage Δ
funTest-docker 64.82% <ø> (-0.16%) ⬇️
test 35.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


🚨 Try these New Features:

@fviernau fviernau force-pushed the test-node-recreate-some-lockfiles branch from adac09b to 567e8e1 Compare November 18, 2024 10:34
definitionFile,
custom = mapOf("<REPLACE_LOCKFILE_NAME>" to "package-lock.json")
)
patchActualResult(result.toYaml()) should matchExpectedResult(expectedResultFile, definitionFile)
Copy link
Member

Choose a reason for hiding this comment

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

Should this have gone to a separate commit? In any case, please explain in the commit message why replacing REPLACE_LOCKFILE_NAME can be omitted now.

Copy link
Member

Choose a reason for hiding this comment

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

... and why the REPLACE_LOCKFILE_NAME replacement is kept for another place in this file in the next commit.

Copy link
Member Author

Choose a reason for hiding this comment

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

... and why the REPLACE_LOCKFILE_NAME replacement is kept for another place in this file in the next commit.

I explained it for this commit, but not for the next one.

Copy link
Member Author

Choose a reason for hiding this comment

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

...the reason why it's kept in the next one, is because the next commit is unrelated to updating any lockfile or dependencies.

@fviernau fviernau force-pushed the test-node-recreate-some-lockfiles branch from 567e8e1 to e055a54 Compare November 18, 2024 10:59
@fviernau fviernau requested a review from sschuberth November 18, 2024 11:00
@fviernau fviernau force-pushed the test-node-recreate-some-lockfiles branch from e055a54 to bdff1f9 Compare November 18, 2024 12:25
sschuberth
sschuberth previously approved these changes Nov 18, 2024
Make the results easier to compare. The lockfiles have been created with
`npm` 10.8.3, `pnpm` 9.9.0, `yarn` 1.22.19 and `yarn2` 3.2.1.

Note: The replacement for `REPLACE_LOCKFILE_NAME` is no more necessary,
because the issue which mentioned the lockfile name does no more happen
with the updated dependencies.

Signed-off-by: Frank Viernau <[email protected]>
Remove the replacement analog to 1e58026 and dfaa896.

Signed-off-by: Frank Viernau <[email protected]>
@fviernau fviernau disabled auto-merge November 18, 2024 16:10
@fviernau fviernau merged commit 24b4ac0 into main Nov 18, 2024
22 of 23 checks passed
@fviernau fviernau deleted the test-node-recreate-some-lockfiles branch November 18, 2024 16:10
@fviernau
Copy link
Member Author

Merge regardless of the unrelated clearlydefined test failures.

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.

2 participants