Skip to content

chore: sync actions from gh-aw@v0.79.8#154

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

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

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

@pelikhan pelikhan marked this pull request as ready for review June 12, 2026 22:18
Copilot AI review requested due to automatic review settings June 12, 2026 22:18
@pelikhan pelikhan merged commit c0338fe into main Jun 12, 2026
5 checks passed
@pelikhan pelikhan deleted the sync/gh-aw-v0.79.8 branch June 12, 2026 22:18

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 from github/gh-aw@v0.79.8, updating the setup/action runtime scripts and parsers. The changes primarily improve portability across runner environments (by using $HOME for Copilot MCP config paths), standardize agent log parsing by introducing a canonical Copilot-events format, and refine observability + guardrail logic.

Changes:

  • Resolve Copilot MCP config paths via $HOME (shell + Node), with explicit HOME validation and exported helpers for testability.
  • Normalize multiple engine log parsers to emit canonical “Copilot event” log entries, while keeping renderers compatible.
  • Improve operational behaviors: guardrail pagination early-exit, richer AI credits provenance signals, and OTLP version attribution updates.
Show a summary per file
File Description
setup/sh/start_mcp_gateway.sh Uses $HOME for Copilot config detection/output instead of hardcoding /home/runner.
setup/sh/convert_gateway_config_copilot.sh Requires $HOME and writes Copilot MCP config to $HOME/.copilot/mcp-config.json.
setup/post.js Adds debug-only listing of /tmp/gh-aw contents before cleanup to aid troubleshooting.
setup/js/validate_context_variables.cjs Simplifies validation flow and error reporting for numeric context fields.
setup/js/start_mcp_gateway.cjs Adds $HOME-based Copilot config path resolution + engine detection helper; updates fallback copy path.
setup/js/set_issue_field.cjs Refactors issue-field discovery GraphQL query and simplifies return logic.
setup/js/send_otlp_span.cjs Adjusts OTLP version attribution preference order (favoring CLI version when present).
setup/js/safe_outputs_tools.json Updates create_issue.labels schema/docs to accept comma-separated string labels for compatibility.
setup/js/safe_output_type_validator.cjs Adds normalization to split comma-separated create_issue.labels into an array before array validation.
setup/js/parse_pi_log.cjs Converts legacy entries to canonical Copilot-events format for consistent downstream processing.
setup/js/parse_gemini_log.cjs Converts legacy entries to canonical Copilot-events format for consistent downstream processing.
setup/js/parse_copilot_log.cjs Unifies legacy vs event log handling; converts as needed and returns canonical entries.
setup/js/parse_codex_log.cjs Returns canonical Copilot-events entries alongside existing markdown output.
setup/js/parse_claude_log.cjs Converts legacy entries to canonical Copilot-events format for consistent downstream processing.
setup/js/parse_antigravity_log.cjs Converts legacy entries to canonical Copilot-events format for consistent downstream processing.
setup/js/otlp.cjs Aligns OTLP scope version resolution with CLI-first version ordering.
setup/js/log_parser_shared.cjs Introduces canonical Copilot-events format detection + conversion helpers (legacy ⇄ events).
setup/js/log_parser_format.cjs Normalizes entries for rendering by converting events → legacy when needed.
setup/js/log_parser_bootstrap.cjs Detects init entry in either legacy (system.init) or canonical (session.init) formats.
setup/js/handle_agent_failure.cjs Improves unknown-model AI credits signal handling by incorporating audit log evidence.
setup/js/emit_outcome_spans.cjs Aligns outcome span version attribution with CLI-first version ordering.
setup/js/convert_gateway_config_copilot.cjs Writes Copilot config to $HOME/.copilot/... with explicit HOME resolution helper.
setup/js/check_daily_aic_workflow_guardrail.cjs Stops workflow-run pagination once the 24h cutoff is reached (newest-first optimization).
setup/js/artifact_client.cjs Adds safe-outputs exemption note clarifying “body” usage is transport payload, not user content.
setup/js/apply_samples.cjs Adds safe-outputs exemption note documenting target-repo usage constraints.
setup/js/ai_credits_context.cjs Tightens rate-limit signal provenance reporting to require supporting AI-credits evidence.

Copilot's findings

Tip

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

  • Files reviewed: 26/26 changed files
  • Comments generated: 1

Comment on lines 768 to 775
} catch {
core.error("ERROR: Failed to filter CLI-mounted servers from agent MCP config");
core.info("Falling back to unfiltered config");
fs.copyFileSync(outputPath, "/home/runner/.copilot/mcp-config.json");
fs.copyFileSync(outputPath, copilotConfigFile);
}
} else {
fs.copyFileSync(outputPath, "/home/runner/.copilot/mcp-config.json");
fs.copyFileSync(outputPath, copilotConfigFile);
}
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