Skip to content

agents(monitor-ci-results): autonomous flake retries via subagent and forbid file lists in PRs - #4001

Merged
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:agents-ci-monitor-flake-retries
Aug 5, 2026
Merged

agents(monitor-ci-results): autonomous flake retries via subagent and forbid file lists in PRs#4001
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:agents-ci-monitor-flake-retries

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

agents(monitor-ci-results): autonomous flake retries via subagent and forbid file lists in PRs

Scopes process checks (pgrep -f "monitor_remote_ci.py <pr_number>") specifically to
the target PR number to prevent cross-PR monitoring conflicts when multiple agent
conversations run concurrently. Automates recovery from transient infrastructure
or network flakes without requiring manual human intervention.

Updates monitor-ci-results workflow steps to require PR-scoped process lookups
and introduces an autonomous retry step that spawns a dedicated retrier subagent
via a prompt template (retry-job-prompt.md) to execute the buildkite-retry-job
skill.

… forbid file lists in PRs

When monitoring CI, include the specific PR number in process greps to avoid
matching monitors for other PRs. Additionally, when a CI failure is confirmed as
a transient infrastructure flake, autonomously spawn a subagent to invoke the
buildkite-retry-job skill using a prompt template rather than executing scripts
directly. Finally, forbid manual lists of modified files in PR descriptions.
@rickeylev
rickeylev requested a review from aignas as a code owner August 5, 2026 01:44
@rickeylev
rickeylev merged commit 5f268ab into bazel-contrib:main Aug 5, 2026
4 of 6 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