worktrunk icon indicating copy to clipboard operation
worktrunk copied to clipboard

Bot temporarily unavailable

Open worktrunk-bot opened this issue 7 months ago • 7 comments

The bot failed to process a request. This issue tracks failures until the underlying cause is resolved.

When Run Trigger
2026-04-29T13:13:15Z workflow run N/A

This issue was created automatically. Close it once the outage is resolved.

worktrunk-bot avatar Apr 29 '26 13:04 worktrunk-bot

@tend-agent I thought we configured this to show the reason inline? no?

max-sixty avatar Apr 29 '26 14:04 max-sixty

Yes — action.yaml polls for ##[error] annotations on the failed job and embeds them in a <details> block on the issue body (action.yaml#L327-L351). It didn't fire on this one: the polling window is 5+15+30s = 50s, and the failure annotation hadn't surfaced via the API by then. The annotation is visible now on the run — the underlying error was a 403 Cloudflare challenge page returned from api.anthropic.com on the auth path (i.e. Anthropic-side rate limit / bot-protection challenge, not a tend bug).

The configured inline-reason mechanism is racing GitHub's annotation indexing and losing on slow-indexing runs. Worth a follow-up against tend to either extend the polling window or restructure to fetch after job completion. Want me to file one?

tend-agent avatar Apr 29 '26 14:04 tend-agent

@tend-agent let's try making the timeout much longer and we can see whether that actually helps

max-sixty avatar Apr 29 '26 14:04 max-sixty

Opened max-sixty/tend#355 — bumps the backoff from 5 15 30 (~50s) to 5 15 30 60 120 240 (~8 min). Loop still breaks as soon as the annotation surfaces, so the long tail is only paid when indexing genuinely lags.

tend-agent avatar Apr 29 '26 15:04 tend-agent

Failed run at 2026-04-30T01:07:38Z: workflow run (triggered by #2484)

worktrunk-bot avatar Apr 30 '26 01:04 worktrunk-bot

Failed run at 2026-04-30T01:13:51Z: workflow run

worktrunk-bot avatar Apr 30 '26 01:04 worktrunk-bot

Resolved — the bot has been processing requests successfully since this was opened (most recent bot-authored PRs: #2520, #2521, #2523, all merged within the last 24 hours). Closing per the issue's own "close once the outage is resolved" instruction.

worktrunk-bot avatar May 02 '26 06:05 worktrunk-bot