Skip to content

chore: sync actions from gh-aw@v0.75.4#116

Merged
pelikhan merged 1 commit into
mainfrom
sync/gh-aw-v0.75.4
May 24, 2026
Merged

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

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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

@pelikhan pelikhan marked this pull request as ready for review May 24, 2026 18:02
Copilot AI review requested due to automatic review settings May 24, 2026 18:02
@pelikhan pelikhan merged commit 9f05096 into main May 24, 2026
3 checks passed
@pelikhan pelikhan deleted the sync/gh-aw-v0.75.4 branch May 24, 2026 18:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 from github/gh-aw@v0.75.4, primarily enhancing run metadata/footers (effective tokens + model identification), improving git patch base selection, and tightening harness/reflection error handling for agent runs.

Changes:

  • Add “primary model” detection from token-usage logs and propagate it into agent usage/footers.
  • Improve Strategy 3 patch generation by selecting the closest merge-base across remote refs.
  • Enhance harness/reflection utilities (Codex API-key preflight + JSON output, Copilot error pattern detection helpers, AWF reflect retry behavior) and bump agent compatibility range.
Show a summary per file
File Description
setup/js/parse_token_usage.cjs Writes primary_model into agent_usage.json based on highest effective-token model.
setup/js/messages_footer.cjs Renders ET suffixes with a compact model identifier; prefers actual model name from agent_usage.json.
setup/js/messages_core.cjs Updates placeholder docs to match new ET suffix formatting (no ●).
setup/js/generate_git_patch.cjs Refines Strategy 3 merge-base selection to reduce oversized patches.
setup/js/effective_tokens.cjs Adds model-name resolution + deterministic model identifier reduction for footer rendering.
setup/js/detect_agent_errors.cjs Normalizes log prefix to [detect-agent-errors].
setup/js/copilot_harness.cjs Adds Copilot error detection helpers and aggregates detections across retries.
setup/js/codex_harness.cjs Adds API-key preflight, detects missing-key failures, and injects --json for JSONL output.
setup/js/awf_reflect.cjs Adds shim + retries for models_url fallback fetches (503 backoff).
.github/aw/compat.json Bumps max-agent compatibility to 1.0.51.

Copilot's findings

Tip

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

  • Files reviewed: 10/10 changed files
  • Comments generated: 2

Comment on lines 477 to +504
@@ -453,6 +497,11 @@ async function main() {
const safeArgs = currentArgs.map((arg, i) => (currentArgs[i - 1] === "--prompt" || currentArgs[i - 1] === "-p" ? "<redacted>" : arg));
const result = await runProcess({ command, args: currentArgs, attempt, log, logArgs: safeArgs });
lastExitCode = result.exitCode;
const attemptDetections = detectCopilotErrors(result.output);
detectedCopilotErrors.inferenceAccessError ||= attemptDetections.inferenceAccessError;
detectedCopilotErrors.mcpPolicyError ||= attemptDetections.mcpPolicyError;
detectedCopilotErrors.agenticEngineTimeout ||= attemptDetections.agenticEngineTimeout;
detectedCopilotErrors.modelNotSupportedError ||= attemptDetections.modelNotSupportedError;
if (baseCommit) {
debugLog(`Strategy 3: Found merge-base ${baseCommit} with ref ${ref}`);
break;
const candidateBase = execGitSync(["merge-base", ref, "--", branchName], { cwd }).trim();
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