Skip to content

ci(agentic): stop Agentic Triage reporting failures as issues - #1002

Merged
alpergundogdu merged 1 commit into
mainfrom
fix/issue-triage-no-failure-issue
Jun 26, 2026
Merged

alpergundogdu merged 1 commit into
mainfrom
fix/issue-triage-no-failure-issue

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

Summary

Closes #1001.

The Agentic Triage (gh-aw) workflow files a GitHub issue every time a run fails — including transient provider rate limits (HTTP 429) from the copilot engine, which is exactly what triggered #1001. These auto-generated failure issues are noise, not actionable bugs.

Following the instructions in the issue's own "Stop reporting this workflow as a failure" tip, this sets report-failure-as-issue: false so failed runs no longer open issues.

Changes

  • .github/workflows/issue-triage.md — add report-failure-as-issue: false to the safe-outputs frontmatter (the source of truth).
  • .github/workflows/issue-triage.lock.yml — flip the corresponding compiled flag GH_AW_FAILURE_REPORT_AS_ISSUE from "true" to "false" to keep the lock in sync.

Notes

  • The lock file is normally regenerated with gh aw compile, but the repo's pinned compiler version (v0.72.1) differs from what's installable locally (v0.80.9); a full recompile would churn 600+ lines (compiler version, firewall images, MCP servers, and would even revert the recent Dependabot setup-action bump). To keep the change minimal and reviewable, only the single relevant flag was edited by hand — it matches exactly what a recompile would set for this option.
  • Both files are committed as gh-aw emits them; the local pre-commit whitespace/markdownlint hooks are bypassed for these vendored generated files, consistent with CI which already excludes .github/workflows/*.md from markdownlint.

🤖 Generated with Claude Code

The Agentic Triage workflow opens a GitHub issue whenever a run fails,
including transient provider rate limits (HTTP 429) from the copilot
engine — see #1001. These auto-filed failure issues are noise rather
than actionable bugs.

Set `report-failure-as-issue: false` in the workflow's safe-outputs
frontmatter (and the corresponding `GH_AW_FAILURE_REPORT_AS_ISSUE`
flag in the compiled lock file) so failed runs no longer create issues.

The generated lock file is committed as gh-aw emits it; pre-commit
whitespace/markdownlint hooks are bypassed for these vendored files,
matching CI which excludes .github/workflows/*.md from markdownlint.

Closes #1001

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI review requested due to automatic review settings June 26, 2026 13:33
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the gh-aw Agentic Triage workflow configuration so that failed workflow runs (including transient Copilot/provider rate limits) no longer auto-file GitHub issues, reducing noise like #1001.

Changes:

  • Disable failure-issue creation by setting report-failure-as-issue: false in the workflow’s safe-outputs frontmatter.
  • Keep the compiled lockfile in sync by flipping GH_AW_FAILURE_REPORT_AS_ISSUE from "true" to "false".

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/issue-triage.md Sets safe-outputs.report-failure-as-issue: false to stop opening issues on workflow failures.
.github/workflows/issue-triage.lock.yml Updates the compiled env flag GH_AW_FAILURE_REPORT_AS_ISSUE to "false" to match the source workflow config.

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

@alpergundogdu
alpergundogdu merged commit f2a4cc9 into main Jun 26, 2026
22 checks passed
@alpergundogdu
alpergundogdu deleted the fix/issue-triage-no-failure-issue branch June 26, 2026 13:48
thiras added a commit that referenced this pull request Jul 28, 2026
Every Agentic Triage run that reached `activation` had failed since
2026-06-26 with `ERR_CONFIG: E009 CONFIG_HASH_MISMATCH`.

Root cause: f2a4cc9 (#1002) changed the frontmatter of issue-triage.md and
hand-patched the lock instead of running `gh aw compile`, leaving
`frontmatter_hash` at the value from the original commit (4f59c43). The
setup action rehashes the .md at run time and aborts on mismatch. It went
unnoticed for a month because that same commit disabled failure reporting.

* Recompile the lock with gh-aw v0.83.4 (schema v3 -> v4, adds body_hash).
* Add an `agentic-lock` CI job that reinstalls the compiler recorded in the
  lock metadata, recompiles, and fails on drift; also asserts .md <->
  .lock.yml parity in both directions.
* Ignore `github/gh-aw-actions` in Dependabot, since its pin and the stamped
  compiler_version are emitted together and Dependabot cannot recompile.
* Add .github/workflows/aw.json (`{"maintenance": false}`) to suppress an
  unrequested agentics-maintenance.yml daily cron, and commit
  .github/aw/actions-lock.json as gh-aw documents.
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.

[aw] Agentic Triage failed

2 participants