Repository navigation
chore: bump harness timeout default to 5h50m - #790
Merged
Merged
Conversation
GitHub Actions hard-caps hosted-runner job execution at 6 hours with no override, counting the whole job — checkout, setup, the Claude run, and the reporting/log-upload steps after it — not just the supervised run. Raises timeout_seconds from 10800s (3h, set in #739) to 21000s (5h50m) in both Claude harnesses: a 10-minute buffer over the observed ~2-minute real overhead, so a session that fills its budget still gets the supervisor's clean SIGTERM-and-report instead of GitHub's own silent kill mid-teardown. Codex has no harness-level timeout and is unaffected.
tend-agent
approved these changes
Jul 23, 2026
max-sixty
added a commit
that referenced
this pull request
Jul 24, 2026
## Summary Cuts release 0.1.12. 5 commits since 0.1.11: - Raise default harness timeout to 5h50m (#790) - Stop asking upstream maintainers to do verification the bot couldn't do itself (#789) - Fail loud on transient `gh` errors in `list-recent-runs.sh` instead of a false all-clear (#784) - Bump pinned `claude_version` to 2.1.215 (#782) - Tolerate transient non-JSON `gh api` responses in notifications (#780) (`#778`, a routine post-0.1.11 workflow regen, is omitted from the changelog as non-user-facing.) ## Test plan - [x] `wt test` — 276 passed - [x] `pre-commit run --all-files` — passed - [ ] CI green on this PR - [ ] Tag `0.1.12` and push after merge to trigger PyPI publish + GitHub Release > _This was written by Claude Code on behalf of Maximilian Roos_
max-sixty
pushed a commit
to max-sixty/worktrunk
that referenced
this pull request
Jul 25, 2026
Automated nightly regeneration of tend's workflow files via `uvx tend@latest init`, picking up the tend release since the last regen. **tend version:** 0.1.11 → 0.1.12 **Notable changes:** - **Notifications workflow tolerates transient `gh api` blips** — the notifications fetch now retries on non-JSON responses (e.g. an HTML error page returned with a 200 during an API blip) and skips the cycle cleanly instead of aborting the step red (max-sixty/tend#780). - **`review-runs` fails loud on transient `gh` errors** — a failed run enumeration no longer reports a false all-clear; it surfaces the error so the run isn't silently treated as clean (max-sixty/tend#784). - **`running-in-ci` guidance** — the bot no longer asks outside contributors to do work it can't do itself (max-sixty/tend#789). - **Harness bumps** — Claude harness version bumped to 2.1.215 (max-sixty/tend#782) and the default harness timeout raised to 5h50m (max-sixty/tend#790). Compare: max-sixty/tend@0.1.11...0.1.12 Co-authored-by: worktrunk-bot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Raises the default harness timeout from 3 hours (10800s, set in #739) to 5h50m (21000s) in both Claude harnesses (
claude/action.yamlheadless,claude-interactive/action.yamlPTY).GitHub Actions hard-caps hosted-runner job execution at 6 hours with no override — confirmed against GitHub's own Actions limits docs, not configurable higher even by support. That cap counts the whole job (checkout, setup, the supervised Claude run, and the reporting/log-upload steps after it), not just the run itself, so
timeout_secondscan't simply match GitHub's ceiling exactly: a session that fills its full budget would then get killed uncleanly by GitHub mid-teardown, before the harness's own SIGTERM-and-report path can run — the same opaque "$0.00, 0 tokens" failure mode #739 was fixing in the first place, just moved from 1 hour to 6.21000s leaves a 10-minute buffer under the 6-hour ceiling. Pulled real step-timing data from two worktrunk
tend-nightlyruns (a normal one and the one that originally hit the 3600s cap) — actual overhead outside the supervised run (checkout,claude-setup, and the composite action's own internal setup/report steps) is ~2 minutes, so 10 minutes covers it with margin for a slower run (cache miss, network variance) while staying close to GitHub's ceiling.Codex has no harness-level timeout (relies on the GitHub job cap directly), so it's unaffected.
Verified: full generator test suite (275 tests) and
pre-commit run --all-filespass, including the check that keeps the two harnesses' input defaults in sync.