Repository navigation
test(integration): correct the stale workflow-file count and misplaced section header - #1255
Merged
Merged
Conversation
…ame section The end-to-end docstring still said 7 workflow files; the assertion below it has listed 8 since tend-mention-relay was added. It also claimed to check the top-level `on` key, which the body never asserted — add it. test_init_bot_name_in_workflow_content had drifted to the end of the file, leaving its section header sitting over the install-test tests. Move it back under its own header.
This was referenced Sep 16, 2026
max-sixty
pushed a commit
to max-sixty/leaf
that referenced
this pull request
Sep 17, 2026
Regenerates the tend workflows from 0.2.8 to 0.2.9 and moves the `max-sixty/tend/claude` action pin with them. The change adopters will notice is the forced-colour fix in the preflight readers (max-sixty/tend#1254). `tend-mention` and `tend-notifications` each embed a small Python `gh` wrapper whose `--json` output is parsed before the agent boots. `gh` colourizes a piped JSON response when the job environment forces colour, and those ANSI codes landed inside the body the wrapper hands to `json.loads`, failing the preflight and stranding the trigger. Both wrappers now run `gh` with `NO_COLOR=1` and `CLICOLOR_FORCE=0`; the second is what actually defeats it, since `gh` ranks a forced value above `NO_COLOR`. The bundled skills carry one behaviour change with it: the bot now reviews its own change before the push that opens or fixes a PR (max-sixty/tend#1259), so a PR it opens should arrive having had a pass over its own diff. `tend-mention-relay` gains comment-only text recording why the relay job carries no `TEND_ENABLED` check — it boots no agent, and a paused repo stops at `tend-mention`'s `verify` regardless. No behaviour change there. Support: <max-sixty/tend@0.2.8...0.2.9> <details><summary>Upstream commits in this range</summary> The remaining entries are tend-internal and produce no adopter-visible effect: the references-index rule and its scoping (max-sixty/tend#1253), an integration-test count correction (max-sixty/tend#1255), and release mechanics (max-sixty/tend#1251, max-sixty/tend#1260). </details> Co-authored-by: leaf-agent <[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.
Three inaccuracies in
test_integration.pyfound by the nightly survey. No behavior change; the suite passes before and after.test_init_creates_correct_files_with_valid_yaml's docstring says "7 workflow files". The assertion directly below it has listed 8 sincetend-mention-relay.yamlwas added.nameandjobs. Rather than trim the claim, asserton— a generated file that lost its trigger block is worth catching, and the loop already has the parsed document in hand.test_init_bot_name_in_workflow_contentsits at the end of the file, so its# Bot name flows into workflow contentheader stands over the--with-install-testtests instead. Moved the test back under its own header; the diff is a pure relocation.