Skip to content

triage: skip on tend-outage labeled issues - #579

Merged
max-sixty merged 1 commit into
mainfrom
daily/review-runs-26277797207
May 22, 2026
Merged

max-sixty merged 1 commit into
mainfrom
daily/review-runs-26277797207

Conversation

@tend-agent

@tend-agent tend-agent commented May 22, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

When the Anthropic API returns 529 ("Overloaded") errors, the action's Report failure step files a tend-outage-labeled issue. The on: issues.opened event then fires tend-triage against that auto-filed issue. Because the same overload is still ongoing, triage hits the same 529s, fails, and the bot author's outage cascade comments on the very issue it just filed.

This happened today: review-reviewers run 26268072849 failed on 4 matrix legs at 04:19 UTC, four tend-outage issues were filed (#575–#578), and 3 of the 4 triage runs spawned by those issues.opened events failed for the same 529 reason (26268181702, 26268181831, 26268183753).

The triage skill already exits silently on bot-authored outage trackers via the self-conversation guard, so this cascade is wasted work even when the API is healthy.

Change

Gate tend-triage at the job level on the tend-outage label being absent:

jobs:
  triage:
    if: github.repository_owner == 'OWNER' && contains(github.event.issue.labels.*.name, 'tend-outage') == false

contains(...) == false is used instead of !contains(...) because YAML interprets a leading ! as a tag, which would require quoting the whole if: value.

The check is generic across consumers — action.yaml's Report failure step creates the tend-outage label on first use, so any consumer that has ever hit an outage will have it.

Out of scope

The other half of today's cascade — the 4 duplicate outage issues from a single matrix run — is a separate race in action.yaml's check-then-act dedup. Tracked in [#580] (filed alongside).

Test plan

  • uv run --project generator pytest — 242 passed
  • Regenerated 4 regtest snapshots (triage variants).
  • After merge: confirm next outage incident files exactly one tend-outage issue (still bounded by the action.yaml race) and that no tend-triage runs are spawned on it.

When the Anthropic API returns 529s, action.yaml's `Report failure` step
files a `tend-outage`-labeled issue, which fires `tend-triage`. Because the
overload is still ongoing, triage hits the same 529s and fails. The triage
skill already exits silently on bot-authored outage trackers, so this
cascade is wasted work even when the API is healthy.

Gate the job at the workflow level on the `tend-outage` label being absent.
The label is created by `action.yaml`'s failure handler, so the check is
generic across all consumers.
@tend-agent tend-agent added the review-runs Findings from review-runs skill label May 22, 2026
@max-sixty
max-sixty merged commit fdd7b58 into main May 22, 2026
4 checks passed
@max-sixty
max-sixty deleted the daily/review-runs-26277797207 branch May 22, 2026 13:51
@max-sixty max-sixty mentioned this pull request May 23, 2026
2 of 3 tasks
max-sixty added a commit that referenced this pull request May 23, 2026
## Summary

- Bumps generator version to 0.1.0 and syncs lockfile.

7 commits since 0.0.25:
- fix: jitter outage-issue dedup to handle concurrent matrix-leg
failures (#586)
- fix: install-test default-branch probe on shallow checkout (#583)
- fix: pin install-tend badge link to max-sixty/tend (#585)
- skills(review-reviewers): call out commenter-self-edit filters as a
non-issue (#581)
- triage: skip on tend-outage labeled issues (#579)
- fix: use REST API for author_association in triage skill (#571)
- skills(running-in-ci): catch already-merged sibling PRs in dedup
(#569)

## Test plan
- [x] `wt test` passes
- [x] `pre-commit run --all-files` passes
- [ ] CI green
max-sixty added a commit that referenced this pull request May 23, 2026
## Summary

- Bumps the pinned action ref from 0.0.24 to 0.1.0 across all generated
workflows.
- Picks up the tend-outage label skip in the triage workflow (#579).

## Test plan
- [ ] CI green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-runs Findings from review-runs skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants