chore: sync actions from gh-aw@v0.81.4#172
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Automated sync of the setup/ action scripts from gh-aw@v0.81.4, updating the GitHub Actions harness utilities (shell + Node/Octokit) to support newer runtime features, improved diagnostics, and additional safety/robustness checks.
Changes:
- Add a GitHub step-summary helper for surfacing configured runtime features (plus a basic shell test).
- Expand GraphQL “intent” support for issue updates (labels, issue type, issue fields) via the
GraphQL-Featuresheader. - Improve harness reliability/diagnostics (engine
cwd, retry guards, AWF startup failure context, bundle pre-apply file verification, Copilot SDK watchdog).
Show a summary per file
| File | Description |
|---|---|
| setup/sh/log_runtime_features_summary.sh | Writes a collapsed “Runtime features” block to $GITHUB_STEP_SUMMARY when configured. |
| setup/sh/log_runtime_features_summary_test.sh | Adds a small shell test harness for the runtime-features summary script. |
| setup/js/upload_assets.cjs | Tightens item typing for upload_asset messages. |
| setup/js/update_issue.cjs | Adds GraphQL intent path logging + GraphQL-Features header for label updates. |
| setup/js/set_issue_type.cjs | Adds GraphQL intent path for issue type updates using org issue types + header. |
| setup/js/set_issue_field.cjs | Optionally includes GraphQL-Features header for issue field mutations. |
| setup/js/push_to_pull_request_branch.cjs | Adds authoritative pre-apply bundle file detection via git diff and exports helper. |
| setup/js/process_runner.cjs | Ensures engine processes run with cwd rooted at configured engine/workspace directory. |
| setup/js/parse_threat_detection_results.cjs | Simplifies warn-mode failure handling for threat-detection parsing/conclusion. |
| setup/js/harness_retry_guard.cjs | Adds detection for Anthropic max_runs_exceeded as a non-retryable condition. |
| setup/js/handle_agent_failure.cjs | Adds AWF firewall startup failure diagnostics + assignment error context improvements. |
| setup/js/generate_usage_activity_summary.cjs | Filters firewall log parsing to only accept lines starting with a numeric timestamp. |
| setup/js/copilot_sdk_sidecar.cjs | Runs Copilot SDK sidecar with a consistent cwd derived from env/workspace. |
| setup/js/copilot_sdk_session.cjs | Adds post-completion idle watchdog and more SDK event handling. |
| setup/js/codex_harness.cjs | Improves rate-limit detection and avoids futile retries when reconnect budget is exhausted. |
| setup/js/claude_harness.cjs | Honors max_runs_exceeded non-retryable retry-guard condition. |
| setup/js/assign_to_agent.cjs | Updates assignment flow to use agent logins and improves skipped/error propagation. |
| setup/js/assign_agent_helpers.cjs | Reorders known agent login aliases, adds issue/PR disambiguation, and switches assignment to issues-assignees REST API. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 18/18 changed files
- Comments generated: 2
- Review effort level: Low
Comment on lines
+1
to
+2
| #!/usr/bin/env bash | ||
| set +o histexpand |
Comment on lines
+2169
to
+2172
| const hasFirewallFailedMsg = logContent.includes("AWF firewall failed to start"); | ||
| const hasDependencyFailedMsg = logContent.includes("dependency failed to start: container awf-cli-proxy"); | ||
| const hasErrorMsgWithProxy = errorMessages !== undefined && Array.from(errorMessages).some(msg => msg.includes("awf-cli-proxy")); | ||
| const isFirewallFailed = hasFirewallFailedMsg || hasDependencyFailedMsg || hasErrorMsgWithProxy; |
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.
Automated sync of actions from gh-aw at
v0.81.4.