soft_fail CI tasks, upgrade to rules_python-1.6.0 #1768
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Updates the
test_rules_scala_linux_last_green
and the matrixedbcr_presubmit
jobs to usesoft_fail
. Upgradesrules_python
from 1.6.0-rc0 to 1.6.0.Also adds the
{bcr_bazel}
value to matrixedbcr_presubmit
job names.Motivation
It occurred to me that we don't want failing
bcr_presubmit
jobs for Bazel8.x
,rolling
, orlast_green
to potentially block pull requests. Breakages under these versions could be due to unrelated upstream Bazel changes, addressable in a separate pull request.Also, the
test_rules_scala_linux_last_green
build step usingbuildkite-agent annotate
doesn't fit thebcr_presubmit
jobs well. These annotations were also somewhat easy to miss, leading to thetest_rules_scala_linux_last_green
job occasionally remaining broken for some time.Today I learned about the
soft_fail
attribute of Buildkite commands, discovering it by skimming thebazelbuild/continuous-integration
source.soft_fail
ing jobs clearly show as broken in the UI, while the build as a whole remains passing.Regarding the
rules_python
update, it was just released a day after opening and merging #1767.Adding
{bcr_bazel}
to the matrixedbcr_presubmit
job names makes each job more easily distinguishable in the Buildkite UI. Each job's output clearly shows its corresponding Bazel version, but it's nice to see the version in the job name directly.