Repository navigation
chore: bump harness timeout default to 3 hours - #739
Merged
Merged
Conversation
The headless and PTY Claude harnesses both defaulted to a 60-minute (3600s) cap. Long-running sessions — notably tend-ci-fix stress-testing a flaky/timing-sensitive failure — routinely need more than an hour and were getting killed mid-work, surfacing as 'Bot temporarily unavailable' outages. Short tasks finish well before the cap regardless, so raise the default to 3 hours (10800s) for both Claude actions. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Merged
max-sixty
added a commit
that referenced
this pull request
Jun 29, 2026
Release 0.1.9. Version bump, lockfile sync, and CHANGELOG. Ships 6 commits since 0.1.8: ### Improved - `review` skill runs a `/code-review` pass alongside its manual checks, effort scaled to how core the change is ([#741](#741)) - Default harness timeout rises from 60 minutes to 3 hours ([#739](#739)) - `running-in-ci` recheck guard catches a new directive, not just a duplicate ([#738](#738)) - Both Claude harnesses update to claude-code 2.1.195 ([#740](#740)) ### Fixed - Incremental PR review no longer leaks the base-merge delta (three-dot diff + `git log --no-merges`) ([#735](#735)) ### Documentation - A composite-action comment drops a disproved security claim ([#737](#737)) The `0.1.9` tag is pushed after this merges. Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Jun 29, 2026
Re-stamps tend's own `tend-*.yaml` workflows from the just-released 0.1.9 generator. Moves the pinned action ref from `max-sixty/tend/[email protected]` to `@0.1.9` across all eight workflows — the only change. Picks up the 0.1.9 action behavior on tend itself: 3-hour default harness timeout ([#739](#739)) and claude-code 2.1.195 ([#740](#740)). Until this merges, tend's deployed workflows lag the released generator. Routine post-release regen (release skill step 11). Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Jul 23, 2026
Raises the default harness timeout from 3 hours (10800s, set in #739) to 5h50m (21000s) in both Claude harnesses (`claude/action.yaml` headless, `claude-interactive/action.yaml` PTY). 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_seconds` can'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-nightly` runs (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-files` pass, including the check that keeps the two harnesses' input defaults in sync. > _This was written by Claude Code on behalf of max_
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.
Bumps the default
timeout_secondsfrom3600(60 min) to10800(3 hours) in both Claude harness actions (claude/action.yamlheadless,claude-interactive/action.yamlPTY). Codex has no harness-level timeout (it relies on the GitHub job cap), so nothing changes there.Requested by a maintainer in max-sixty/worktrunk#3260: worktrunk's nightly
tend-ci-fixwas repeatedly hitting the 60-minute cap while stress-testing a flaky, timing-sensitive integration test, surfacing as recurring "Bot temporarily unavailable" outages. The sessions weren't stuck — they were genuinely longer than the cap. Raising the ceiling lets these long sessions finish; short tasks finish well before the cap regardless, so the only cost is that a genuinely runaway session now burns up to 3 hours of subscription compute before the supervisor kills it.The bump reaches adopters at the next tend release, since their workflows pin
max-sixty/tend/<harness>@X.Y.Z; tend's own workflows pick it up the same way.Note: this overlaps with #736, which caps the
tend-ci-fixjob attimeout-minutes: 120. With a 3-hour harness timeout, that 120-minute GitHub job cap would killtend-ci-fixat 2 hours — before the harness timeout fires — which undercuts the increase for the exact workflow that motivated it. Worth reconciling: either close #736, or raise its cap to ≥180 min so the harness timeout is the effective gate. Your call.Diff summary
claude/action.yaml:timeout_secondsdefault3600→10800, description updated.claude-interactive/action.yaml: same (kept in step with the headless pin).Generator tests (255) pass — the action defaults aren't consumed by workflow generation, so there's no rendered-output change.