Repository navigation
tests: fix flaky nested consumer tests in the gate - #14797
Merged
Merged
Conversation
The per-OS check and coverage jobs from #14772 run dx --affected without the old pr-check exclusion, so the nested-Bazel consumer tests time out in a 60 s small slot on every PR that touches them. A gate config restores the manual, resources:nested_bazel:1, starter-consumer and network-consumer exclusion and keeps coverage's own filters. The nightly network job still runs them; #14793 brings them back into the gate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
A .bazelrc change widens dx --affected to //..., so keep the filter in the gate action instead of a .bazelrc config. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
Collaborator
Author
|
In run 45293932294, |
Collaborator
Author
|
Review: approve
🤖 Generated with Claude Code |
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.
Part of #14770. Refs #14793, #14777.
The per-OS
checkandcoveragejobs added in #14772 rundx check|coverage --affectedwithout the exclusion thatpr-checkused to apply (manual|resources:nested_bazel:1|starter-consumer|network-consumer).As a result, these nested-Bazel consumer tests time out every time on PRs that affect them. They are
smalltests (60 s), but their real cold run takes 100–550 s with network fetches (run 45224993805)://tools/testing/consumer:go_prebuilt_guard_test//tools/testing/consumer:java_prebuilt_guard_test//tools/testing/consumer:cold_start_test//deploy/private/release/tests:release_consumer_smoke_testChange
.github/actions/gatenow passes--test_tag_filters=-manual,-resources:nested_bazel:1,-starter-consumer,-network-consumerto dx.coverage, it puts coverage's own-no-coverage,-dx-no-coverage-collectorin front, so neither filter is lost.ci-pris only set on pull_request..bazelrc, because a.bazelrcchange widens--affectedto//....No tests are tagged and no budgets change. The nightly network job keeps running these tests. #14777 (a shared nested cache) and #14793 (one
dx testper OS) bring them back into the gate once they are fast.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus