Repository navigation
agents: add shell scripting rule and artifact staging/Starlark rules - #4308
Merged
rickeylev merged 4 commits intoOct 22, 2026
Merged
Conversation
Spinning up a separate GitHub Actions runner for each of the six Linux platforms is unnecessary now that Linux release builds run on BuildBuddy RBE. Replace the six Linux matrix entries with a single `linux` job that builds `//dev/release_artifacts:cross_compiled_artifacts`, and include `x86_64-unknown-linux-gnu` in that target along with a manifest file so one runner builds and verifies all Linux binaries in a single Bazel invocation. Work towards bazel-contrib#4216
Cross-compiled Linux outputs live in separate bazel-out/<cfg> directories, causing actions/upload-artifact to preserve those subdirectories when uploading raw manifest paths. Copy the manifest files into release-artifacts/ so they are uploaded flat.
Add .agents/rules/shell.md for bash control flow and safe manifest reading, document flat artifact staging across Bazel split transitions in github_actions_workflows.md, and document provider/comprehension/BUILD export rules in starlark.md.
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.
Capture review feedback from cross-building Linux release artifacts so
agents avoid repeating shell, workflow, and Starlark pitfalls.
Codify guidelines for flat artifact staging across Bazel split
transitions, safe manifest iteration and
elifusage in shell scripts,and dedicated providers, explicit
forloops, and minimalBUILDexports in Starlark.