Skip to content

tasks: the include states that the site does not release, and the sources say what moves them - #141

Merged
aledbf merged 1 commit into
mainfrom
tasks/release-none
Nov 22, 2026
Merged

aledbf merged 1 commit into
mainfrom
tasks/release-none

Conversation

@aledbf

@aledbf aledbf commented Nov 22, 2026

Copy link
Copy Markdown
Member

Why

The maintenance tasks every spin-stack repository has should mean the same thing in each one. go-tools v20261122.06 (spin-stack/go-tools#138) changed two things the site needs to answer. release cuts a release only where the include states how, in a map var named RELEASE, and GATE_WORKFLOW and GATE_JOBS no longer exist. And a versions.yaml entry can name the command that moves it, so the shared bump refuses an entry that sources:bump owns. This follows #140, which took the tasks and was merged before that release.

What changed

  • Taskfile.yml: the include states RELEASE: {none: ...} with the reason. The comment beside it no longer explains absent vars, and names go-tools' file where it is now, internal/tasks/tasks.yml.
  • versions.yaml: spin, spin-terraform-aws and brand carry bump: go tool task sources:bump.
  • go.mod and go.sum: go-tools from v0.20261122.5 to v0.20261122.6, in the same commit as the field. An older versions refuses a file that has it.
  • README.md: the sentence that said a source's pin moves with sources:bump now says the entry states it and bump refuses.

Scope

  • The reason is from evidence. git tag lists nothing and gh release list is empty. pages.yml runs go tool task upload on every push to main, which is production at docs.spinbox.dev.
  • tools/sources is unchanged. It calls go-tools' upstream.Check and upstream.Bump, and the refusal lives in the versions command, not in the library.
  • No pin moves. spin and brand are behind today and stay where they are: the sync's pull request (sources: spin v20261121.03 89c5eb5ea9, brand main bc30803128 #138) owns those.
  • No page, component or design changes.

Blast Radius

  • go tool task bump NAME=spin, NAME=spin-terraform-aws and NAME=brand now fail, with or without TO= or BACK=1. They exited 0 before and left reference:check red until task reference ran.
  • go tool task versions prints moved by `go tool task sources:bump` in those three rows.
  • release refused before this commit too, with states no RELEASE. It now refuses with the site's own reason. The site has a pages.yml with a job named Gate; a forged RELEASE naming it gets the same refusal.
  • A checkout with this versions.yaml and a go-tools before v0.20261122.6 cannot read the file. Both move in this one commit.

Verification

Run in a worktree of this branch, exit statuses read directly.

command exit printed
go tool task release RELEASE_DRY=1 201 release: this repository does not release. Its Taskfile says why (RELEASE's none): pages.yml uploads every push to main to Cloudflare Pages, so the site is deployed and no tag or release names a version of it
the same with 'RELEASE={proof: ci.yml, jobs: Gate}' RELEASE_PROOF=ci.yml RELEASE_JOBS=Gate 201 the same message
the same with pages.yml in place of ci.yml 201 the same message
go tool task bump NAME=spin TO=v20261114.01 (its current version) 201 versions: spin is moved by `go tool task sources:bump`, as its entry says (bump:), and not by this command: that one knows what a bump of spin needs
go tool task bump NAME=brand 201 the same, of brand
go tool task bump NAME=spin TO=v20261114.01 BACK=1 201 the same, of spin
go tool task bump NAME=actionlint TO=v1.7.12 0 actionlint: v1.7.12 -> v1.7.12, tree unchanged
go tool task versions 201 2 behind (spin and brand), each source's row with moved by `go tool task sources:bump`, and the last line versions: 2 behind; go tool task bump NAME=<name> moves one, and the command a row names moves that one
go run ./tools/sources -bump -file <a copy of versions.yaml> -dir <a scratch directory> spin spin-terraform-aws brand 0 spin: v20261114.01 ... -> v20261121.03 ..., spin-terraform-aws: stays, brand: main c84791b... -> main bc30803.... The copy differs from the file in those versions and pins only, and each bump: line is kept
go test ./tools/sources 0 ok
go tool task lint:workflows 0 no finding
go tool task gate 0 Biome and astro check pass, linkcheck: 517 pages, every link resolves
go tool task reference:check 0 With gate, that is all of check

On main before this commit: versions exited 201 with 2 behind; go tool task bump NAME=<name> moves one, and release RELEASE_DRY=1 exited 201 with release: this repository's include of the common tasks states no RELEASE, ....

Not run: upload, deploy, sync:*, and sources:bump against the real versions.yaml, which would move two pins.

Part of spin-stack/go-tools#135

🤖 Generated with Claude Code

…rces say what moves them

go-tools v20261122.06 cuts a release only where a repository's include
says how, in a map var named RELEASE. The site has no tag and no release:
pages.yml uploads every push to main to Cloudflare Pages. The include now
says so with `none`, and `go tool task release` refuses with that
sentence, whatever the command line or the environment holds.

spin, spin-terraform-aws and brand say `bump: go tool task sources:bump`
in versions.yaml. The shared `bump` refuses the three and names the
command, and `versions` says it in each row. tools/sources still moves
them: go-tools' upstream.Bump does not read the field.

go-tools moves to v0.20261122.6 in the same commit, since an older
versions refuses a file with the field.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

@aledbf
aledbf merged commit 968c971 into main Nov 22, 2026
1 check passed
@aledbf
aledbf deleted the tasks/release-none branch November 22, 2026 18:53
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.

1 participant