Skip to content

chore: bump setup-uv to v10.2.0 - #1359

Merged
max-sixty merged 1 commit into
mainfrom
chore/bump-setup-uv-v10.2.0
Sep 21, 2026
Merged

max-sixty merged 1 commit into
mainfrom
chore/bump-setup-uv-v10.2.0

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

Moves astral-sh/setup-uv from v10.1.0 to v10.2.0 on the surfaces that ship: the setup_tend_uv() macro in macros.yaml.j2, which renders into every consumer's generated workflow, and the setup: examples in docs/tend.example.yaml (a pre-commit hook mirrors them into install-tend). The repo's own .config/tend.yaml and hand-maintained .github/workflows/ files move in the repo-local PR, per the weekly sweep's split; the generated tend-*.yaml take the template's new ref at the next release.

Nothing in v10.2.0 changes behavior for the step tend renders. The release has two functional changes. Known checksums are added for uv 0.12.13–0.12.17, which covers the uv_version default — but KNOWN_CHECKSUMS is only a fallback: download-version.ts already passes the live versions manifest's own sha256 for the artifact, and v10.1.0 consults it the same way, so the pinned uv download was already checksum-verified. And cache saves are now skipped in merge queues, which the macro's enable-cache: false puts out of reach, and no tend workflow triggers on merge_group anyway.

So this is a routine ref refresh that keeps the weekly uses: sweep from reporting the same drift each week, not a fix.

Verification

Regenerated the eleven _regtest_outputs snapshots that carry the rendered step; the whole diff under generator/tests/ is the one line, - uses: astral-sh/[email protected] to v10.2.0. uv run pytest is 1198 passed with the two test_refresh_consumers.py failures CLAUDE.md documents (the uv run --script subprocess has no DNS in the session sandbox). uv tool run pre-commit run --all-files passes all twelve hooks, including the install-tend mirror sync.

The checksum reading is from the sources rather than the release notes: checksum.ts resolves a provided checksum, then KNOWN_CHECKSUMS, then the manifest checksum, and returns unverified only when all three are absent; manifest.ts fetches VERSIONS_MANIFEST_URL and each artifact carries sha256.

Weekly pin sweep.

@max-sixty
max-sixty merged commit 33b6619 into main Sep 21, 2026
11 checks passed
@max-sixty
max-sixty deleted the chore/bump-setup-uv-v10.2.0 branch September 21, 2026 23:15
max-sixty pushed a commit that referenced this pull request Sep 21, 2026
The repo-local half of this week's pin sweep — the files only this repo
runs. Both pins published today, after the earlier weekly run swept them
in #1341, so neither is a miss that run made.

**`astral-sh/setup-uv` v10.1.0 → v10.2.0** in `.config/tend.yaml`'s
`setup:`, `ci.yaml`, and `pypi-release.yaml`. The shipped half — the
`setup_tend_uv()` macro and the `docs/tend.example.yaml` examples — is
#1359, which also covers why v10.2.0 changes no behavior here: its
known-checksum additions sit behind the live versions manifest that
v10.1.0 already consults, and its merge-queue cache change is out of
reach of a step with `enable-cache: false`. The generated `tend-*.yaml`
still carry v10.1.0; they take the `setup:` value from this PR at the
next nightly regeneration, which is where those refs move.

**`wrangler` 4.135.0 → 4.136.1** in `worker/package-lock.json`. Lockfile
drift only — `package.json`'s `^4.128.0` already admits it, so `npm
update wrangler` is the whole change, and it carries `workerd`
1.20260918.1 → 1.20260921.1, `miniflare` and `@cloudflare/unenv-preset`
2.16.1 → 2.16.2 with it. After it, `npm --prefix worker outdated` prints
no rows.

Also swept and already current, so absent from the diff:
`claude_version` (2.1.278), `mitmproxy_version` (12.2.3) and its `==`
pin, `uv_version` (0.12.17), `uv_build`'s range, `WORKTRUNK_VERSION`
(0.79.0), `uv lock --upgrade`, `pre-commit autoupdate`, and `site`'s npm
tree. `codex_version` is #1342, open since this morning.
`data/consumers.json` refreshed clean — `changed: false`, 8 consumers,
nothing removed.

<details><summary>Verification</summary>

`npm --prefix worker test` is 32 passed and `npm --prefix worker run
typecheck` is clean against the new lockfile. `uv tool run pre-commit
run --all-files` passes all twelve hooks, actionlint included, which is
what reads the two hand-maintained workflow files this touches.

</details>

Weekly pin sweep.

Co-authored-by: tend-agent <[email protected]>
@max-sixty max-sixty mentioned this pull request Sep 22, 2026
max-sixty added a commit that referenced this pull request Sep 22, 2026
Bumps the generator to 0.2.15, syncs `uv.lock`, and adds the 0.2.15
changelog section. The release ships the restrict-updates ruleset
requirement and the `AGENTS.override.md` pin (#1367), the follow-up
review that focuses on the pushed commits (#1368), a rising bar for
further fix rounds on PRs with no human author (#1366), #1365, #1362,
and the setup-uv v10.2.0 bump (#1359, #1360).

`uv run pytest` (1216 passed), the worker's vitest suite and typecheck,
and every pre-commit hook pass on this commit.

> _This was written by Claude Code on behalf of max-sixty_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
max-sixty pushed a commit to max-sixty/leaf that referenced this pull request Sep 22, 2026
Regenerates the nine `tend-*` workflows on tend 0.2.15, up from 0.2.14.
Every job now pins `max-sixty/tend/[email protected]`, so merging adopts
that release's agent behaviour as well as the YAML below.

## What changes for this repo

**`tend check` holds branch protection to a ruleset the bot cannot
bypass.** Required reviews alone no longer pass the
`branch-protection:main` check: the bot holds write, so its own approval
satisfies a review requirement on a pull request someone else opened,
and it can then merge. A read it cannot decode is now a failed read
rather than a pass — previously an unreadable protection response
reported the check green without having verified anything. Leaf already
carries the `Merge access` restrict-updates ruleset, so this check stays
`PASS`; `tend check --fix` now offers to create that ruleset for any
failing branch, not only for the specific "bot can still merge" message.

**`tend-mention` measures its queue delay before checkout and
`setup:`.** The delay step moved ahead of both, so the number it reports
is the wait for the job to start rather than that wait plus however long
this repo's `setup:` takes. Leaf's mention runs will report a smaller
delay than before for the same actual queue time.

**Reviews open with a finding.** A review body no longer spends its
first lines restating where GitHub shows the verdict, a follow-up review
focuses on what was pushed while keeping the whole PR in view, and each
further fix round on a PR with no human author has to clear a higher bar
before the bot pushes again.

**Action pins.** `astral-sh/setup-uv` moves from v10.1.0 to v10.2.0 in
the two workflows that set it up directly (`tend-mention`,
`tend-notifications`).

[Compare
0.2.14...0.2.15](max-sixty/tend@0.2.14...0.2.15)

<details><summary>Upstream commits in this range</summary>

- `chore: regenerate workflows with tend 0.2.14` (max-sixty/tend#1358)
- `fix(review): say where GitHub shows a review's verdict, so the body
opens with a finding` (max-sixty/tend#1362)
- `fix(mention): compute the queue delay before checkout and setup`
(max-sixty/tend#1365)
- `fix(review): raise the bar for each further fix round on a PR with no
human author` (max-sixty/tend#1366)
- `Require a restrict-updates ruleset, pin AGENTS.override.md, and
rewrite the security docs` (max-sixty/tend#1367)
- `chore: bump setup-uv to v10.2.0` (max-sixty/tend#1359)
- `chore: bump repo-local setup-uv and wrangler pins`
(max-sixty/tend#1360)
- `chore(token-usage): drop the stream-json artifact copy its own
comment marked for removal` (max-sixty/tend#1361)
- `fix(review): focus a follow-up review on what was pushed, with the
whole PR in view` (max-sixty/tend#1368)
- `chore: release 0.2.15` (max-sixty/tend#1369)

The `AGENTS.override.md` pin in max-sixty/tend#1367 and the dropped
stream-json artifact copy in max-sixty/tend#1361 have no effect here —
the first applies to the Codex harness and the second to tend's own
repository.

</details>

Co-authored-by: leaf-agent <[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