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

Update Bazel to 7.1.1, slight cleanup and compatibility improvements #1709

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

fhanau
Copy link
Collaborator

@fhanau fhanau commented Feb 22, 2024

This should improve performance and stability, 7.1 includes a number of performance and correctness improvements for remote caching, sandboxed execution and fetching dependencies.

Commit message:

7.1 (https://github.com/bazelbuild/bazel/releases/tag/7.1.0) introduces
a number of bug fixes and performance improvements, 7.1.1 has some
additional bug fixes.

  • Pass all parameters in kj_test to ensure tags will actually be
    applied, avoiding a considerable footgun.
  • Clean up a few globs, allowing us to enable incompatible_disallow_empty_glob
  • Flip --legacy_external_runfiles early to avoid generating superfluous
    runfile trees.
  • Update wd_ts_bundle to fix --legacy_external_runfiles=false for
    dependents.

@fhanau fhanau force-pushed the felix/bazel-7.1 branch 6 times, most recently from eda8fba to eb5b9d6 Compare February 22, 2024 22:29
@fhanau fhanau force-pushed the felix/bazel-7.1 branch 6 times, most recently from 4efe1a8 to ba460a6 Compare March 8, 2024 03:52
@fhanau fhanau force-pushed the felix/bazel-7.1 branch 16 times, most recently from 39337f5 to 9885217 Compare March 17, 2024 22:33
@fhanau fhanau changed the title [WIP] Upgrade to bazel 7.1 Update Bazel to 7.1.1, slight cleanup and compatibility improvements Mar 21, 2024
@fhanau fhanau marked this pull request as ready for review March 21, 2024 21:36
@fhanau fhanau requested review from a team as code owners March 21, 2024 21:36
7.1 (https://github.com/bazelbuild/bazel/releases/tag/7.1.0) introduces
a number of bug fixes and performance improvements, 7.1.1 has some
additional bug fixes.

- Pass all parameters in kj_test to ensure tags will actually be
  applied, avoiding a considerable footgun.
- Clean up a few globs, allowing us to enable incompatible_disallow_empty_glob
- Flip --legacy_external_runfiles early to avoid generating superfluous
  runfile trees.
- Update wd_ts_bundle to fix --legacy_external_runfiles=false for
  dependents.
Comment on lines -12 to -13
exclude = [
"internal/test/*",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason you don't want to exclude this anymore?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Excluding this is not needed – internal/*.{js,ts} covers files in the internal directory, but not the subdirectories.

@fhanau fhanau merged commit 1c2c879 into main Mar 25, 2024
10 checks passed
@fhanau fhanau deleted the felix/bazel-7.1 branch March 25, 2024 16:42
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