Skip to content

chore: regenerate workflows with tend 0.0.12 - #273

Merged
max-sixty merged 1 commit into
mainfrom
hourly/review-24418078692
Apr 14, 2026
Merged

max-sixty merged 1 commit into
mainfrom
hourly/review-24418078692

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

Summary

Regenerates tend-mention.yaml and tend-notifications.yaml with tend 0.0.12 (released earlier today). The critical change is #268's tend-outage skip guard for tend-mention, which tend's own deployed workflow has been missing since that fix landed.

Evidence — outage loop reproduced today

Run 24418078692 (review-reviewers, 2026-04-14T19:13:53Z) observed a fresh cascade on #267:

Time (UTC) Run Workflow Result
19:14:48Z 24418118461 tend-mention failure → posted to #267
19:15:49Z 24418164746 tend-mention failure → posted to #267
19:16:42Z 24418203215 tend-mention failure → posted to #267
19:17:43Z 24418247574 tend-mention success (Anthropic recovered)

Each failure ran action.yaml's Report failure step (action.yaml:296-358), which POSTed to the tend-outage-labeled #267. That issue_comment event re-triggered tend-mention, which failed the same way, producing the next run. The cascade stopped only when the Anthropic API came back online — the same pattern that produced 95 runs in ~80 minutes during the 2026-04-14T03:03Z outage documented in #268.

Root cause

#268 merged the fix into generator/src/tend/workflows.py at 2026-04-14T13:56Z, and #270 released 0.0.12. But tend's own .github/workflows/tend-mention.yaml was last regenerated at cb6e919 (#236), which predates #268. The deployed filter is still:

(github.event_name == 'issue_comment') ||

which allows every comment on the tend-outage issue to re-trigger the workflow. This PR applies the 0.0.12 generator, which emits the guarded form:

(github.event_name == 'issue_comment' &&
  !contains(github.event.issue.labels.*.name, 'tend-outage')) ||

What's in this regen

  • tend-mention.yaml: #268 tend-outage skip guard.
  • tend-notifications.yaml: #254 freshness gate (Layer D) + bot-closed-PR drop (Layer C). Already released in 0.0.12; regenerating brings tend's own workflow in line.

CLAUDE.md authorizes regenerating to the latest release ("Updating earlier to the latest release (e.g., during a release commit) is fine"); 0.0.12 was released today in #270.

Gate assessment

  • Classification: Structural — same conditions reproduce every time. An Anthropic outage lasting ≥ ~2 min triggers the cascade with probability 1 under the current deployed filter.
  • Evidence level: Critical. 1 occurrence this run + 1 historical occurrence (95 runs on 2026-04-14T03:03Z, documented in #268). Per review-gates.md, a structural failure with a clear critical outcome passes Gate 1 at 1 occurrence.
  • Change type: Mechanical regeneration. No generator or skill changes — only workflow YAML regenerated from already-merged, already-released source.
  • Gates: Pass / Pass.

Test plan

  • CI green on this PR.
  • On the next Anthropic outage lasting ≥ 2 minutes, tend-mention stays quiet on Bot temporarily unavailable #267 instead of looping — the cascade can't re-enter because the issue_comment filter now excludes tend-outage-labeled issues.

Pulls in PR #268's `tend-outage` skip guard for `tend-mention`
(critical — prevents the outage self-loop) and the freshness-gate /
bot-closed-PR-drop from PR #254 for `tend-notifications`.

Observed on run 24418078692 (review-reviewers, 2026-04-14T19:13Z):
a 3-run cascade hit #267 between 19:14–19:17Z during a brief
Anthropic outage. The cascade only stopped because the API recovered;
the same pattern produced 95 runs in ~80 minutes during the earlier
2026-04-14T03:03Z outage documented in #268. Tend's own
`tend-mention.yaml` was last regenerated at cb6e919 (#236), which
predates #268, so the deployed filter still allows `issue_comment`
events on the `tend-outage` tracking issue.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@tend-agent tend-agent added the claude-behavior Behavioral issues found by review-reviewers label Apr 14, 2026
@max-sixty
max-sixty merged commit ee8046a into main Apr 14, 2026
3 checks passed
@max-sixty
max-sixty deleted the hourly/review-24418078692 branch April 14, 2026 20:07
tend-agent added a commit that referenced this pull request Apr 14, 2026
Closes #274

A fix that lands in the generator isn't deployed on tend itself until
.github/workflows/tend-*.yaml is regenerated. PR #268's tend-outage
label filter was merged 2026-04-14T13:56Z and released in 0.0.12 at
17:16Z, but the filter didn't reach tend's deployed workflows until
#273 merged at 20:07Z. During the gap, an Anthropic outage at 19:14Z
triggered the same self-sustaining cascade on #267 that the filter was
meant to prevent. Adding this step to the release workflow closes the
deployment gap on tend itself.

Co-Authored-By: Claude <[email protected]>
max-sixty pushed a commit that referenced this pull request Apr 14, 2026
## Problem

A fix that lands in the `tend` generator isn't deployed on tend itself
until `.github/workflows/tend-*.yaml` is regenerated from the released
version. That regeneration happens nightly, so between a release and the
next nightly run there's a window where tend's own workflows lag the
just-released generator.

For 0.0.12:

- 2026-04-14T13:56Z — PR #268 merged (adds `!contains(labels,
'tend-outage')` filter on `tend-mention.yaml`'s `issue_comment` branch).
- 17:16Z — Release 0.0.12 cut.
- 19:14–19:46Z — Anthropic outage; because tend's deployed
`tend-mention.yaml` was still the pre-#268 version, the self-sustaining
cascade the filter was meant to prevent fired again: 6 `tend-mention`
failures + 1 `tend-notifications` failure posted 7 "Failed run at …"
comments on outage tracking issue #267, each retriggering the next.
- 20:07Z — PR #273 regenerated the workflows; cascade stopped.

Full evidence in #274.

## Solution

Adds a step 10 to `.claude/skills/release/SKILL.md`: after the PyPI
release is live, run `uvx tend@latest init` and open a regeneration PR
(matching #273's format). This closes the post-release deployment gap on
tend itself — consuming repos are unaffected since they already pick up
the new release on their next nightly run.

Aligns with existing CLAUDE.md guidance: *"Updating earlier to the
latest release (e.g., during a release commit) is fine."*

## Testing

- `uvx pre-commit run --all-files` — all hooks pass (skill text change
only, no code).
- Change is two added lines in one markdown file.

---
Closes #274 — automated triage

Co-authored-by: tend-agent <[email protected]>
Co-authored-by: Claude <[email protected]>
@max-sixty max-sixty mentioned this pull request Apr 15, 2026
max-sixty added a commit that referenced this pull request Apr 15, 2026
Bumps generator version to 0.0.13 and syncs lockfile.

6 commits since 0.0.12:
- fix(generator): support `with:` on `uses` setup steps (#282)
- fix(release): regenerate tend's own workflows after PyPI release
(#275)
- docs: explain workflow overrides and test skip-review-label example
(#277)
- docs(readme): note on Claude subscription & OAuth tokens (#272)
- skills(review-reviewers): document bot-self-trigger as non-issue
(#271)
- chore: regenerate workflows with tend 0.0.12 (#273)

> _This was written by Claude Code on behalf of Maximilian_

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-behavior Behavioral issues found by review-reviewers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants