Skip to content

agents(ci): automatically unblock Buildkite presubmit approval steps - #4268

Merged
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:manage_agent_config_files
Oct 14, 2026
Merged

rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:manage_agent_config_files

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

Modifying .bazelci/presubmit.yml inserts a manual Buildkite approval
step that blocks all downstream CI jobs until someone unblocks it.
Previously, monitor_remote_ci.py queried data/jobs.json, which
omits type: "manual" block steps, and retry_buildkite_jobs.py
rebuilt blocked builds instead of unblocking them.

Update monitor_remote_ci.py to fetch job metadata via bk build view --json and automatically unblock manual approval steps with bk job unblock --no-input. Add --unblock and default manual-step
unblocking to retry_buildkite_jobs.py, and document unblocking in
the CI monitoring, retry, and merge skills.

Modifying `.bazelci/presubmit.yml` inserts a manual Buildkite approval
step that blocks all downstream CI jobs until someone unblocks it.
Previously, `monitor_remote_ci.py` queried `data/jobs.json`, which
omits `type: "manual"` block steps, and `retry_buildkite_jobs.py`
rebuilt blocked builds instead of unblocking them.

Update `monitor_remote_ci.py` to fetch job metadata via `bk build view
--json` and automatically unblock manual approval steps with `bk job
unblock --no-input`. Add `--unblock` and default manual-step
unblocking to `retry_buildkite_jobs.py`, and document unblocking in
the CI monitoring, retry, and merge skills.
@rickeylev
rickeylev requested a review from aignas as a code owner October 14, 2026 16:39
@rickeylev
rickeylev merged commit c9c1794 into bazel-contrib:main Oct 14, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant