Skip to content

fix(mention-relay): skip the relay job when TEND_ENABLED is false - #1452

Merged
max-sixty merged 1 commit into
mainfrom
fix/relay-tend-enabled
Sep 29, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/relay-tend-enabled

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

The generated tend-mention-relay.yaml job now carries the TEND_ENABLED pause check alongside its fork filter, so a paused repository no longer starts a relay run on each review event, POSTs the tend-mention-review dispatch, or starts the second tend-mention run whose jobs all skip. The relay has no job of its own to do while paused: everything it dispatches lands in tend-mention, whose verify and handle jobs already check the variable.

This reverses the exception recorded in #1258, at the maintainer's direction on #1257. The Codex credential refresher and install-test remain unchecked; the refresher still has a reason to run while paused, since it keeps the subscription's tokens valid.

test_tend_enabled_variable_guards_every_agent_job now expects the relay to carry the check, and the relay snapshot is updated.

Closes #1257

The relay boots no agent, but in a paused repo tend-mention skips every
job it dispatches into, so running it only spent a runner, the dispatch
POST, and a second empty run per review event.

Closes #1257
@max-sixty
max-sixty merged commit 357b1af into main Sep 29, 2026
11 checks passed
@max-sixty
max-sixty deleted the fix/relay-tend-enabled branch September 29, 2026 21:27
max-sixty pushed a commit to max-sixty/worktrunk that referenced this pull request Sep 30, 2026
Upgrades the generated Tend workflows from 0.3.4 to 0.3.5
([compare](max-sixty/tend@0.3.4...0.3.5)).
The regenerated YAML changes little on its own: the action pin moves to
`max-sixty/tend/[email protected]`, and most of the behavior change arrives
through the new action's bundled skills and scripts.

What maintainers will notice:

- **Bot PRs get their review findings applied.** The review workflow now
decides whether to apply its own findings by who authored the PR, so a
review on a bot-authored PR follows through with a fix instead of
stopping at the comment (max-sixty/tend#1433).
- **Relayed PR-review mentions are named after the PR.** `tend-mention`
runs triggered through `tend-mention-relay` now get the PR title as
their run name rather than the event type, and the notifications poll
uses that name to tell which PR a live run is handling
(max-sixty/tend#1450). The relay job also skips when `TEND_ENABLED` is
`false`, instead of dispatching a run that does nothing
(max-sixty/tend#1452).
- **CI waits run to completion instead of a fixed cap.** CI polling and
integration-test waits now wait for checks to settle instead of timing
out at about 9 minutes, so a slow matrix reports its real result rather
than "unverified" (max-sixty/tend#1448, max-sixty/tend#1451).
- **Fewer truncated listings.** Pagination now reads every page of
notifications, failed-run jobs, and workflow listings
(max-sixty/tend#1435, max-sixty/tend#1442, max-sixty/tend#1457). The
inline pagination helpers in `tend-mention` and `tend-notifications` now
use `gh api --paginate --slurp`.
- **Weekly dependency review matches Dependabot and Renovate PRs
again.** It now matches on the `app/…` author login that `gh` reports
(max-sixty/tend#1441).
- **Nightly and review behavior.** Repo overlays can now skip advisory
checks, review findings are ranked by severity, and the nightly issue
sweep rotates across issues (max-sixty/tend#1450). `ci-fix` recurrence
comments now lead with what changed (max-sixty/tend#1446).

Also bumps the pinned `uv` from 0.12.17 to 0.12.19 in the pre-check
steps. `.config/tend.yaml` has no model pin, so there was no model to
update.

Co-authored-by: worktrunk-bot <[email protected]>
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.

tend-mention-relay's job is not gated on TEND_ENABLED

2 participants