chore: sync actions from gh-aw@v0.84.3 - #205
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Synchronizes runtime actions with gh-aw@v0.84.3, improving reliability, observability, safe outputs, threat reporting, and experiment state handling.
Changes:
- Adds network timeouts and consistent error formatting.
- Expands experiment persistence, usage reporting, and MCP reliability.
- Refines threat detection and idempotent GitHub operations.
Show a summary per file
| File | Description |
|---|---|
| setup/sh/print_firewall_logs.sh | Warns about missing Squid logs. |
| setup/sh/collect_usage_artifact_files.sh | Collects usage artifacts. |
| setup/md/threat_detection_engine_error.md | Adds engine-failure template. |
| setup/md/threat_detection_caution.md | Adds threat caution template. |
| setup/md/detection_runs_comment.md | Collapses run details. |
| setup/js/upload_artifact.cjs | Improves filesystem errors. |
| setup/js/update_pull_request.cjs | Refines benign update errors. |
| setup/js/threat_detection_warning.cjs | Separates threats from engine failures. |
| setup/js/start_mcp_gateway.cjs | Improves filesystem errors. |
| setup/js/setup_threat_detection.cjs | Improves setup errors. |
| setup/js/setup_comment_memory_files.cjs | Improves filesystem errors. |
| setup/js/send_otlp_span.cjs | Adds export timeout. |
| setup/js/safe_outputs_tools.json | Adds repository targeting. |
| setup/js/safe_outputs_tools_loader.cjs | Improves append errors. |
| setup/js/safe_outputs_handlers.cjs | Enforces compound wildcard targets. |
| setup/js/safe_outputs_config.cjs | Improves directory errors. |
| setup/js/runtime_import.cjs | Improves cache errors. |
| setup/js/run_evals.cjs | Improves evaluation errors. |
| setup/js/route_slash_command.cjs | Standardizes error messages. |
| setup/js/resolve_pr_review_thread.cjs | Makes thread resolution idempotent. |
| setup/js/push_to_pull_request_branch.cjs | Uses unified threat presentation. |
| setup/js/push_signed_commits.cjs | Supports custom rebase resolution. |
| setup/js/push_repo_memory.cjs | Improves read errors. |
| setup/js/push_experiment_state.cjs | Adds concurrent state merging. |
| setup/js/pick_experiment.cjs | Migrates state to JSONL. |
| setup/js/patch_awf_chroot_config.cjs | Improves write errors. |
| setup/js/parse_mcp_gateway_log.cjs | Refines AI-credit detection. |
| setup/js/mount_mcp_as_cli.cjs | Retries empty tool lists. |
| setup/js/models.json | Updates model pricing and aliases. |
| setup/js/messages_run_status.cjs | Uses shared threat templates. |
| setup/js/messages_core.cjs | Improves template errors. |
| setup/js/merge_remote_agent_github_folder.cjs | Improves merge errors. |
| setup/js/mcp_scripts_config_loader.cjs | Improves config errors. |
| setup/js/load_experiment_state_from_repo.cjs | Loads JSONL experiment state. |
| setup/js/install_frontmatter_skills.cjs | Improves directory errors. |
| setup/js/handle_noop_message.cjs | Splits AIC footer components. |
| setup/js/handle_detection_runs.cjs | Improves template errors. |
| setup/js/handle_agent_failure.cjs | Improves template errors. |
| setup/js/glob_pattern_helpers.cjs | Documents intentional regex interpolation. |
| setup/js/github_rate_limit_logger.cjs | Improves directory errors. |
| setup/js/git_helpers.cjs | Supports rebasing linearized commits. |
| setup/js/generate_usage_activity_summary.cjs | Reports experiments and empty manifests. |
| setup/js/generate_safe_outputs_tools.cjs | Improves write errors. |
| setup/js/generate_observability_summary.cjs | Reports Squid log availability. |
| setup/js/generate_git_patch.cjs | Improves patch errors. |
| setup/js/generate_git_bundle.cjs | Improves bundle errors. |
| setup/js/generate_footer.cjs | Uses shared threat templates. |
| setup/js/generate_aw_info.cjs | Improves output errors. |
| setup/js/frontmatter_hash_pure.cjs | Improves read errors. |
| setup/js/Dockerfile.safe-outputs-mcp | Safely patches npm dependencies. |
| setup/js/dismiss_pull_request_review.cjs | Handles stale and bot reviews. |
| setup/js/detect_agent_errors.cjs | Excludes watchdog terminations. |
| setup/js/create_pull_request.cjs | Rebases bundled changes. |
| setup/js/create_code_scanning_alert.cjs | Improves SARIF errors. |
| setup/js/copilot_sdk_permissions.cjs | Allows workspace reads. |
| setup/js/copilot_harness.cjs | Handles enforced AIC limits. |
| setup/js/convert_gateway_config_shared.cjs | Improves output errors. |
| setup/js/codex_harness.cjs | Refines reflection and AIC handling. |
| setup/js/claude_harness.cjs | Handles enforced AIC limits. |
| setup/js/checkout_pr_branch.cjs | Supports dispatched PR context. |
| setup/js/check_workflow_recompile_needed.cjs | Improves read errors. |
| setup/js/check_version_updates.cjs | Adds fetch timeout. |
| setup/js/check_daily_aic_workflow_guardrail.cjs | Makes limits graceful. |
| setup/js/build_checkout_manifest.cjs | Improves manifest errors. |
| setup/js/artifact_client.cjs | Adds artifact transfer timeouts. |
| setup/js/apply_samples.cjs | Adds PR lookup timeout. |
| setup/js/apply_safe_outputs_replay.cjs | Improves replay errors. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 67/67 changed files
- Comments generated: 4
- Review effort level: Balanced
| if (!state.counts[name]) { | ||
| state.counts[name] = {}; | ||
| } | ||
| state.counts[name][variant] = (state.counts[name][variant] || 0) + 1; |
| // This avoids requiring GITHUB_TOKEN to be explicitly set in the step env. | ||
| const octokit = github; | ||
| const stateFileName = path.basename(stateFile); | ||
| const stateFileCandidates = Array.from(new Set(stateFileName === "state.json" ? ["state.jsonl", "state.json"] : stateFileName === "state.jsonl" ? ["state.jsonl", "state.json"] : [stateFileName])); |
Comment on lines
+82
to
+85
| function mergeExperimentStateValue(baseValue, remoteValue, localValue) { | ||
| if (Number.isFinite(baseValue) && Number.isFinite(remoteValue) && Number.isFinite(localValue)) { | ||
| return remoteValue + localValue - baseValue; | ||
| } |
Comment on lines
+162
to
+163
| if (merged.length > MAX_LEDGER_RECORDS) { | ||
| const pruned = merged.splice(0, merged.length - MAX_LEDGER_RECORDS); |
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.84.3.