-
Notifications
You must be signed in to change notification settings - Fork 618
[email protected] #6366
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
[email protected] #6366
Conversation
|
Hello @c8ef, modules you maintain (onetbb) have been updated in this PR. |
|
@bazel-io skip_check unstable_url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds version 2022.2.0 for the onetbb module. The changes are mostly correct and follow the add-only policy of the BCR. However, I've found a critical issue in the presubmit.yml file that will cause presubmit checks to fail. I've also included a high-severity suggestion for the BUILD.bazel overlay to better align with the BCR style guide, such as adding a target alias and documenting the overlay's creation. Please review the comments for details.
| build_targets: | ||
| - '@onetbb//:tbb' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two issues with the presubmit configuration:
- Critical: The
build_targetsentry'@onetbb//:tbb'is incorrect. For anonymous module tasks, targets must be referenced from the workspace root (e.g.,//:tbb). The current configuration will cause presubmit to fail. - High: The configuration only builds the library but doesn't run any of the tests defined in
BUILD.bazel. The BCR style guide strongly encourages running tests in presubmit to ensure correctness.1
The suggestion below fixes the target path and adds test_targets to run all available tests.
build_targets:
- '//:tbb'
test_targets:
- '//...'Style Guide References
Footnotes
-
The style guide recommends adding test targets to presubmit configurations to verify module correctness. ↩
bazel-io
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All modules in this PR have been approved by their maintainers. This PR will be merged if all presubmit checks pass.
|
Need a BCR maintainer review, since presubmit was changed |
bef06c9 to
a8e01b3
Compare
|
Hello @c8ef, modules you maintain (onetbb) have been updated in this PR. |
Require module maintainers' approval for newly pushed changes.
bazel-io
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All modules in this PR have been approved by their maintainers. This PR will be merged if all presubmit checks pass.
2730382 to
70a1d22
Compare
Require module maintainers' approval for newly pushed changes.
70a1d22 to
738dc05
Compare
bazel-io
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All modules in this PR have been approved by their maintainers. This PR will be merged if all presubmit checks pass.
Require module maintainers' approval for newly pushed changes.
bazel-io
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All modules in this PR have been approved by their maintainers. This PR will be merged if all presubmit checks pass.
[email protected]