Repository navigation
Sync: read host classes, the image catalog and the blog's post paths; take spin v20261121.03 and the module v20261123.01 - #149
Merged
Conversation
…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>
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 goal is to get the Sync workflow passing again. It failed in run 45224879438:
sources:bumpmoved 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 replacingimages.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 frommodules/runnerstomodules/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'spathfrom 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'scatalogbranch, 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'catalogagainst 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 byspin_version(a release or a channel) and region.versions.yamlpins spin at, not "the newest releaseimages.jsonhas". 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-checkstays deterministic. A channel such asedgewould move under the check.images.jsonfrom the API. It now lists the catalog's releases.runner_instance_types. The sametask referencerun then flagged the hand-written pages whose reads changed, plus three findings outside the reads. The module serves noterm.<domain>.drain_secondsis nowrunner_drain_secondsin 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:bumpandgo tool task gateboth pass locally on this tree.🤖 Generated with Claude Code