Skip to content

Pin spored to the launching CLI's version (install from spawn/versions/<ver>/), not the unversioned latest #1412

Closed

Description

@scttfrdmn

Every release publishes a signed spored to spawn/versions/<ver>/ in all buckets, and since #1274 the launcher fetches the bootstrap body for its own version. But the install step fetches the unversioned spawn/spored-linux-* (pkg/sporedinstall: bin_url="${base}/${binary}", base …/spawn). So a vX CLI launches with the newest spored, while its bootstrap is pinned to vX: version skew inside a single launch, and spored behaviour a given CLI was never tested with.

Fix: install spored from spawn/versions/<CallerVersion>/, the same version the bootstrap body uses, with the same signature verification. Dev/unversioned builds keep latest.

This is the prerequisite for #1359 (decided 2026-10-29). Once each launch's CLI, bootstrap and spored are one version, the per-launch config object is a same-version contract: no dual-writing of tags, and no fallback in spored.

Cost: a spored fix now reaches new launches only through a CLI release, as bootstrap fixes already do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sporedcomponent:spawntype:bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions