Skip to content

Upgrade gh-aw compiler to v0.51.0#504

Merged
strawgate merged 1 commit intomainfrom
feat/upgrade-gh-aw-v0.51.0
Feb 28, 2026
Merged

Upgrade gh-aw compiler to v0.51.0#504
strawgate merged 1 commit intomainfrom
feat/upgrade-gh-aw-v0.51.0

Conversation

@strawgate
Copy link
Collaborator

@strawgate strawgate commented Feb 28, 2026

Summary

  • Bumps GH_AW_VERSION from a pinned main commit to v0.51.0 and updates .github/aw/actions-lock.json for github/gh-aw/actions/setup@v0.51.0.
  • Recompiles lock workflows with the v0.51.0 compiler output and updates .github/workflows/agentics-maintenance.yml to the same setup action SHA.
  • Adds docs and examples for detector/fixer chaining using workflow_call outputs.

Key changes from v0.51.0

New features adopted

  • Workflow outputs from safe-outputs — Detectors expose created_issue_number / created_issue_url, and fixers expose created_pr_number / created_pr_url as workflow_call outputs. This enables chaining detector + fixer in a single run without relying on follow-up events from github-actions[bot].
  • Agent failure issues auto-labeled — Issues created on agent failure are labeled agentic-workflows.

Features available but not yet adopted

  • Guard policies — Schema validation support is available when policies are defined.
  • MCP Gateway tuningpayloadPathPrefix / payloadSizeThreshold are available when needed.

Bug fixes picked up by recompilation

  • Checkout token field corrected (checkout.github-tokencheckout.token)
  • Activation job /tmp/gh-aw directory creation made reliable
  • Emoji ZWJ sequences no longer false-positive in unicode-abuse scanner
  • MCP gateway config validation fixed
  • Safe output schema cross-repo / auth properties restored
  • Activation job contents: read permission added
  • Report template headers normalized to h3+

Documentation and examples

  • docs/workflows/detector-fixer-chaining.md — New guide for single-run detector→fixer pipelines
  • gh-agent-workflows/bug-hunter/example-chained.yml — Chained bug-hunter + bug-exterminator example
  • gh-agent-workflows/code-duplication-detector/example-chained.yml — Chained code-duplication-detector + fixer example
  • docs/workflows/gh-agent-workflows.md and mkdocs.yml — Added links so chaining guidance appears in docs navigation

Test plan

  • make compile succeeds with v0.51.0
  • Lock files contain outputs: under workflow_call
  • CI passes
  • Nav/catalog consistency check passes for new doc page

Generated by Update PR Body for issue #504

Bumps the gh-aw compiler from a pinned main commit to the v0.51.0
release. Key improvements:

- Workflow outputs from safe-outputs: detectors now expose
  created_issue_number/url and fixers expose created_pr_number/url
  as workflow_call outputs, enabling single-run detector→fixer
  chaining (avoids the github-actions[bot] trigger limitation).
- Agent failure issues auto-labeled with agentic-workflows.
- Bug fixes: checkout token field, activation job dir creation,
  emoji ZWJ false positives, MCP gateway validation, safe output
  schema completeness, activation job permissions, report headers.

Adds detector/fixer chaining documentation and example-chained.yml
files for bug-hunter and code-duplication-detector pairs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Feb 28, 2026

📝 Walkthrough

Walkthrough

This PR upgrades the gh-aw action infrastructure from commit 3c15f58f to v0.51.0 across 40+ workflow files and supporting configuration. Changes include introducing a Generate agentic run info step in activation jobs to centralize model generation, expanding workflow outputs to expose safe-outputs results (created issues/PRs/comments), renaming prompt artifacts to activation artifacts throughout the ecosystem, updating setup action references, and adding MCP gateway payload size threshold configuration. New documentation and example workflows demonstrate detector-fixer chaining patterns.

Possibly related PRs

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/upgrade-gh-aw-v0.51.0

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
.github/workflows/gh-aw-stale-issues-remediator.lock.yml (1)

422-422: Consider fully unifying model source to activation output.

You now export model from activation (Line 422), but execution env vars still read inputs.model in later jobs. Switching those to the propagated model output would keep a single source of truth and avoid future drift.

Proposed follow-up diff
-          COPILOT_MODEL: ${{ inputs.model }}
+          COPILOT_MODEL: ${{ needs.activation.outputs.model }}
-          COPILOT_MODEL: ${{ inputs.model }}
+          COPILOT_MODEL: ${{ needs.activation.outputs.model }}
-      GH_AW_ENGINE_MODEL: "${{ inputs.model }}"
+      GH_AW_ENGINE_MODEL: "${{ needs.agent.outputs.model }}"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/gh-aw-stale-issues-remediator.lock.yml at line 422, The
workflow now sets model from the activation job via "model: ${{
needs.activation.outputs.model }}", but downstream job environment variables and
any places reading "inputs.model" still use the original input; update those
usages to reference the propagated activation output (e.g., replace occurrences
of "inputs.model" with "needs.activation.outputs.model" in the jobs that set
execution env vars or read the model) so there's a single source of truth;
ensure you update all env and step-level references and any default/fallback
logic to use needs.activation.outputs.model consistently alongside the existing
model variable.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In @.github/workflows/gh-aw-stale-issues-remediator.lock.yml:
- Line 422: The workflow now sets model from the activation job via "model: ${{
needs.activation.outputs.model }}", but downstream job environment variables and
any places reading "inputs.model" still use the original input; update those
usages to reference the propagated activation output (e.g., replace occurrences
of "inputs.model" with "needs.activation.outputs.model" in the jobs that set
execution env vars or read the model) so there's a single source of truth;
ensure you update all env and step-level references and any default/fallback
logic to use needs.activation.outputs.model consistently alongside the existing
model variable.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f30b4e8 and 5ef3346.

