Repository navigation
task: what the first two rollouts found: the gate sees the include, no release older than the command, scopes, a dry release - #137
Merged
Conversation
…pins they read The first repository to take the common tasks (spin-stack/ship-it#42) deleted its own lint:workflows and failed its gate: "versions.yaml pins actionlint, and nothing reads it". The read is in tasks.yml, which is in go-tools' release and in no file of the repository. It passed by a comment that spells the read, which is a text match and not a read. The gate now knows the include: a Taskfile whose `includes` has an entry with '{{.GO_TOOLS_TASKS}}' as its taskfile - parsed as YAML, so a comment or a page that shows the include is none. Each entry a common task reads is then read, and a repository without one fails with the task that wants it: Taskfile.yml includes go-tools' tasks, and its task lint:workflows reads actionlint: versions: there is no actionlint in versions.yaml What the tasks read is not a list: it is found in tasks.yml itself, a task at a time, with the patterns the gate reads every file with. A test of another repository has to link that file, and a file beside package main links into nothing, so tasks.yml and its tests move to internal/tasks, which embeds it. The release still carries it as tasks.yml and nothing a repository writes changes. The gate is compiled from go.mod's go-tools and the tasks are the latest release's: a repository gets this when it requires the release that carries it. Part of #135 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
toolcache takes the name of the latest release as true for ten minutes. A cache stamped seconds before v20261122.04 came out went on unpacking v20261122.03, which has no tasks.yml, and in a repository that had just taken the include every task, --list too, failed with Task's `No Taskfile found at ".../tasks.yml"` (exit 100) until the stamp aged (spin-stack/ship-it#42). go tool task is compiled from the module version a go.mod requires, and a module version is a release's tag (v0.20261122.4 is v20261122.04). So the command is proof that its own release exists: a recorded name before it is not the latest, however fresh, and is asked again. That holds for what the next release adds as well - a command, a second file - with no list here of what a release must carry; a repository that takes something new requires its release in the same commit, which the include already needed. A command of no release (a checkout's build, a pseudo-version) and a machine that cannot ask go on with the release they have. When that release has no tasks.yml, go tool task says so before Task does, with the directory, what fails, and when to run it again. It runs Task all the same: only a Taskfile that includes the file needs it. Part of #135 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
brand's own command held a consumer to every package whose name began with "@fontsource". Moved here, the table's `scope` matched one scope exactly, and the report lost the line that says the agent client installs the wrong Inter (spin-stack/brand#59): @fontsource-variable/inter ^5.3.0 is no package brand pins `scopes` is a list, and each entry a whole scope, the name before a package's slash: brand writes ["@fontsource", "@fontsource-variable"]. A prefix would bring the line back and also hold @fontsourcery/x, which a test here already says is nobody's; a list says what is held and matches nothing by accident. An entry that is not a scope ("@fontsource/", "fontsource") is refused when the table is read, and so is `scope`, as any field the table does not know: a table that still says it is not silently held to less. Part of #135 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…s nothing brand took the common release task with a main that was proven and not yet released, and the only way to try the task without cutting a release was to run `proven release` and `release <sha>` by hand from the cache (spin-stack/brand#59). RELEASE_DRY=1 runs the task up to the release: the fetch, proven, the name, and a listing of RELEASE_FILES, so a glob that matches nothing is refused as gh would refuse it. Then it prints the name and stops before `gh release create`. The var is RELEASE_DRY and not DRY for the reason bump's is TO: a Taskfile's own var of the same name answers before the command line's in an included task. That same order is why bump does not refuse VERSION=, the spelling three repositories had. Under Task 3.54.0, in a repository with a root VERSION, an included task reads the root's value for `task bump` and for `task bump VERSION=v9` alike, and the environment's VERSION where there is no root one. A refusal would be every bump in spin and none of the stale callers there. The page says so, and that the line bump prints names the version it pinned. Part of #135 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ach failure means Every repository that includes the tasks lists all five, and the ones that do not apply refuse: release with no gate (exit 206), consumers with no table (exit 201). The page had two of the failures a person meets, `include cycle detected` and `Found multiple tasks`; it has the others now, each with what happened and what to do, as the pinned Task and the gate print them. Part of #135 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
aledbf
added a commit
to spin-stack/brand
that referenced
this pull request
Nov 22, 2026
…ed again go-tools' reader takes `scopes`, a list of whole npm scopes (spin-stack/go-tools#137), and refuses `scope`. With `@fontsource` alone the report stopped saying, of the agent client, that `@fontsource-variable/inter ^5.3.0` is no package brand pins: that package is the wrong Inter the fork comes with, and the reason the row is held to packages at all. Both scopes are listed, and the report says every fact this repository's own command said. go.mod requires go-tools v0.20261122.5 in the same commit: the test that holds the table to the tree reads it with that module's consumers.Load, which is the first to know `scopes`, and the tasks are the latest release's, which no longer knows `scope`. The Taskfile's comment names the shared file where go-tools has it. Part of spin-stack/go-tools#135 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
aledbf
added a commit
to spin-stack/website
that referenced
this pull request
Nov 22, 2026
go-tools v0.20261122.5 (spin-stack/go-tools#137) taught versions/gate that a Taskfile including go-tools' tasks reads the pins those tasks read, so versions.yaml's actionlint counts as read through the include. The sentence that spelled `versions version actionlint` beside it existed only for the gate to match, and is deleted. What the comment says of bump and sources:bump stays. With the pin removed tools/sources' gate test now fails naming the task: `Taskfile.yml includes go-tools' tasks, and its task lint:workflows reads actionlint: versions: there is no actionlint in versions.yaml`. Part of spin-stack/go-tools#135 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
aledbf
added a commit
to spin-stack/brand
that referenced
this pull request
Nov 22, 2026
…ed again go-tools' reader takes `scopes`, a list of whole npm scopes (spin-stack/go-tools#137), and refuses `scope`. With `@fontsource` alone the report stopped saying, of the agent client, that `@fontsource-variable/inter ^5.3.0` is no package brand pins: that package is the wrong Inter the fork comes with, and the reason the row is held to packages at all. Both scopes are listed, and the report says every fact this repository's own command said. go.mod requires go-tools v0.20261122.5 in the same commit: the test that holds the table to the tree reads it with that module's consumers.Load, which is the first to know `scopes`, and the tasks are the latest release's, which no longer knows `scope`. The Taskfile's comment names the shared file where go-tools has it. Part of spin-stack/go-tools#135 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
aledbf
added a commit
to spin-stack/website
that referenced
this pull request
Nov 22, 2026
go-tools v0.20261122.5 (spin-stack/go-tools#137) taught versions/gate that a Taskfile including go-tools' tasks reads the pins those tasks read, so versions.yaml's actionlint counts as read through the include. The sentence that spelled `versions version actionlint` beside it existed only for the gate to match, and is deleted. What the comment says of bump and sources:bump stays. With the pin removed tools/sources' gate test now fails naming the task: `Taskfile.yml includes go-tools' tasks, and its task lint:workflows reads actionlint: versions: there is no actionlint in versions.yaml`. Part of spin-stack/go-tools#135 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 must mean the same thing everywhere, with nothing left to a comment or a prompt's wording. The first two repositories to take the shared tasks (shipset in spin-stack/ship-it#42, brand in spin-stack/brand#59) found defects here, and this fixes them so the rollout PRs can be clean.
What changed
One commit per fix.
versions/gatesees the include. A repository whose Taskfile has anincludesentry with'{{.GO_TOOLS_TASKS}}'as its taskfile reads the pins the common tasks read. The include is found by parsing the Taskfile as YAML, so a comment that spells the read counts for nothing. What the tasks read is derived fromtasks.ymlitself, a task at a time, with the patterns the gate already reads files with. A repository that includes the tasks and lacks a pin fails withTaskfile.yml includes go-tools' tasks, and its task lint:workflows reads actionlint: versions: there is no actionlint in versions.yaml. To be linked into another repository's test the file has to be embedded by an importable package, socmd/task/tasks.ymland its tests moved tointernal/tasks. The release still carries it astasks.yml.go tool tasknever runs a release from before its own.cmd/taskreads the module version it was compiled from (v0.20261122.4), which is a release's tag (v20261122.04), and hands it totoolcache.Latestas a floor. A stamp that names an earlier release is asked again, however fresh. When the release to be had still has notasks.yml(GitHub unreachable, or a build of no release),go tool taskprints one line before Task'sNo Taskfile found, with the directory, what fails and when to run it again, and runs Task all the same.consumerstakesscopes, a list of whole npm scopes.scope = "@fontsource"matched one scope exactly and lost@fontsource-variable/inter ^5.3.0 is no package brand pins. A list reads as what is held and cannot match by accident. A prefix would also hold@fontsourcery/x, which an existing test says is nobody's. An entry that is not a scope is refused at load, and so is the oldscopefield.release RELEASE_DRY=1. The task runs the fetch,proven, the name and a listing ofRELEASE_FILES, printsRELEASE_DRY: <sha> would be released to <repo> as <name>, and is not, and stops beforegh release create.tasks.mdgains: which release the tasks are from and what that means for a repository, thatgo getmoves shared modules and needsgo mod tidy, the tasks that are listed everywhere and refuse (exit 206, 201), the dry release, and a table of every failure message with what to do.consumers.mdsays the report's words arepackages/packagewhere brand's saidfonts/face.bumpdoes not refuseVERSION=, by observation. Under the pinned Task 3.54.0, with a probe task in an included file printing{{.VERSION}}and$VERSION:In spin the two calls are indistinguishable, so a refusal would refuse every bump there and catch no stale caller. Without a root var it would also refuse a shell that merely exports
VERSION. The fix is left out and the page says so.Scope
Not here: the larger gate of #135 item 3 (a common name defined by the repository, a go-tools requirement too old). No change to what
versions,bump,lint:workflowsandconsumersrun, beyondscopes.Tradeoffs
tasks.ymlis missing would fix this file and need a new entry for the next one. The floor covers any file or command a later release adds, provided a repository requires that release in the commit that uses it. The cost: ago tool taskbuilt from no release (a checkout, a pseudo-version) has no floor and keeps the ten-minute window. It gets the warning line.go.mod's go-tools, and the tasks run are the latest release's. If a release makes a task read a new pin, the task says so when run, and the gate says so aftergo.modmoves.excludeson the include is not read. A repository that excludeslint:workflowsis still asked foractionlint. None does, and item 3's gate is where that belongs.scopesreplacesscopewith no bridge. One open PR uses the old field.go.mod, including in a repository that does not include the tasks.RELEASE_DRYis also read from the environment, as every Task var is: a shell that exports it gets a dry release, which prints that it released nothing.Blast Radius
Merging releases this to every repository within minutes: the archive (commands and
tasks.yml) at each repository's nextgo tool task,cmd/taskandversions/gateonly when a repository moves itsgo.mod.A repository that has not taken the shared tasks:
consumerson its PATH readsscopes, and no such repository has aconsumers.tomlread by it (brand's main still runs its own command).go.modmoves to this release:go tool taskasks GitHub once more when its cache names an older release, and its gate is unchanged, since it has no include.A repository that has (ship-it#42 and brand#59, both open; go-tools itself, by path):
releaseacceptsRELEASE_DRY=1. Without it the task runs the same commands as before, which the existing release tests hold.go tool task consumersrefuses its table (scope is no field of the table) until it saysscopes = ["@fontsource", "@fontsource-variable"], and its test reads the table with theconsumerspackage fromgo.mod, so the table change and thego.modmove are one commit.go.modrequires this release, the comment that spellsversions version actionlintcan go.cmd/task/tasks.ymlisinternal/tasks/tasks.ymlin this repository.task release:buildcopies it from there, and the four archives built locally from this branch each carrytasks.yml, byte for byte the tree's.Verification
task test: exit 0, coverage 85.93% of what CI runs.task lint: exit 0.task mutate BASE=origin/main: 92 planned, 66 refused, 0 survived, 26 did not build. Nothing to answer.task release:build: exit 0,tasks.ymlin all four archives.versions.yaml pins actionlint, and nothing reads itwith go-tools v0.20261122.4,okwith this branch, and thelint:workflows reads actionlintfailure above once theactionlintentry is removed.go version -mof thego tool taska scratch module built with go-tools v0.20261122.4 required saysmod github.com/spin-stack/go-tools v0.20261122.4.TestAReleaseFromBeforeThisCommandIsNotRunForBeingFresh: a cache whose stamp is fresh and whose archive has notasks.yml.tasks.yml.task site. The pages workflow builds it.Part of #135
🤖 Generated with Claude Code