feat(ci): add aspect ci runner-metadata and aspect ci runner-health-check#1303
Open
gregmagolan wants to merge 1 commit into
Open
feat(ci): add aspect ci runner-metadata and aspect ci runner-health-check#1303gregmagolan wants to merge 1 commit into
aspect ci runner-metadata and aspect ci runner-health-check#1303gregmagolan wants to merge 1 commit into
Conversation
9868e31 to
2111be0
Compare
✨ Aspect Workflows Tasks📅 Tue Jul 7 13:07:58 UTC 2026
|
Member
|
should the namespace be
reads better imo |
80b0fa7 to
e2cca33
Compare
…h-check` Expose the runner-metadata table and the runner health check — both normally run only inside a task's Setup phase — as standalone `ci` commands. Each is a thin wrapper over the existing functions (`print_environment_info`, `agent_health_check`); off a Workflows runner both print an info line and exit 0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
e2cca33 to
ea3ab00
Compare
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.
Adds two standalone
aspect cicommands that run, on demand, the two diagnostics that otherwise run only inside a Bazel task's Setup phase:aspect ci runner-metadata— print the Aspect Workflows runner metadata table (cloud/region/instance, cache and storage paths, warming status, bootstrap-logs command).aspect ci runner-health-check— wait for cache warming, print the last runner health check and warming status, probe the runner's Bazel server, and signal the runner unhealthy if it is wedged. Exits non-zero when the server is unhealthy.Both are thin wrappers over the existing
print_environment_info/agent_health_checklibrary functions, in the same spirit as the standaloneaspect ci warmingandaspect ci bazelrccommands. Off a Workflows runner there is nothing to inspect, so each prints an informational line and exits 0.Changes are visible to end-users: yes
Searched for relevant documentation and updated as needed: no
Breaking change (forces users to change their own code or config): no
Suggested release notes appear below: yes
Add
aspect ci runner-metadatato print the Aspect Workflows runner metadata table on demand.Add
aspect ci runner-health-checkto run the Aspect Workflows runner health check on demand.Test plan
aspect ci runner-metadataandaspect ci runner-health-checkeach print an info line and exit 0.ASPECT_WORKFLOWS_RUNNER(+ASPECT_WORKFLOWS_RUNNER_*) set:aspect ci runner-metadataprints the metadata table.aspect ci runner-health-checkruns the Bazel server probe and exits 0 (healthy) / non-zero (unhealthy).