Disallow benchmarks on commit tag-triggered pipelines#11987
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8f6e730100
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
More details
Configuration change correctly prevents benchmark execution on version tag-triggered pipelines by changing from manual to never trigger rules. No behavioral regressions detected in the core intent. The addition of explicit rules to the linux-java-spring-petclinic-parallel job changes its execution model (previously no explicit rules, now requires manual trigger for PR branches), but this aligns with the stated goal to reduce unnecessary benchmark runs.
📊 Validated against 6 scenarios · Open Bits AI session
🤖 Datadog Autotest · Commit 8f6e730 · What is Autotest? · Any feedback? Reach out in #autotest
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
|
Review from Claude OverviewDisallows JMH benchmark jobs from running on commit-tag-triggered (release) pipelines in Correctness
Issues / Risks
Test coveragePure CI config change; hard to unit test. Worth confirming this was validated against an actual tag pipeline (or GitLab CI lint), since rule-matching bugs are easy to introduce subtly, as the SummaryCore fix is sound. Recommend either reusing the shared anchor for |
mhdatie
left a comment
There was a problem hiding this comment.
The rationale behind the change makes sense to me 👍 Great catch
These benchmarks never inherited the local
This is obvious IMO when reading the code.
There are no schedule behavior changes except that the benchmarks are not manually runnable on commit tag-triggered pipelines any more - prior to this PR, they did not run automatically here anyway. |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What Does This Do
Disallow benchmarks from running on commit tag-triggered pipelines
Motivation
Commit tag-triggered pipelines run for releases only off of the latest
masterpipeline commit. This commit already has amasterGitLab pipeline run with benchmarks, so there's no need to run the same benchmarks for the commit tag-triggered pipelines.Furthermore, benchmark jobs pull artifacts from a merge-base pipeline to compare benchmarking results against. There is currently no support for finding the merge-base pipeline corresponding to a commit tag-triggered pipeline (see example failed jobs). We could add support; however, we don't need to run the benchmarks on commit tag-triggered pipelines anyway - hence the changes in this PR.
Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]