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

fix: pnpm v9 version edge cases #1732

Closed
wants to merge 73 commits into from

Conversation

jbedard
Copy link
Member

@jbedard jbedard commented May 15, 2024

More minor changes to the pnpm 9 lockfile data.


Changes are visible to end-users: no

Test plan

  • New test cases added
  • Manual testing; please provide instructions so we can reproduce:

…js_filegroup rules and gather_files_from_js_providers + gather_runfiles helpers (aspect-build#1585)
…ng unused npm_linked_packages from JsInfo; rename load bearing npm_linked_package_files to npm_linked_packages (aspect-build#1588)
jbedard and others added 23 commits May 14, 2024 09:51
…s declarations, transitive_declarations, npm_package_store_deps and transitive_npm_linked_package_files (aspect-build#1715)
@jbedard jbedard requested a review from gregmagolan May 15, 2024 05:53
Copy link

aspect-workflows bot commented May 15, 2024

Test

⚠️ Buildkite build #3983 failed.

Failed tests (1)
//npm/private/test:write_npm_translate_lock_bzlmod_0_test [k8-fastbuild]                 533ms

💡 To reproduce the test failures, run

bazel test //npm/private/test:write_npm_translate_lock_bzlmod_0_test

Test

e2e/bzlmod

All tests were cache hits

4 tests (100.0%) were fully cached saving 467ms.


Test

e2e/gyp_no_install_script

All tests were cache hits

2 tests (100.0%) were fully cached saving 693ms.


Test

e2e/js_image_oci

All tests were cache hits

1 test (100.0%) was fully cached saving 9s.


Test

e2e/npm_link_package

All tests were cache hits

2 tests (100.0%) were fully cached saving 845ms.


Test

e2e/npm_link_package-esm

All tests were cache hits

2 tests (100.0%) were fully cached saving 773ms.


Test

e2e/npm_translate_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 73ms.


Test

e2e/npm_translate_lock_empty

All tests were cache hits

1 test (100.0%) was fully cached saving 73ms.


Test

e2e/npm_translate_lock_multi

All tests were cache hits

2 tests (100.0%) were fully cached saving 271ms.


Test

e2e/npm_translate_lock_partial_clone

All tests were cache hits

1 test (100.0%) was fully cached saving 117ms.


Test

e2e/npm_translate_lock_subdir_patch

All tests were cache hits

1 test (100.0%) was fully cached saving 248ms.


Test

e2e/npm_translate_package_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 73ms.


Test

e2e/npm_translate_yarn_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 73ms.


Test

e2e/package_json_module

All tests were cache hits

1 test (100.0%) was fully cached saving 511ms.


Test

e2e/pnpm_lockfiles

4 test targets passed

Targets
//v54:lockfile [k8-fastbuild]                                                                           167ms
//v60:lockfile [k8-fastbuild]                                                                           58ms
//v61:lockfile [k8-fastbuild]                                                                           73ms
//v90:lockfile [k8-fastbuild]                                                                           274ms

Total test execution time was 572ms. 4 tests (50.0%) were fully cached saving 2s.


Test

e2e/pnpm_workspace

All tests were cache hits

8 tests (100.0%) were fully cached saving 3s.


Test

e2e/pnpm_workspace_rerooted

All tests were cache hits

6 tests (100.0%) were fully cached saving 2s.


Test

e2e/repo_mapping

All tests were cache hits

2 tests (100.0%) were fully cached saving 451ms.


Test

e2e/rules_foo

All tests were cache hits

2 tests (100.0%) were fully cached saving 393ms.


Test

e2e/vendored_node

All tests were cache hits

1 test (100.0%) was fully cached saving 187ms.


Buildifier      Format

@jbedard jbedard marked this pull request as draft May 17, 2024 06:09
@jbedard
Copy link
Member Author

jbedard commented May 17, 2024

replaced with #1735

@jbedard jbedard closed this May 17, 2024
@jbedard jbedard deleted the pnpm-v9-npm-alias branch May 17, 2024 18:11
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.

3 participants