Skip to content

spawn ≤ v0.148.x installs the latest spored, so v0.150.0's spored ignores the launch settings those CLIs write as tags (#1359) #1419

Closed

Description

@scttfrdmn

#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-processes stop 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-threshold falls 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):

  1. 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 changes release.yaml and pkg/sporedinstall (the dev-build source).
  2. 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.
  3. A tag fallback in spored, used only when the instance has no spawn:config tag. 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.

Refs #1359, #1412

Activity

  1. added
    area:spored
    area:lifecycle
    spend-safety
    on Oct 29, 2026
  2. scttfrdmn commented on Oct 29, 2026

    @scttfrdmn
    ContributorAuthor

    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/launcher consumers and spawn-ts from before #1412 keep a spored that reads their tags. This ships in the same release as #1359 (PR #1420).

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

    area:lifecyclearea:sporedspend-safetytype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions