Closed jbedard closed 1 month ago
Here's a CI run at HEAD with the current failure: https://github.com/aspect-build/rules_js/actions/runs/11374410329/job/31643056254#step:7:1543
3 test targets passed
//.aspect/bazelrc:update_aspect_bazelrc_presets_1_test [k8-fastbuild] 91ms //.aspect/bazelrc:update_aspect_bazelrc_presets_2_test [k8-fastbuild] 90ms //.github/workflows:update_aspect_bazelrc_presets_1_test [k8-fastbuild] 92ms
Total test execution time was 273ms. 200 tests (98.5%) were fully cached saving 39s.
All tests were cache hits
5 tests (100.0%) were fully cached saving 789ms.
All tests were cache hits
2 tests (100.0%) were fully cached saving 169ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 9s.
All tests were cache hits
3 tests (100.0%) were fully cached saving 920ms.
All tests were cache hits
3 tests (100.0%) were fully cached saving 924ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 27ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 27ms.
All tests were cache hits
2 tests (100.0%) were fully cached saving 296ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 112ms.
All tests were cache hits
3 tests (100.0%) were fully cached saving 233ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 236ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 81ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 81ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 504ms.
All tests were cache hits
40 tests (100.0%) were fully cached saving 3s.
All tests were cache hits
10 tests (100.0%) were fully cached saving 2s.
All tests were cache hits
12 tests (100.0%) were fully cached saving 3s.
All tests were cache hits
2 tests (100.0%) were fully cached saving 493ms.
All tests were cache hits
2 tests (100.0%) were fully cached saving 153ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 413ms.
All tests were cache hits
1 test (100.0%) was fully cached saving 171ms.
@ahmedneilhussain you logged the original issue (https://github.com/aspect-build/rules_js/issues/1045) the tests changed in this PR were testing. Do you know if you're already using bazel-lib >= 2.8.1 and can confirm your issue is still fixed?
This is to include https://github.com/bazel-contrib/bazel-lib/commit/73d021fb368c67be40ae204a62cfa789e14515a7 which fixed a bug in
run_binary
and thereforejs_run_binary
.Currently the rules_js WORKSPACE deps have this fix but bzlmod does not. This change upgrades the minimum bazel-lib version to include this fix.
The updated assertions align with running node outside bazel on the cli:
The stdout has no quotes despite the arguments being quoted. The tests updated in this change show rules_js now does the same.
Changes are visible to end-users: no
Test plan