Skip to content

chore: sync actions from gh-aw@v0.81.5#174

Merged
pelikhan merged 1 commit into
mainfrom
sync/gh-aw-v0.81.5
Jun 27, 2026
Merged

chore: sync actions from gh-aw@v0.81.5#174
pelikhan merged 1 commit into
mainfrom
sync/gh-aw-v0.81.5

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated sync of actions from gh-aw at v0.81.5.

@pelikhan pelikhan marked this pull request as ready for review June 27, 2026 00:51
Copilot AI review requested due to automatic review settings June 27, 2026 00:51
@pelikhan pelikhan merged commit 8b1faef into main Jun 27, 2026
4 checks passed
@pelikhan pelikhan deleted the sync/gh-aw-v0.81.5 branch June 27, 2026 00:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Automated sync of the setup/js action helpers from gh-aw@v0.81.5, updating the safe-outputs/harness logic and related workflow tooling used by this repository’s Actions-based automation.

Changes:

  • Extend safe-outputs tooling (new helper to detect “expected” outputs; allow explicit local branch for push_to_pull_request_branch; enforce runtime policy for create-pull-request).
  • Improve harness/runtime diagnostics (retry classification tweaks; suppress certain false-red conditions; broaden model-not-found detection; standardize some error-code prefixes).
  • Add/update various context and handler helpers (PR context detection, label intent plumbing, log parser heuristics, chroot config patch script).
Show a summary per file
File Description
setup/js/update_context_helpers.cjs Refactors PR-context detection logic and PR event list handling.
setup/js/set_issue_type.cjs Prefixes a validation error with a standardized error code.
setup/js/safeoutputs_cli.cjs Adds hasExpectedSafeOutputs helper and exports it for harnesses.
setup/js/safe_outputs_tools.json Extends push_to_pull_request_branch tool schema/description with optional branch.
setup/js/safe_outputs_handlers.cjs Accepts agent-supplied branch for PR-branch pushes with fallback to current HEAD.
setup/js/safe_outputs_bootstrap.cjs Enforces a runtime policy gate for create-pull-request configuration.
setup/js/pr_review_buffer.cjs Adds standardized error code prefix for non-transient API failures.
setup/js/patch_awf_chroot_config.cjs New helper script to patch AWF config with chroot settings for ARC/DinD runners.
setup/js/log_parser_bootstrap.cjs Adds heuristic to treat certain post-completion MCP launch failures as non-fatal.
setup/js/detect_agent_errors.cjs Broadens regex to detect additional “model not found” error forms.
setup/js/copilot_harness.cjs Adds safe-output based suppression for “numerous permission denied” false-reds and refines auth retry classification.
setup/js/codex_harness.cjs Uses hasExpectedSafeOutputs to suppress false-red permission-denied verdicts.
setup/js/claude_harness.cjs Uses hasExpectedSafeOutputs to suppress false-red permission-denied verdicts.
setup/js/add_labels.cjs Adds issue-intents label spec parsing and (currently) forwards specs into the REST add-labels call.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 14/14 changed files
  • Comments generated: 4
  • Review effort level: Low

Comment thread setup/js/add_labels.cjs
repo: repoParts.repo,
issue_number: itemNumber,
labels: uniqueLabels,
labels: labelsRequestPayload,
}

const message = `create-pull-request is disabled by runtime policy: ${policyVarName}=false. ` + `Remove safe-outputs.create-pull-request or set ${policyVarName}=true.`;
logger.debugError(message);
* @param {Array|null|undefined} entries
* @returns {boolean}
*/
function agentRanToCompletion(entries) {
const failedServers = mcpFailures.join(", ");
if (safeOutputEntriesCount > 0) {
core.warning(`MCP server(s) failed to launch (${failedServers}), but agent completed with ${safeOutputEntriesCount} safe output ${safeOutputEntriesCount === 1 ? "entry" : "entries"}`);
} else if (agentRanToCompletion(logEntries)) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants