Skip to content

Commit 3558d1a

Browse files
T-GroCopilot
andauthored
Stop agentic-workflow failure-issue spam (#19953)
The scheduled babysitter workflows (labelops-pr-maintenance, labelops-pr- security-scan, regression-pr-shepherd) open `[aw] … failed` tracking issues on every transient gh-aw infra crash (unhealthy firewall container) or engine hiccup. Their real signal is the labels/comments they apply to PRs, so disable report-failure-as-issue for them. aw-auto-update emits `create-agent-session`, which needs a Copilot-licensed token the default GITHUB_TOKEN lacks, so every scheduled detection that finds an update fails the safe_outputs job and spams failure issues. Disable its schedule (manual dispatch only) until a suitable token is provisioned. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6b856af commit 3558d1a

8 files changed

Lines changed: 73 additions & 65 deletions

.github/workflows/aw-auto-update.lock.yml

Lines changed: 13 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/aw-auto-update.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ description: |
1212
identity (COPILOT_GITHUB_TOKEN) and can write workflow files.
1313
1414
on:
15-
schedule: every 24h
15+
# Schedule disabled: `create-agent-session` needs a Copilot-licensed token, which
16+
# the default GITHUB_TOKEN lacks, so every scheduled detection that finds an update
17+
# fails the safe_outputs job and spams `[aw] … failed` issues. Re-enable the
18+
# `schedule:` trigger once a Copilot-licensed token (e.g. GH_AW_AGENT_TOKEN) is
19+
# provisioned for create-agent-session. Until then it is manual-dispatch only.
1620
workflow_dispatch:
1721

1822
timeout-minutes: 15

.github/workflows/labelops-pr-maintenance.lock.yml

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/labelops-pr-maintenance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ tools:
3636
bash: true
3737

3838
safe-outputs:
39+
# Transient gh-aw infra crashes (e.g. unhealthy firewall container) and engine
40+
# hiccups must not open tracking issues — real problems surface as PR labels/comments.
41+
report-failure-as-issue: false
3942
noop:
4043
report-as-issue: false
4144
max-patch-size: 10240

0 commit comments

Comments
 (0)