Skip to content

chore: add timeout-minutes to tend workflow jobs - #257

Closed
tend-agent wants to merge 1 commit into
mainfrom
chore/add-timeout-minutes
Closed

tend-agent wants to merge 1 commit into
mainfrom
chore/add-timeout-minutes

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

Summary

  • Adds timeout-minutes: 60 to all tend-* workflow jobs
  • The published generator already emits this, but the committed workflows were missing it
  • Without an explicit timeout, runaway jobs fall back to GitHub's 6-hour default

Test plan

  • Verify cd generator && uv run pytest passes
  • Confirm no other workflow content was modified

🤖 Generated with Claude Code

The published generator now emits timeout-minutes: 60 on every job,
but the committed workflow files were missing it. Without an explicit
timeout, runaway jobs fall back to GitHub's default 6-hour limit.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These workflow files are generated by uvx tend@latest init and their headers say "Do not edit this file directly". The generator (workflows.py) does not emit timeout-minutes, so these changes will be overwritten on the next nightly regeneration.

Two options that would persist:

  1. Add a default in the generator — emit timeout-minutes: 60 in each job template in workflows.py. This benefits all repos using tend.
  2. Add per-job config in .config/tend.toml using the existing jobs extras mechanism (already tested for this exact use case in test_job_extras_add_key). This would only affect this repo.

Also, the non-generated review-reviewers.yaml is missing timeout-minutes and isn't covered here.

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.

2 participants