[ML] Publish ml-cpp-ci rollup commit status for PR builds#3112
Merged
Conversation
Co-authored-by: Cursor <[email protected]>
This was referenced Jul 24, 2026
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
Part 1 of making auto-backport-and-merge (#3099) safe: publish a single, stable rollup CI status so merges can be gated on it.
Today
ml-cpp-pr-buildsruns withset_commit_status: false, so the only per-commit signals are the individual Buildkite step statuses ("Build and test on … RelWithDebInfo", etc.). None are marked required, sogh pr merge --auto(armed by the backport workflow) merges as soon asCLA/snyk/clang-format/review are green — before the build/test matrix finishes. That's how the #3080/#3081 backports (#3106–#3111) auto-merged mid-build.This flips
set_commit_status: true(the contextml-cpp-ciis already defined) sobuildkite-pr-botpublishes one overallml-cpp-cistatus per PR head commit.Why a rollup rather than requiring the per-step contexts
mainand every release branch (the per-step names differ between pipelines).ci:skip-es-tests, single-platformbuildkite build on linux, …) that don't post every per-step context — a required per-step check that never arrives would block the PR forever.Follow-up (not in this PR)
Once merged and
mainserves the new config, the next PR build will carry anml-cpp-cistatus. After confirming it transitionspending → success/failure, addml-cpp-cito the required status checks onmain/9.5/9.4/8.19so auto-merge waits for CI.Notes
.buildkite/pull-requests.json, which is inskip_ci_on_only_changed, so the C++ matrix is intentionally skipped here.Made with Cursor