Repository navigation
lock-refresh: let push refreshes finish and merge the root lock when nested tests fail - #15048
Merged
Merged
Conversation
…nested tests fail Every merge to main cancelled the hour-long on-push refresh, so it never finished (runs 46155505978, 46156611009, 46156784008). Push runs no longer cancel in progress; GitHub keeps one running and only the newest push pending. Dispatches for a pull request still cancel. A nested test failure on any platform failed its nested job and skipped the merge, so run 46151831183 committed nothing even though every lock job passed. The record step now continues on error, its records are still collected, and the merge job runs whenever the lock jobs succeed, merging the nested sets that recorded.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Two things kept
lock-refresh.ymlfrom fixingmain's staleMODULE.bazel.lock.cancel-in-progressis nowgithub.event_name != 'push' && inputs.pr != ''.mainalways gets a refresh./lock-refresh, dx-update) still cancel an older refresh of the same branch.lockjob passed. Butrelease_consumer_smoke_testshard 5 andnested_bazel_harness_testfailed on all platforms (job 140999929219), somergewas skipped and nothing was committed.continue-on-error: true. The test failures stay visible on that step and belong to the test run.!cancelled().mergenow needs only thelockjobs (and android maven when requested).nested-*artifacts exist. When none exist, it merges only the root lock and posts a warning.The two failing nested tests are being fixed separately.
.github/workflows/README.mdis updated.Known limit
nested_cache_update --fromwrites each set from the hosts that recorded it. If a set records on some platforms but not others, the committed set loses the missing hosts' entries until the next full record.consumer_deps_testreports a nested set that is stale against the root lock.Verification
tools/dx check --apply --affected: ok, exit 0. This covers actionlint and zizmor.main.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvdpJxYihWhnWtH8yv