chore: add some skills and update agents doc#3696
Merged
aignas merged 2 commits intobazel-contrib:mainfrom Apr 12, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces new agent skills for retrieving Buildkite results and retrying failed jobs, along with updates to the AGENTS.md documentation regarding Bazel configurations and repository structure. The review feedback suggests several improvements to the Python scripts, such as adding timeouts to network requests for robustness, handling URL fragments more safely, and ensuring that job filtering logic correctly implements the documented regex support.
Comment on lines
+48
to
+51
| if not build_url.endswith(".json"): | ||
| json_url = build_url + ".json" | ||
| else: | ||
| json_url = build_url |
Contributor
| json_url = build_url | ||
|
|
||
| try: | ||
| with urllib.request.urlopen(json_url) as response: |
Contributor
| # We need to transform it. | ||
|
|
||
| if "#" in job_url: | ||
| base, job_id = job_url.split("#") |
Contributor
| return False | ||
|
|
||
| try: | ||
| with urllib.request.urlopen(raw_url) as response: |
Contributor
| #!/usr/bin/env python3 | ||
| import argparse | ||
| import json | ||
| import os |
Contributor
|
|
||
| req = urllib.request.Request(url, data=data, headers=headers, method=method) | ||
| try: | ||
| with urllib.request.urlopen(req) as response: |
Contributor
Comment on lines
+73
to
+78
| if ( | ||
| args.job_name | ||
| and args.job_name.lower() not in job_name.lower() | ||
| and args.job_name.lower() not in job.get("step_key", "").lower() | ||
| ): | ||
| continue |
Contributor
There was a problem hiding this comment.
aignas
approved these changes
Apr 12, 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.
Some misc instructions for agents to follow.
confused trying to run code in different sub-modules.
build performance, not to mention takes many minutes itself
just integration tests now.
Add skills for interacting with build kite, which makes automating
PRs a bit easier.