Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ This architecture separates concerns between execution logic (core), UI state ma
release was requested, verify the tag explicitly with
`gh release view v<version> --repo cbusillo/code`.
- If you already know the run ID (e.g., from webhook output), run `scripts/wait-for-gh-run.sh --run <run-id>`.
- Adjust the poll cadence via `--interval <seconds>` (defaults to 8). The script exits 0 on success and 1 on failure, so it can gate local automation.
- Adjust the poll cadence via `--interval <seconds>` (defaults to 8). The script exits 0 on success and nonzero on failure, so it can gate local automation.
- The wait is bounded by `--timeout <seconds>` (defaults to 1800 and is capped at 7200). Timeout exits 124.
- If GitHub reports `status=waiting`, the script reads pending deployments for the exact run, prints protected-environment and current-identity approval diagnostics, and exits 2. It never approves a deployment; use the exact-run workflow babysitter with separate automation-dispatch and human-review identities.
- Pass `--failure-logs` to automatically dump logs for any job that does not finish successfully.
- Dependencies: GitHub CLI (`gh`) and `jq` must be available in `PATH`.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## [Unreleased]

- (none)
- Core/GH: make `gh_run_wait` fail fast with exact-run protected-environment diagnostics, never auto-approve deployments, and enforce bounded polling timeouts.

## [0.6.116] - 2026-06-04

Expand Down
Loading