Skip to content

PGO: Don't re-run benchmarks if their results will be discarded.#11828

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test/cl773070831
Jun 18, 2025
Merged

PGO: Don't re-run benchmarks if their results will be discarded.#11828
copybara-service[bot] merged 1 commit intomasterfrom
test/cl773070831

Conversation

@copybara-service
Copy link
Copy Markdown

PGO: Don't re-run benchmarks if their results will be discarded.

This moves the "should this be skipped?" logic earlier in the pipeline
so that it can be used prior to running benchmarks at all, which consume
a bunch of machine-hours for no reason if their results will be discarded.

BuildKite doesn't seem to have a way for an intermediate step to mark the
whole pipeline as skippable, so this refactors the skip logic to its own
script that can be used as skip-or.sh || else_do_this.
Use it in all steps.

@copybara-service copybara-service bot added the exported Issue was exported automatically label Jun 18, 2025
This moves the "should this be skipped?" logic earlier in the pipeline
so that it can be used prior to running benchmarks at all, which consume
a bunch of machine-hours for no reason if their results will be discarded.

BuildKite doesn't seem to have a way for an intermediate step to mark the
whole pipeline as skippable, so this refactors the skip logic to its own
script that can be used as `skip-or.sh || else_do_this`.
Use it in all steps.

PiperOrigin-RevId: 773103605
@copybara-service copybara-service bot merged commit 85c27ad into master Jun 18, 2025
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl773070831 branch June 18, 2025 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant