Skip to content

task: the tasks every repository has are written once, here, and a gate holds them #135

Open

Description

@aledbf

Why

The same maintenance tasks are written again in each repository, each time a little differently, and what they should be is carried by whoever writes the prompt that day. Surveyed on 2026-11-22 across fourteen spin-stack repositories:

  • Eight have a versions.yaml. Three have versions and bump tasks (go-tools, shipset, spin). brand, website, spin-machine, spin-ami and devcontainer-cli pin in the file and have no task that says what is behind.
  • "What CI runs" is check in brand, blog, runbooks and ci, lint plus test in the Go repositories, and gate in website and spin-ami.
  • A release is release:build, release:name, release:publish in go-tools, and since consumers: the table of who draws Spinbox, a report of which brand each is on, and a release to pin brand#54 a release task in brand with its own copy of the naming rule (v<YYYYMMDD>.<NN>) in cmd/release, because internal/release's name is not exported.
  • brand#54 also added consumers.toml and cmd/consumers (who copies this repository's outputs, and which commit each is on). go-tools has the same question about every repository, and shipset answers part of it.

go-tools already holds the commands (versions, proven, taskgate, sfw) and go tool task already puts them on every Taskfile's PATH. What is not shared is the task that calls them: its name, its arguments and its description are retyped per repository.

A skill does not fix this. A skill is instructions an agent reads, so it is the same prompt in a more permanent place, and two repositories can still differ after it ran. The rule belongs where a check can fail.

What

  1. The common tasks ship with go tool task. One Taskfile in go-tools with the tasks every repository has under the same names and contracts: versions (what is behind), bump, release (the name, the green-main refusal through proven, the tag), lint:workflows, and consumers where a repository has a consumers.toml. cmd/task already unpacks go-tools' release into the cache: it makes that Taskfile available to a repository's own, which includes it. To find out first: which of Task's include forms (a path from an environment variable the wrapper sets, a flattened include) works at the pinned Task version without a second file in each repository.
  2. A repository states only what differs, in one place it already has (versions.yaml, or a small block in its Taskfile's vars): its gate workflow and job, whether it releases, where its consumers table is.
  3. A gate. taskgate (or a sibling) fails a repository that lacks a common task, defines one of those names itself, or has a versions.yaml and no versions task. One name for "what CI runs" is decided here and the gate holds it.
  4. The commands that were copied move here. brand's cmd/release and cmd/consumers become go-tools commands (the release name exported, the consumers report reading any repository's table), and brand keeps the table and deletes the code.
  5. Then a skill, a thin one. versions-review is the model: it runs the report in every checkout and proposes the changes at once. Extended, or a sibling beside it, to run the gate of item 3 across the repositories and open one PR each. The skill decides nothing the gate does not already say.

Order

Item 1's question, then 1 and 4 together in go-tools with brand as the first repository to take them (it has all four tasks today), then the gate, then the rollout with the skill.

Done when

  • go tool task versions, bump and release mean the same thing, with the same flags, in every repository that has a versions.yaml or cuts releases, and no repository's Taskfile defines them.
  • A repository that drifts fails its own lint.

