Skip to content

chore: update tend workflows (0.1.20 → 0.1.22) - #119

Merged
max-sixty merged 2 commits into
mainfrom
tend/update-workflows
Aug 30, 2026
Merged

max-sixty merged 2 commits into
mainfrom
tend/update-workflows

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Aug 30, 2026 •

Copy link
Copy Markdown
Collaborator

Automated nightly regeneration of tend's workflow files.

tend version: 0.1.20 → 0.1.22

Notable changes

max-sixty/tend@0.1.20...0.1.22

Beyond the regeneration: 0.1.22's tend-review.yaml sets concurrency.queue: max, which GitHub accepts but the pinned actionlint hook rejects, so this PR also adds a scoped -ignore for that one schema message to .pre-commit-config.yaml — otherwise lint is red and the PR can't merge on its own CI. Tracked upstream as max-sixty/tend#1094.

@leaf-agent leaf-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.

The regeneration itself looks faithful — six of the eight files are version-line-only, and the repo-local settings (bot_name: leaf-agent, model: opus, the sandbox_setup Playwright install) all survived. One thing blocks landing.

lint is red, and this diff causes it. tend 0.1.22 adds queue: max to tend-review.yaml's concurrency block, and the actionlint pre-commit hook pinned at v1.7.12 rejects the key outright:

.github/workflows/tend-review.yaml:22:7: unexpected key "queue" for "concurrency" section. expected one of "cancel-in-progress", "group" [syntax-check]

The workflow is fine — GitHub does accept concurrency.queue, and upstream tend's own tend-review runs green on this exact file. It's the linter that's behind, and it will stay behind: rhysd/actionlint#657 is still open, the PR that would have fixed it (#661) was closed unmerged, and v1.7.12 is still the latest release. So bumping the pin isn't a route out.

Upstream hit this and fixed it in tend's own .pre-commit-config.yaml. Mirroring it here clears the hook — I ran it against the merged tree to confirm:

  - repo: https://github.com/rhysd/actionlint
    rev: v1.7.12
    hooks:
      - id: actionlint
        # GitHub accepts concurrency.queue, but this pin does not yet know it.
        # Ignore only that schema false positive.
        args:
          - -ignore
          - 'unexpected key "queue" for "concurrency" section'

That file is outside this diff and isn't generated, so it survives the next regeneration — but it also means every nightly bump will re-break lint until it lands.

Two things worth noting beyond the fix. First, tend ships the workflow that needs this accommodation without shipping the accommodation, so any adopter repo that lints its workflows goes red on the 0.1.20 → 0.1.22 bump — that reads like a gap worth an issue at max-sixty/tend rather than a leaf-local quirk. Second, tend-review triggers on pull_request_target, so the run on this PR executed the base branch's workflow file: nothing in this PR's CI actually exercises the new queue: max file. Its first real execution is after merge.

How this was checked
  • pre-commit run --all-files on the merged tree: every hook passes except actionlint, which fails on tend-review.yaml:22 with the message quoted above. That is the whole of the lint job's failure.
  • Applying the args: block above and re-running pre-commit run actionlint --all-files passes. (A .github/actionlint.yaml paths:/ignore: entry also works, but the args form matches upstream and keeps the accommodation next to the pin it compensates for.)
  • GitHub-side validity: max-sixty/tend's own .github/workflows/tend-review.yaml carries the identical queue: max block, and that repo's recent tend-review runs report success.
  • actionlint status: latest release v1.7.12 (2026-03-30); rhysd/actionlint#661 closed merged: false on 2026-06-23; no release published since.
  • Regeneration fidelity: BOT_NAME was dropped from tend-notifications.yaml's env along with the layer-C script that used it — no remaining reference in that file. The repository_owner == 'max-sixty' gate is intact on all six scheduled workflows. .config/tend.yaml carries no version pin needing a matching bump.

tend 0.1.22 sets `concurrency.queue` on tend-review.yaml. GitHub accepts
the key; actionlint v1.7.12 does not know it and fails the lint job. A pin
bump is no route out — rhysd/actionlint#657 is open, its fix (#661) closed
unmerged, and v1.7.12 is still the latest release. Ignore that one message,
matching the accommodation upstream tend carries for the same file.
@leaf-agent

Copy link
Copy Markdown
Collaborator Author

Applied the review's fix in c33e6aa: the actionlint hook now passes -ignore 'unexpected key "queue" for "concurrency" section', matching the accommodation upstream tend carries for the same generated file. Every gating check on that commit settled green, lint included.

The upstream gap the review flagged — the generator shipping concurrency.queue: max without the accommodation, so any adopter that lints its workflows reddens on the regen — is already filed as max-sixty/tend#1094, so nothing further from here. If it lands generator-side, this repo's -ignore entry becomes removable; until then it survives regeneration, since .pre-commit-config.yaml isn't generated.

Verification
  • pre-commit run --all-files on the pushed tree: all twelve hooks pass, Lint GitHub Actions workflow files.......Passed among them.
  • Before the change, the lint job failed with .github/workflows/tend-review.yaml:22:7: unexpected key "queue" for "concurrency" section and nothing else (run 33297487097).
  • The ignore is scoped to that one message, so any other actionlint finding in any workflow still fails the hook.
  • Still true of this head: tend-review runs on pull_request_target, so no CI here has executed the new queue: max file — its first real execution is after merge.

@max-sixty
max-sixty merged commit ef94322 into main Aug 30, 2026
3 checks passed
@max-sixty
max-sixty deleted the tend/update-workflows branch August 30, 2026 18:10
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