Skip to content

Conversation

@Vertexwahn
Copy link
Contributor

@bazel-io
Copy link
Member

bazel-io commented Nov 1, 2025

Hello @c8ef, modules you maintain (onetbb) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@Vertexwahn
Copy link
Contributor Author

@bazel-io skip_check unstable_url

@bazel-io bazel-io added the skip-url-stability-check Skip the URL stability check for the PR label Nov 1, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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'
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

There are two issues with the presubmit configuration:

  1. Critical: The build_targets entry '@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.
  2. 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

  1. The style guide recommends adding test targets to presubmit configurations to verify module correctness.

bazel-io
bazel-io previously approved these changes Nov 1, 2025
Copy link
Member

@bazel-io bazel-io left a 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.

c8ef
c8ef previously approved these changes Nov 2, 2025
@Vertexwahn
Copy link
Contributor Author

Need a BCR maintainer review, since presubmit was changed

@Wyverald Wyverald added the presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval label Nov 5, 2025
@bazel-io
Copy link
Member

Hello @c8ef, modules you maintain (onetbb) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@bazel-io bazel-io dismissed stale reviews from c8ef and themself November 17, 2025 18:16

Require module maintainers' approval for newly pushed changes.

bazel-io
bazel-io previously approved these changes Nov 17, 2025
Copy link
Member

@bazel-io bazel-io left a 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.

@bazel-io bazel-io dismissed their stale review November 18, 2025 17:40

Require module maintainers' approval for newly pushed changes.

bazel-io
bazel-io previously approved these changes Nov 18, 2025
Copy link
Member

@bazel-io bazel-io left a 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.

@bazel-io bazel-io dismissed their stale review November 18, 2025 18:08

Require module maintainers' approval for newly pushed changes.

Copy link
Member

@bazel-io bazel-io left a 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.

@bazel-io bazel-io merged commit b9a715b into bazelbuild:main Nov 18, 2025
28 checks passed
@bazel-io bazel-io added the auto-merged This PR is automatically merged by the BCR reviewer bot. label Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merged This PR is automatically merged by the BCR reviewer bot. presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval skip-url-stability-check Skip the URL stability check for the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants