Skip to content

generator: route install-test through _apply_extras - #544

Merged
max-sixty merged 1 commit into
mainfrom
setup
May 16, 2026
Merged

max-sixty merged 1 commit into
mainfrom
setup

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Summary

  • tend-install-test.yaml was generated outside generate_all()'s main loop, so workflows.install-test.workflow_extra and workflows.install-test.jobs overrides from .config/tend.yaml were silently dropped.
  • Route the install-test workflow through _apply_extras and add install-test to KNOWN_WORKFLOWS so the config validator accepts the section.
  • Concrete impact: an adopter on a corporate-proxy CI couldn't inject HTTPS_PROXY env into the install-test job; an adopter on self-hosted runners couldn't override runs-on. Now they can.

Test plan

  • uv run --directory generator pytest — 242 passed, regtest snapshots unchanged (_apply_extras short-circuits when no extras configured)
  • pre-commit run --all-files
  • New regression test test_install_test_honors_workflow_extras covers both workflow_extra (top-level env) and jobs.install-test (per-job override)

🤖 Generated with Claude Code

The install-test workflow was appended to generate_all() after the
GENERATORS loop without going through _apply_extras, so
workflows.install-test.workflow_extra and workflows.install-test.jobs
overrides from .config/tend.yaml were silently dropped.

Adopters behind corporate proxies or pinning self-hosted runners
couldn't extend the install-test job the same way they extend every
other tend workflow. Route it through _apply_extras and add install-test
to KNOWN_WORKFLOWS so the config validator accepts the section without
warning.

Co-authored-by: Claude <[email protected]>
@max-sixty
max-sixty merged commit b1ef19b into main May 16, 2026
6 checks passed
@max-sixty
max-sixty deleted the setup branch May 16, 2026 21:12
@max-sixty max-sixty mentioned this pull request May 17, 2026
3 tasks
max-sixty added a commit that referenced this pull request May 17, 2026
## Summary

Release 0.0.24. 11 PRs since 0.0.23:

- #545 Rewrite the workflow generator on Jinja2 templates
- #546 generator: switch build backend to uv_build
- #544 generator: route install-test through `_apply_extras`
- #535 install-tend: unify on the chain model (admin-gated refs + env
policy pin)
- #537 review-reviewers: migrate to the Codex harness
- #551 debug-tend-run: support Codex session logs; instruct Codex to
read skills in full
- #552 review: stop re-posting "prior thread still applies" on every
push
- #547 fix(stats): stop blacking out the section on transient worker
outage
- #548 site: simplify "currently tending" to a prose repo list
- #549 site: refresh "currently tending" on a 30s timer
- #550 site: refresh Stats and Activity on a timer

#551 and #552 are the reason for cutting now: together they stop the
Codex harness re-posting near-identical "the prior thread still applies"
reviews on every push. The behavior is release-gated, so it only reaches
tend's own dogfooded workflows once 0.0.24 is published and the nightly
regen repins the action ref.

No new breaking changes since 0.0.23 (the `TEND_BOT_TOKEN` rename
shipped in 0.0.23).

## Test plan

- [ ] CI green (test, test-worker, lint)
- [ ] After merge: tag `0.0.24`, PyPI publish (`pypi-release.yaml` on
the tag push), `uvx [email protected] --help` works
- [ ] Regenerate tend's own workflows to `@0.0.24` (separate `chore:
regenerate` PR, after the tag exists)

Co-authored-by: Claude <[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.

2 participants