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: move flags that should only be set with bazel 6 to bazel6.bazelrc recommended settings #711

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

gregmagolan
Copy link
Collaborator

@gregmagolan gregmagolan commented Jan 4, 2024

The issue with "build without the bytes" and --experimental_action_cache_store_output_metadata in Bazel 6 that was reported in this blog post has been resolved in Bazel 7 so that flag is not needed in bazel7.bazelrc recommended presets.

A new issue with Bazel 7 with "build without the bytes" and --noexperimental_check_output_files was found so that flag is moved to bazel6 only. See aspect-build/aspect-cli#594 for more info.


Type of change

  • Bug fix (change which fixes an issue)

For changes visible to end-users

  • Suggested release notes are provided below:

  • --experimental_action_cache_store_output_metadata flag is moved to bazel6.bazelrc recommended flags as the undelrying issue was resolved in Bazel 7
    --noexperimental_check_output_files is no longer in our general recommended performance flags as it break "build without the bytes" on Bazel 7.0.0. Instead it has been moved to bazel6.bazelrc recommended flags.

Test plan

  • Manual testing; please provide instructions so we can reproduce:

Resolved --noexperimental_check_output_files issue in aspect-cli repo: aspect-build/aspect-cli#594

Tested --noexperimental_check_output_files with Bazel 7 in aspect-cli repo: aspect-build/aspect-cli#595

@gregmagolan gregmagolan force-pushed the remove_recommended_experimental_check_output_files branch from 8bfeab1 to 69c05de Compare January 4, 2024 03:57
@gregmagolan gregmagolan changed the title fix: don't recommend --noexperimental_check_output_files as it break 'build without the bytes' with Bazel 7 fix: move flags that should only be set with bazel 6 to bazel6.bazelrc recommended settings Jan 4, 2024
@gregmagolan gregmagolan force-pushed the remove_recommended_experimental_check_output_files branch 2 times, most recently from 78c153d to 7ef087b Compare January 4, 2024 04:05
@gregmagolan gregmagolan force-pushed the remove_recommended_experimental_check_output_files branch from 7ef087b to 24a0211 Compare January 4, 2024 04:33
@alexeagle alexeagle merged commit d313c8b into main Jan 4, 2024
71 checks passed
@alexeagle alexeagle deleted the remove_recommended_experimental_check_output_files branch January 4, 2024 16:17
gregmagolan added a commit that referenced this pull request Jan 5, 2024
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