Repository navigation
tasks: the include states that the site does not release, and the sources say what moves them - #141
Merged
Merged
Conversation
…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>
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.
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.
releasecuts a release only where the include states how, in a map var namedRELEASE, andGATE_WORKFLOWandGATE_JOBSno longer exist. And aversions.yamlentry can name the command that moves it, so the sharedbumprefuses an entry thatsources:bumpowns. This follows #140, which took the tasks and was merged before that release.What changed
Taskfile.yml: the include statesRELEASE: {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-awsandbrandcarrybump: go tool task sources:bump.go.modandgo.sum: go-tools fromv0.20261122.5tov0.20261122.6, in the same commit as the field. An olderversionsrefuses a file that has it.README.md: the sentence that said a source's pin moves withsources:bumpnow says the entry states it andbumprefuses.Scope
git taglists nothing andgh release listis empty.pages.ymlrunsgo tool task uploadon every push to main, which is production at docs.spinbox.dev.tools/sourcesis unchanged. It calls go-tools'upstream.Checkandupstream.Bump, and the refusal lives in theversionscommand, not in the library.Blast Radius
go tool task bump NAME=spin,NAME=spin-terraform-awsandNAME=brandnow fail, with or withoutTO=orBACK=1. They exited 0 before and leftreference:checkred untiltask referenceran.go tool task versionsprintsmoved by `go tool task sources:bump`in those three rows.releaserefused before this commit too, withstates no RELEASE. It now refuses with the site's own reason. The site has apages.ymlwith a job namedGate; a forgedRELEASEnaming it gets the same refusal.versions.yamland a go-tools beforev0.20261122.6cannot read the file. Both move in this one commit.Verification
Run in a worktree of this branch, exit statuses read directly.
go tool task release RELEASE_DRY=1release: 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'RELEASE={proof: ci.yml, jobs: Gate}' RELEASE_PROOF=ci.yml RELEASE_JOBS=Gatepages.ymlin place ofci.ymlgo tool task bump NAME=spin TO=v20261114.01(its current version)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 needsgo tool task bump NAME=brandgo tool task bump NAME=spin TO=v20261114.01 BACK=1go tool task bump NAME=actionlint TO=v1.7.12actionlint: v1.7.12 -> v1.7.12, tree unchangedgo tool task versions2 behind(spin and brand), each source's row withmoved by `go tool task sources:bump`, and the last lineversions: 2 behind; go tool task bump NAME=<name> moves one, and the command a row names moves that onego run ./tools/sources -bump -file <a copy of versions.yaml> -dir <a scratch directory> spin spin-terraform-aws brandspin: 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 eachbump:line is keptgo test ./tools/sourcesokgo tool task lint:workflowsgo tool task gatelinkcheck: 517 pages, every link resolvesgo tool task reference:checkgate, that is all ofcheckOn main before this commit:
versionsexited 201 with2 behind; go tool task bump NAME=<name> moves one, andrelease RELEASE_DRY=1exited 201 withrelease: this repository's include of the common tasks states no RELEASE, ....Not run:
upload,deploy,sync:*, andsources:bumpagainst the realversions.yaml, which would move two pins.Part of spin-stack/go-tools#135
🤖 Generated with Claude Code