📒 Files selected for processing (71)
  • .github/aw/actions-lock.json
  • .github/workflows/agent-deep-dive.lock.yml
  • .github/workflows/agent-efficiency.lock.yml
  • .github/workflows/agentics-maintenance.yml
  • .github/workflows/downstream-users.lock.yml
  • .github/workflows/gh-aw-agent-suggestions.lock.yml
  • .github/workflows/gh-aw-autonomy-atomicity-analyzer.lock.yml
  • .github/workflows/gh-aw-branch-actions-detective.lock.yml
  • .github/workflows/gh-aw-breaking-change-detect.lock.yml
  • .github/workflows/gh-aw-breaking-change-detector.lock.yml
  • .github/workflows/gh-aw-bug-exterminator.lock.yml
  • .github/workflows/gh-aw-bug-hunter.lock.yml
  • .github/workflows/gh-aw-code-duplication-detector.lock.yml
  • .github/workflows/gh-aw-code-duplication-fixer.lock.yml
  • .github/workflows/gh-aw-code-simplifier.lock.yml
  • .github/workflows/gh-aw-deep-research.lock.yml
  • .github/workflows/gh-aw-dependency-review.lock.yml
  • .github/workflows/gh-aw-docs-drift.lock.yml
  • .github/workflows/gh-aw-docs-patrol.lock.yml
  • .github/workflows/gh-aw-duplicate-issue-detector.lock.yml
  • .github/workflows/gh-aw-estc-actions-resource-not-accessible-detector.lock.yml
  • .github/workflows/gh-aw-estc-docs-patrol-external.lock.yml
  • .github/workflows/gh-aw-estc-docs-pr-review.lock.yml
  • .github/workflows/gh-aw-estc-downstream-health.lock.yml
  • .github/workflows/gh-aw-estc-newbie-contributor-patrol-external.lock.yml
  • .github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml
  • .github/workflows/gh-aw-flaky-test-investigator.lock.yml
  • .github/workflows/gh-aw-framework-best-practices.lock.yml
  • .github/workflows/gh-aw-information-architecture.lock.yml
  • .github/workflows/gh-aw-issue-fixer.lock.yml
  • .github/workflows/gh-aw-issue-triage.lock.yml
  • .github/workflows/gh-aw-mention-in-issue-no-sandbox.lock.yml
  • .github/workflows/gh-aw-mention-in-issue.lock.yml
  • .github/workflows/gh-aw-mention-in-pr-by-id.lock.yml
  • .github/workflows/gh-aw-mention-in-pr-no-sandbox.lock.yml
  • .github/workflows/gh-aw-mention-in-pr.lock.yml
  • .github/workflows/gh-aw-newbie-contributor-fixer.lock.yml
  • .github/workflows/gh-aw-newbie-contributor-patrol.lock.yml
  • .github/workflows/gh-aw-performance-profiler.lock.yml
  • .github/workflows/gh-aw-plan.lock.yml
  • .github/workflows/gh-aw-pr-actions-detective.lock.yml
  • .github/workflows/gh-aw-pr-actions-fixer.lock.yml
  • .github/workflows/gh-aw-pr-ci-detective.lock.yml
  • .github/workflows/gh-aw-pr-review-addresser.lock.yml
  • .github/workflows/gh-aw-pr-review.lock.yml
  • .github/workflows/gh-aw-product-manager-impersonator.lock.yml
  • .github/workflows/gh-aw-project-summary.lock.yml
  • .github/workflows/gh-aw-refactor-opportunist.lock.yml
  • .github/workflows/gh-aw-release-update.lock.yml
  • .github/workflows/gh-aw-scheduled-audit.lock.yml
  • .github/workflows/gh-aw-scheduled-fix.lock.yml
  • .github/workflows/gh-aw-small-problem-fixer.lock.yml
  • .github/workflows/gh-aw-stale-issues-investigator.lock.yml
  • .github/workflows/gh-aw-stale-issues-remediator.lock.yml
  • .github/workflows/gh-aw-stale-issues.lock.yml
  • .github/workflows/gh-aw-test-coverage-detector.lock.yml
  • .github/workflows/gh-aw-test-improvement.lock.yml
  • .github/workflows/gh-aw-test-improver.lock.yml
  • .github/workflows/gh-aw-text-auditor.lock.yml
  • .github/workflows/gh-aw-text-beautifier.lock.yml
  • .github/workflows/gh-aw-update-pr-body.lock.yml
  • .github/workflows/gh-aw-ux-design-patrol.lock.yml
  • .github/workflows/upgrade-check.lock.yml
  • .github/workflows/workflow-patrol.lock.yml
  • Makefile
  • docs/upgrading.md
  • docs/workflows/detector-fixer-chaining.md
  • docs/workflows/gh-agent-workflows.md
  • gh-agent-workflows/bug-hunter/example-chained.yml
  • gh-agent-workflows/code-duplication-detector/example-chained.yml
  • mkdocs.yml

@strawgate strawgate merged commit 2897d27 into main Feb 28, 2026
18 checks passed
@strawgate strawgate deleted the feat/upgrade-gh-aw-v0.51.0 branch February 28, 2026 23:43
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.

1 participant