chore: sync actions from gh-aw@v0.79.8#154
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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); | ||
| } |
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.79.8.