Repository navigation
Description
#1359 (PR to follow) moves 21 spored settings that are fixed at launch out of instance tags. They go into a per-launch config object named by spawn:config: notify/slack, both webhooks, --active-ports/--active-processes, the web app's ready port/path/auth, --idle-cpu-threshold, and the metrics port/bind/path and tracing settings. Per the owner's decision (#1359, 2026-10-29 comment) the new spored has no tag fallback for these keys. The premise behind that decision is: "Old CLIs keep their old spored, which reads tags."
That premise holds only for CLIs from v0.149.0 on (#1412). Earlier releases install the unversioned latest spored. .github/workflows/release.yaml, step "Update the latest spored", says so:
The unversioned latest spored (spawn/spored-* and the bucket-root copies), which spawn releases before #1412 and dev builds install.
So once v0.150.0 is released and that step moves spawn/spored-* to it, a launch by spawn ≤ v0.148.x gets spored v0.150.0. The same goes for any Go consumer pinned to an older spawn pkg/launcher (lagotto, cohort), and for spawn-ts (spore-host/spawn-ts#108). That spored ignores the 21 settings the old CLI wrote as tags and logs a WARNING naming them. The results:
- the Spot-interruption and completion webhooks never fire;
- notifications are not sent;
--active-ports/--active-processesstop holding the instance up. An instance in use can then be stopped or terminated as idle when its idle timeout expires. This is the data-loss case;--idle-cpu-thresholdfalls back to 5%, and the metrics port/bind/path to their defaults.
TTL, the deadline, the idle timeout itself, on-complete, pre-stop and the cost limit stay tags, so lifetime and cost enforcement are unaffected.
Options (owner's call):
- Freeze the unversioned latest at v0.149.0, the last spored that reads these tags, and give dev builds a new path (e.g.
spawn/current/) that the release workflow moves instead. Pre-Pin spored to the launching CLI's version (install from spawn/versions/<ver>/), not the unversioned latest #1412 CLIs keep a spored that reads their tags, and dev builds still get a spored that reads the object. This changesrelease.yamlandpkg/sporedinstall(the dev-build source). - Accept the break for ≤ v0.148.x, release-note it, and tell users to upgrade the CLI. spored's WARNING is the only signal on the instance.
- A tag fallback in spored, used only when the instance has no
spawn:configtag. The owner has ruled this out.
The #1359 PR does option 2's half: the loud WARNING, and spawn upgrade-spored refusing to put a v0.150.0+ spored on a tags-only instance. It does not change the release workflow. This should be settled before v0.150.0 is tagged.
Activity
scttfrdmn commentedon Oct 29, 2026
Decision (owner, 2026-10-29): option 1. Freeze the unversioned
spawn/spored-*(and the bucket-root copies) at v0.149.0, the last spored that reads the launch settings as tags. From v0.150.0 on, the release workflow moves a new dev-build path (spawn/current/) instead, and dev/unversioned builds install from it. CLIs,pkg/launcherconsumers and spawn-ts from before #1412 keep a spored that reads their tags. This ships in the same release as #1359 (PR #1420).feat(release): freeze the unversioned latest spored at v0.149.0; dev …
docs(changelog): BootstrapConfig.ReadsLaunchConfig (#1419)
Launch-fixed spored settings move to a per-launch config object; free…
fix(upgrade-spored): the tags-only refusal names a real spored for no…