Skip to content

Add 1-day auto-expiration to workflow health manager issues#8470

Merged
pelikhan merged 2 commits into
mainfrom
copilot/add-expires-to-created-issues
Jan 1, 2026
Merged

Add 1-day auto-expiration to workflow health manager issues#8470
pelikhan merged 2 commits into
mainfrom
copilot/add-expires-to-created-issues

Conversation

Copilot AI commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

Workflow health manager creates tracking issues for failed workflows. These issues should auto-close after 1 day to prevent stale issue accumulation.

Changes

  • Added expires: 1d to workflow-health-manager's safe-outputs.create-issue configuration
  • Issues created by the health manager will now auto-close via the existing agentics-maintenance.yml workflow (runs every 2 hours)
safe-outputs:
  create-issue:
    max: 10
    expires: 1d  # Added

The expires field is compiled into the lock file's safe outputs handler config as "expires": 1 (integer days).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login user --jq /usr/bin/git -json GO111MODULE l/linux_amd64/as--show-toplevel git cat-�� it/ref/tags/v5 bf6c0369ec222af529b0d74d05f82d4b9508e114:go.mod /usr/bin/git -json GO111MODULE ux-amd64/pkg/toostatus git (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login ithub/workflows log /usr/bin/git -n1 --format=format:-1 l/linux_amd64/coxterm-color git rev-�� k/gh-aw/gh-aw/.github/workflows l/linux_amd64/compile /tmp/go-build429763107/b410/styles.test l GO111MODULE ux-amd64/pkg/toouser /tmp/go-build429--jq (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login -java.git -java.git b53834d7aa4b8fbb86c8564da4b5586293f/log.json -json GO111MODULE ux-amd64/pkg/toodownload /home/REDACTED/go/5 e4c6�� ithub-script/gittest-logs/run-5 -buildtags e/git -errorsas -ifaceassert l/linux_amd64/co/var/run/docker/runtime-runc/moby e/git (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Reference: https://github.com/githubnext/gh-aw/actions/runs/20587661056/job/59126903280

Add expires: 1d to created issues by workflow health


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan marked this pull request as ready for review January 1, 2026 17:54
Copilot AI changed the title [WIP] Add expires: 1d to created issues by workflow health Add 1-day auto-expiration to workflow health manager issues Jan 1, 2026
Copilot AI requested a review from pelikhan January 1, 2026 17:54
@pelikhan pelikhan merged commit 682b242 into main Jan 1, 2026
130 checks passed
@pelikhan pelikhan deleted the copilot/add-expires-to-created-issues branch January 1, 2026 17:54
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.

2 participants