Activity

  1. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Item 1's question is answered and items 1 and 4 are up as #136. This comment is what the rollout needs, so it is mechanical.

    The mechanism

    A flattened include of a path go tool task puts in the environment. Run under Task 3.54.0: the tasks keep their names, show in --list with their descriptions, run with the repository's cwd and ROOT_DIR from any subdirectory, and a repository that defines one of the names is refused by Task (Found multiple tasks (versions) included by "common", exit 203). Two -t flags, a root Taskfile in the cache and a remote include each lost; #136's Tradeoffs has what each printed.

    includes:
      common:
        taskfile: '{{.GO_TOOLS_TASKS}}'
        flatten: true
        vars: {GATE_WORKFLOW: ci.yml, GATE_JOBS: Gate}   # only a repository that releases

    Order

    1. Merge task: the tasks every repository has are written once, and ship with go tool task #136. release.yml releases it on its own once CI passes on main. This is the first run of the changed release.yml (it publishes with task release now), so somebody should look at that run. If it fails nothing is published or tagged, and every repository stays on the previous release.
    2. That release carries tasks.yml, release and consumers, and its module version v0.<YYYYMMDD>.<N> carries the cmd/task that sets GO_TOOLS_TASKS. Both are needed: the archive reaches every repository at its next run, but cmd/task is compiled from each repository's own go.mod.
    3. Per repository, one PR: move the go-tools requirement to that module version (go get github.com/spin-stack/go-tools@latest, or take the Dependabot PR into the same branch), add the include, delete the repository's own definitions. The three must be one commit: the include without the new cmd/task is include cycle detected, and the include beside the old definitions is Found multiple tasks.
    4. The gate (item 3), after at least brand, shipset and spin have taken the tasks, or it is red everywhere on its first day.

    No repository's release is needed for any of this. brand's next release is simply the first one cut with the shared task.

    brand

     # Taskfile.yml
    +includes:
    +  common:
    +    taskfile: '{{.GO_TOOLS_TASKS}}'
    +    flatten: true
    +    vars: {GATE_WORKFLOW: pages.yml, GATE_JOBS: Gate}
    +
     tasks:
    -  consumers:        # whole task
    -  release:          # whole task, with its REPO var
       check:
         cmds:
           - taskgate -task {{.TASK_EXE}}
    +      - task: lint:workflows
     # consumers.toml, before the first [[consumer]]
    +name = "brand"
    +scope = "@fontsource"
     # versions.yaml: lint:workflows reads this pin, and brand has none today
    +- name: actionlint
    +  kind: module
    +  source: github.com/rhysd/actionlint/cmd/actionlint
    +  version: v1.7.12
    +  track: github-release https://github.com/rhysd/actionlint
    +  note: task lint:workflows. spin's version.
    • Delete cmd/release/ whole and cmd/consumers/main.go.
    • cmd/consumers/main_test.go keeps one test, TestTheTableIsOfThisRepository, reading the table with consumers.Load("../../consumers.toml") from github.com/spin-stack/go-tools/consumers and ranging over .Consumers. The rest of that file moved to go-tools. It can live in any package of brand; cmd/palette is the natural one once cmd/consumers holds nothing else.
    • go.mod: go-tools at the new module version, and a direct requirement now (the test imports it). github.com/BurntSushi/toml leaves the direct requirements.
    • README: the report's fonts line reads packages, and -brand <dir> is -dir <dir>.
    • Adding lint:workflows to check is optional for the rollout and is what the gate will ask for.

    Behaviour that changes for brand: task release also sets --title, and resolves the repository from gh repo view where it was a literal. Nothing else.

    shipset

     # Taskfile.yml
    +includes:
    +  common: {taskfile: '{{.GO_TOOLS_TASKS}}', flatten: true}
    +
     tasks:
    -  lint:workflows:   # whole task
    -  versions:         # whole task
    -  bump:             # whole task
    • vars.VERSIONS stays: lint still reads {{.VERSIONS}} ref golangci-lint.
    • go.mod: go-tools from v0.20261120.2 to the new module version.
    • No GATE_*: shipset has no release tag, so task release answers missing required variables: GATE_WORKFLOW, GATE_JOBS.
    • bump takes TO= where it took VERSION=. Nothing in the repository calls it with VERSION= (grepped at main).

    spin

     # Taskfile.yml
     includes:
    +  common: {taskfile: '{{.GO_TOOLS_TASKS}}', flatten: true}
       build: {taskfile: taskfiles/build.yml, dir: .}
     ...
    -  versions:         # whole task
    -  bump:             # whole task (already NAME= and TO=)
     # taskfiles/lint.yml: the namespace's `workflows` is `lint:workflows`, the common name
    -  workflows:
    -    deps: [":tools:actionlint"]
    -    cmds:
    -      - "{{.TOOLS_BIN}}/actionlint -shellcheck="
    -      - cmd: |      # the pinned-by-commit grep
    -          ...
    -      - test "v$(versions version task)" = "$(go list -m ... github.com/go-task/task/v3)"
    -      - taskgate -allow .github/taskgate-allow.txt -task {{.TASK_EXE}}
    +  steps:
    +    desc: Task's two pins are one version, and every workflow step is one task.
    +    cmds:
    +      - test "v$(versions version task)" = "$(go list -m ... github.com/go-task/task/v3)"
    +      - taskgate -allow .github/taskgate-allow.txt -task {{.TASK_EXE}}
    • lint in Taskfile.yml calls lint:steps beside lint:workflows. The name steps is a suggestion; the two commands are spin's own and must not be lost with the task.
    • tools:actionlint in taskfiles/tools.yml, ACTIONLINT_VERSION in Taskfile.yml, and tools:actionlint in the tools deps go: the common task runs actionlint with go run ...@<pin>, from the same versions.yaml entry (v1.7.12, kind module, already there).
    • go.mod: go-tools from v0.20261119.2 to the new module version.
    • No GATE_*. spin releases through its release:* namespace, which coexists with a task named release (checked: a namespace release and a flattened release list side by side). So in spin task release exists and refuses for want of a gate. Whether spin's release moves onto the common task is a separate decision, and a bigger one: it builds, signs and scans before it tags.
    • refresh and git:app stay spin's.

    What this work showed about the issue's text

    • "In one place it already has (versions.yaml, or a small block in its Taskfile's vars)": neither. versions.yaml is a list of pins every reader parses, and Task gives a Taskfile's root var precedence over the command line inside an included task (spin's VERSION comment says the same). The parameters are the include's own vars.
    • "The same flags in every repository": true only after bump's version argument is TO= everywhere, which is spin's spelling, not go-tools' or shipset's.
    • "brand ... has all four tasks today": it has release and consumers, and no versions, bump or lint:workflows. It also pins no actionlint, so taking lint:workflows means a new pin there.
    • "Defines one of those names itself" is not always Task's error: excludes: [versions] on the include lets a repository replace a task quietly. The gate has to read where each task is defined (task --list-all --json gives location.taskfile), not Task's exit status.
    • "The release name exported": a command was enough. internal/release stays internal; release <commit> is what a Taskfile calls.
    • The survey's "check / lint + test / gate" naming is untouched. That name is the gate PR's to decide.
  2. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Rollout findings, 1: shipset (spin-stack/ship-it#42, open, green, held)

    The plan's diff for shipset (include, three deletions, go.mod) was right about the repository and still left task test red. What the first real use found:

    Two defects in go-tools

    1. versions/gate does not see the include. TestVersionsYAMLIsTheOnlyPin fails with versions.yaml pins actionlint, and nothing reads it: the only versions version actionlint line was in the deleted lint:workflows, and the reader now lives in tasks.yml, outside the repository. The PR passes only because a comment beside the include spells the read. That is a text match satisfying a gate and must go. The gate should count the pins the shared tasks read as used when a Taskfile includes {{.GO_TOOLS_TASKS}}, and require the actionlint entry then. Every repository with this gate and an actionlint pin hits it.
    2. A ten-minute window after a go-tools release breaks every task. toolcache trusts latest for ten minutes. With a stamp from just before the release, cmd/task unpacked the previous archive, which has no tasks.yml, and every task, --list included, failed with No Taskfile found at .../tasks.yml (exit 100). cmd/task should ask for the latest release again when the unpacked one has no tasks.yml.

    Missing from the docs

    • The shared file follows go-tools' latest release, not the version in go.mod (which pins only cmd/task): a later release changes these tasks in a repository with no commit there. Said in one clause in the plan, not stated as a consequence on the tasks page.
    • release and consumers appear in --list in a repository with neither a gate nor a table, and refuse (exit 206, exit 201).
    • The failure messages a person will meet: only include cycle detected and Found multiple tasks are documented.

    What should be a check

    • The shared bump refuses VERSION= on the command line with a message naming TO=, so an old caller fails loudly.
    • The planned gate (item 3): a common name whose location.taskfile is not GO_TOOLS_TASKS, and a go-tools requirement older than the version that sets it.

    Small things that cost time

    • gh issue view --comments fails here with a GraphQL deprecation error (repository.issue.projectCards); gh api repos/<owner>/<repo>/issues/<n>/comments works.
    • The repository's GitHub name is ship-it; the local directory is shipset. Read git remote -v before gh -R.
  3. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Rollout findings, 2: brand (spin-stack/brand#59, open, green, held)

    Twelve files, +100 −808: brand's cmd/release and cmd/consumers are gone and its five common tasks come from here. Held because the consumers report lost a fact in the move.

    Defects in go-tools

    1. consumers scope is an exact match. brand's command held packages by the prefix @fontsource; this one matches scope + "/". The report no longer says @fontsource-variable/inter ^5.3.0 is no package brand pins for the agent client, the line that says the fork installs the wrong Inter.
    2. The ten-minute stale window again, same message as shipset (No Taskfile found at .../tasks.yml), same cause. Two repositories in a row: it is the first thing a person meets.
    3. release has no dry mode. Proving it meant running proven release and release <sha> by hand from a cache directory named by a sha256, because the plain task would have cut v20261122.02.

    The plan was wrong or silent about

    • go mod tidy after go get: the moved test made go-tools a direct requirement and go.yaml.in/yaml/v3 indirect, and only tidy writes that. BurntSushi/toml stays direct in brand (the plan said it leaves) and moved to v1.6.0 because go-tools requires it.
    • brand had no actionlint pin; lint:workflows needs one (kind: module).
    • GATE_JOBS names a job by the start of its display name (Gate), not its key (build).
    • Prose that names the deleted commands: consumers.toml's header, a sentence in dependabot.yml about go-tools being an indirect requirement, the README. None was in the planned diff.
    • lint:workflows had to be added to the task CI runs (check).
    • The report's words changed (fonts/face to packages/package).

    What should be a check (beyond shipset's)

    • The include present and no actionlint pin.
    • lint:workflows not reachable from the task a workflow runs.
    • GATE_JOBS naming a job GATE_WORKFLOW does not have: today proven -ran finds it only at release time.
    • A cmd/<name> named in a comment, TOML or YAML that does not exist.

    How to test release without releasing (until the dry mode exists): SHA=<a commit already released> gives the refusal is released already, as <name>; never the plain task on a proven, unreleased main.

  4. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Rollout findings, 3: the blog (aledbf/blog#7, open, green), a repository that had never used go-tools

    Astro and pnpm, no Go, every task in Docker. It now runs go tool task with the include, the website's arrangement unchanged: go tool task on the host, each task's work in Docker, no Go in the image. The production build is byte-identical before and after (101 files, diff -r empty).

    The stale window, a third time. Same message, same ten minutes. Three repositories of three.

    What start.md and tasks.md do not say, for a repository with no Go

    • That there is a go.mod at all: go mod init, what to name the module, that it exists only for the tool line.
    • How to get the first task pin. go tool task bump cannot run until task is pinned, and the pin's hashes are what bump computes. What worked: the entry with placeholder hashes, then go run github.com/spin-stack/go-tools/cmd/versions@<module version> bump -file versions.yaml task <version>.
    • Which platforms to list.
    • That actionlint (kind module) must be pinned before lint:workflows runs.
    • The toolchain line: go get -tool leaves go 1.27.0 and no toolchain, and setup-go with go-version-file then installs 1.27.0. go get toolchain@go<newest> fixes it.
    • The CI recipe, which lives only in the website's workflow: actions/setup-go with go-version-file: go.mod in place of go-task/setup-task, GITHUB_TOKEN at workflow level, every step go tool task X.
    • Dependabot for a repository whose only Go dependency is the wrapper.
    • The include snippet is single-quoted; a repository that formats YAML with Biome fails its own lint on it. Double quotes work.

    Moving the callers is most of the diff. Every task X a person would type became go tool task X: README, AGENTS.md, ROADMAP.md, comments in the Dockerfile and a script, and one string inside a built page. Found by grep, not by any check. Plain task now stops at include cycle detected, and the README says so.

    lint:workflows found something on its first run: both uses: lines of the blog's workflow lacked the version comment. It would have failed on main.

    What should be a check

    • A task pin with no include, or the include with no task pin.
    • A workflow run: that starts with bare task , or a go-task/setup-task step (taskgate).
    • Docs that say `task X` where X is a task (refs already reads AGENTS.md against the task list).
    • A tool line with no toolchain line.
    • No workflow step that reaches lint:workflows.

    Cost, one sample: the PR's CI run took 2 min 21 s against 1 min 20 s before (cold Go cache, compiling cmd/task and actionlint).

  5. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Rollout findings, 4: website (spin-stack/website#140, open, green, held), the repository nobody planned for

    It defined none of the five names, so the diff is small: the include, the actionlint pin, go-tools from a two-week-old pseudo-version to v0.20261122.4, and lint:workflows in gate. The findings are about what it already had.

    A repository with its own bump, stricter than the shared one. sources:bump (its tools/sources) and the shared bump rewrite the same versions.yaml entries with the same function, and agree today on every entry (measured). But sources:bump does four things bump NAME=spin does not:

    1. refuses to move a pin backwards (versions bump spin v20261024.01 moved it back, exit 0);
    2. moves a main-commit pin only to a release that holds that commit;
    3. waits for the release to carry the screenshots the site needs;
    4. fetches the checkouts and regenerates data files.
      After a plain bump of a source, reference:check fails until task reference runs, and nothing in bump's output says so. So sources:bump stays, and the only thing stopping someone from running bump NAME=spin here is two sentences of prose. The shared file has no way to say "this entry moves with another task". This is a design question for go-tools, not a bug.

    Defects in go-tools

    • versions check does not count an entry it could not read. Without GITHUB_TOKEN, the private upstream's row is releases/latest answered 404 Not Found and the summary says 1 behind where there are 2. A missing token can look like "nothing behind".
    • The shared versions task sets no token; release does. A repository with a private upstream needs GITHUB_TOKEN=$(gh auth token) by hand.
    • The docs say versions "exits 1 when any is". Through Task it exits 201.
    • The stale window (fourth of four) and the versions/gate and the include (second repository: versions.yaml pins actionlint, and nothing reads it, passed here too only by a comment that spells the read).
    • The single-quoted include snippet fails a Biome-formatted repository (second repository).

    Two copies of the same logic at two versions. tools/sources links go-tools' upstream package at the version in go.mod; the shared tasks run the versions binary from the latest release. Here they were two weeks apart. Nothing holds go.mod's go-tools near the release: Dependabot is configured for it weekly and has never opened a PR for go-tools in this repository (cause not investigated).

    For whoever does the next one: read what a pull request run publishes before pushing. Here every same-repository PR gets a public preview.

  6. 10 remaining items

  7. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Rollout findings, 8: v20261122.06 (#138), taken first by brand (spin-stack/brand#60, merged)

    RELEASE as a map holds. In brand, go tool task release RELEASE_DRY=1 asked pages.yml and printed would be released to spin-stack/brand as v20261122.02, and is not, exit 0. With RELEASE and RELEASE_PROOF forged on the command line it still asked pages.yml and gave the same answer.

    The version floor does not hold in the first two minutes after a release. Measured, 49 s to about 110 s after v20261122.06 was published (17:45:25Z), in brand with cmd/task built from module v0.20261122.6 (go version -m confirms it):

    • go tool task release RELEASE_DRY=1 answered missing required variables: GATE_WORKFLOW, GATE_JOBS: the previous release's task.
    • The cache's latest said v20261122.05, and its time moved on every run: the floor did make it ask again each time.
    • With an empty private cache (XDG_CACHE_HOME) at 17:47:08Z it still unpacked v20261122.05, while curl -I https://github.com/spin-stack/go-tools/releases/latest in the same minute redirected to .06. At 17:47:35Z the same empty-cache run took .06.
    • So GitHub's /releases/latest redirect answered the old release to some requests for about two minutes after the new one was published, and latestTag records and serves whatever it is told, even a release before since. The floor's rule ("never one from before its own") is not enforced on the answer.
    • What it should do: an answer before since is not an answer. Ask again a few times, and failing that say that the release this command is of is not visible yet, and stop, instead of running tasks from before it. Not fixed.

    This is the same class as report 5: a repository's first minutes on a new go-tools are its least reliable, and the error a person sees is about a variable, not about a release.

  8. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Rollout findings, 9: the third round in the repositories that do not release (ship-it#44 merged; website#141 and aledbf/blog#8 open, green, one commit each)

    ship-it#42, website#140 and blog#7 had been merged before this round started, so each got a new one-commit PR that moves go-tools to v0.20261122.6 and states RELEASE: {none: ...}.

    The statement holds. In all three, release RELEASE_DRY=1 refuses with this repository does not release. Its Taskfile says why (RELEASE's none): <the sentence>, exit 201, and so does every forgery tried: ci.yml/Gate (ship-it really has that workflow and job), the site's real pages.yml/Gate, the blog's real deploy.yml/deploy, on the command line and in the environment.

    Again, a release changed a repository with no commit. On each untouched head, release RELEASE_DRY=1 already answered states no RELEASE. And in the website, versions' last line advised go tool task bump NAME=<name> for exactly the two rows that must not be moved that way.

    The bump: field works where the repository's own command is built on the library. website's three source entries say bump: go tool task sources:bump. go tool task bump NAME=spin is refused and names the command, with BACK=1 too; versions shows the rows as moved by it; actionlint still bumps. The site's own tools/sources calls upstream.Check and upstream.Bump, and the refusal is in cmd/versions, so its own bump is not refused (run against a copy: it moved two pins and kept the field).

    Docs

    • tasks.md contradicts itself on spin-ami: "cuts no release at all", then listed among those that "release that way, each by a workflow of its own".
    • No rule for none against elsewhere when a workflow deploys main on every push. A release is defined only implicitly, as a tag.
    • none is printed after (RELEASE's none): : a sentence with its own colon or a capital reads badly. Not said.
    • Only the flow form of the map is shown, and not how it joins the one-line include of start.md.
    • release RELEASE_DRY=1 is recommended only where the task releases; it was the one command that showed the new release's effect in a repository that does not.
    • The failure tables have no row for the bump: refusal, and versions.md never mentions the field.
    • reference.md says go tool task reads versions.yaml with the go-tools go.mod requires; tasks.md says the tasks are the latest release's. Both are true and nothing reconciles them.
    • A versions row runs its notes together: behind moved by `...` main is now bc30....

    For whoever runs a round: read the PR's state first. All three were merged, and the brief assumed they were open. And the blog is a fifth name mismatch: its remote says spin-stack/blog, GitHub resolves it to aledbf/blog.

  9. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Rollout findings, 10: the third round in the repositories that release by their own workflow (machine#530, ami#213, devcontainer-cli#86, all merged)

    The earlier PRs (#529, #212, #85) had been merged before this round, so each got a new one-commit PR on v0.20261122.6 that states RELEASE: {elsewhere: release.yml}.

    The hole is closed. In all three, plain release RELEASE_DRY=1, the forgery that used to work (GATE_WORKFLOW=ci.yml GATE_JOBS=Gate, and the new names) on the command line, and the same in the environment, all answer this repository releases, but not with this task: release.yml does, exit 201. Release and tag lists byte-identical before and after. qemu's 11.2.0-rc0 is read now.

    bump: cannot be added where the repository's own command shells out to versions. Measured in spin-machine: spin-machine-dev bump <entry> runs go tool versions bump, and with the field planted on an entry the repository's own command is refused by its own field (<entry> is moved by `spin-machine-dev bump` ... and not by this command, exit 1). Its refresh kernel|systemd|openssh runs go tool versions refresh -propose, which refuses a marked entry too, so marking kernel would break the daily refresh. devcontainer-cli's refresh node is the same case. So the field is in spin-ami (spin-os upgrade is built on upstream.Bump: alloy, grafana, victoriametrics, proven both ways) and in the website, and not in spin-machine or devcontainer-cli, where only prose still stops go tool task bump NAME=qemu. reference.md states as fact that all three named commands are built on the library; that is wrong for spin-machine.

    elsewhere holds one file and spin-ami has two release workflows (release.yml for a spin release's AMIs, which tags nothing here; metal-iso.yml for the metal-v<version> GitHub releases). The map names the first and a comment the second, which no check reads.

    A repository's own pin command lags the shared ones. spin-os upgrade and outdated do not take gh's token (404 on the private upstream until GH_TOKEN is set), and refuse a dirty tree, so "the own command still works" can only be shown after the commit.

    For whoever runs a round

    • gh pr view --json state first: all three were merged. After a rebase merge, "merge main into the branch" makes a duplicate-commit history: start a fresh branch from main.
    • Bodies of merged PRs go stale (they quote missing required variables ... exit 206).

    Docs: what "releases" means is never said (a tag here, or anything published?); nothing on two release workflows; nothing on the bump: value's form, on which module version first reads it, or that versions refresh on a marked entry breaks a scheduled refresh; only the flow map is shown (block form works); versions.md never mentions bump:.

  10. aledbf commented on Nov 22, 2026

    @aledbf
    MemberAuthor

    Rollout findings, 11: spin (spin-stack/spin#1577, open, one commit, gate red for a reason that is main's)

    Ten files, +49 −62. task --dry of every task before and after: 218 tasks before, 220 after; of the 217 names in both, 212 are byte-identical and the 5 that differ are versions and lint:workflows (go-tools' now) and lint, tools, setup through them. spin's lint:workflows did more than the shared one (a Task pin equality test, taskgate); that part is lint:tasks now. RELEASE: {elsewhere: release.yml}: the forgeries all refuse, release and tag lists identical.

    New, and the one a ninth repository will not expect: a repository's own code reads its Taskfile's includes as files. spin's hack/lanes parses the Taskfile and opens each include: {{.GO_TOOLS_TASKS}}, included as common: open ../../../{{.GO_TOOLS_TASKS}}: no such file or directory. task lint and the root tests were green with it. Only a targeted go test of the packages that mention Taskfile.yml found it, and on main it would have broken kvm-hourly.yml, which no pull request lane runs: red every hour, after the merge.

    New: a namespace makes a collision the docs do not describe. taskfiles/lint.yml's workflows is lint:workflows through its namespace. Task reports it under the namespace, with a stray quote: Found multiple tasks (lint:workflows) included by "lint"", exit 203, for every task. The docs speak of a root task and show included by "common".

    bump: could be added to no entry. spin has no pin command built on the library: refresh runs versions refresh -propose, and machine:propose runs hack/machine, which shells out to versions bump spin-machine. Planted on a copy, the field makes that command refuse itself, which would break machine.yml. Third repository where the field cannot go (spin-machine, devcontainer-cli, spin), against two where it can (spin-ami, website). And versions' last line still advises go tool task bump NAME=<name> for those rows.

    The gate. ci/lanes failed on checks: internal/runner/qemu/checkpoint.go:324:69: unknown field Fast in struct literal of type machine.LoadOptions. origin/main (4f1459fd0, spin#1572, merged with its own ci/lanes failed) prints the same line in a clean worktree. The branch was rebased onto that commit one minute after it landed, with selected tests and no build, and pushed. A go build ./... after the rebase would have shown it. Cost: one checks lane.

    Small things: the disk was full at the start (0.4 GB of 915); AGENTS.md had 10 bytes of its budget left and naming the new task cost 15; the forgery cannot be written as an environment prefix in bash (RELEASE={proof: ...}: command not found), it needs env 'RELEASE=...'; task tools no longer installs actionlint and a stale .tools/bin/actionlint stays; core.hooksPath is not set in the bare repository's worktrees, so the pre-push hook did not run.

    What should be a check

    • After adding the include: every test in a package that mentions Taskfile.yml or taskfiles/, and every task a scheduled workflow on main runs, dried at the PR's head.
    • A task in a namespace file whose full name is a common one, named with the file to rename it in.
    • bump: planted on a copy for each entry a repository's own command moves, and that command run: library-built or shell-out, by measurement.
    • The dry diff of every task between two commits, as one go-tools command. It has now been written by hand twice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions