Skip to content

Sync: read host classes, the image catalog and the blog's post paths; take spin v20261121.03 and the module v20261123.01 - #149

Merged
aledbf merged 6 commits into
mainfrom
pricing-controlplane-vars
Nov 23, 2026
Merged

aledbf merged 6 commits into
mainfrom
pricing-controlplane-vars

Conversation

@aledbf

@aledbf aledbf commented Nov 23, 2026

Copy link
Copy Markdown
Member

Why

The goal is to get the Sync workflow passing again. It failed in run 45224879438: sources:bump moved spin-terraform-aws from v20261027.02 to v20261123.01. That is the site's first read of the module since host classes, the image catalog replacing images.json, and the blog's new post URLs. Each tool that read the old shape stopped.

Breaks and fixes

  • pricing: no variable "instance_types". The runner defaults moved from modules/runners to modules/controlplane (runner_instance_types, runner_vcpus, runner_data_volume_gb, max_runners). tools/pricing now reads them there.
  • posts: the feed links ".../spinbox/soon/", which is no post. The blog serves a post at /<section>/<slug>/. tools/posts keeps each post's path from the feed, and a link is the blog plus that path.
  • refgen: open .sources/spin-terraform-aws/images.json. The images now live in the image catalog on spin-terraform-aws's catalog branch, which the module reads through the spin provider. refgen fetches the documented release's own file (releases/<release>.json) and verifies it with go-tools' catalog against the release workflows' signatures. It fails when the catalog has no images of that release, or when it revokes the build an installation would boot. The images page and "What this release is made of" say where the images come from: the catalog, read by spin_version (a release or a channel) and region.
  • The release the site documents is now the one versions.yaml pins spin at, not "the newest release images.json has". The reference is generated from that tree, so the two can no longer disagree. A release's catalog file changes only when that release's images change, so -check stays deterministic. A channel such as edge would move under the check.
  • The Sync issue's chain report read images.json from the API. It now lists the catalog's releases.
  • The bump itself. The pins, the prices, the posts and the regenerated reference are in this PR because the tools above only work against the new module. Main's pin has no runner_instance_types. The same task reference run then flagged the hand-written pages whose reads changed, plus three findings outside the reads. The module serves no term.<domain>. drain_seconds is now runner_drain_seconds in the control plane's module. A new board row, a computer's key being added at sign-in, was on no page. Each flagged page was read against its diff, corrected, and stamped (second commit).

go tool task sources:bump and go tool task gate both pass locally on this tree.

🤖 Generated with Claude Code

aledbf and others added 6 commits November 23, 2026 14:18
…st classes moved them

Since spin-terraform-aws's host classes, modules/controlplane seeds the default class from its
runner_* variables and modules/runners has none of them: the sync to v20261123.01 failed with
'no variable "instance_types"'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The blog serves a post under its track's section (/spinbox/soon/), and the feed links it there;
posts required /posts/<slug>/ and failed the sync on the blog's first published post. The record
keeps the path the feed gives, and a post link is the blog's address plus that path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…aml pins spin at

spin-terraform-aws removed images.json: the images of a release are its file in the image
catalog on the module's catalog branch, which the module reads through the spin provider. refgen
reads the same file with go-tools' catalog, its signatures held to the release workflows, and
fails when the catalog has no images of the release or revokes the build an installation would
boot.

The release the site documents is the one versions.yaml pins spin at: the reference is generated
from that tree, the release's file changes only when its own images do, and a channel would move
under -check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….json

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What task sources:bump and task reference write: the pins, the prices and the blog's posts, and
the reference regenerated from the new sources. The tools that read them changed in the commits
before this one, and the module they now read is this pin's, so they move together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d stamped

Host classes: the control plane makes a runners' group per class, the default seeded from the
module's runner_* variables, and draining is runner_drain_seconds. The module serves no
term.<domain>, and spin_version may name a channel. spin login adds the computer's key, a
snapshot asks the workspace to write its memory first, a team's owner can hand it on, and a
workspace on a silent runner is moved by default when nothing would be lost. The boundary lets
the control plane pass the runners' role and nothing else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

@aledbf
aledbf merged commit 05c280d into main Nov 23, 2026
1 check passed
@aledbf
aledbf deleted the pricing-controlplane-vars branch November 23, 2026 17:41
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