Skip to content

Docs told users to run things that cannot work: a rejected CFN parameter, 404 install URLs, and three broken quickstarts #849

Closed

Description

@scttfrdmn

Phase 6 of the audit. Every claim re-measured against the live account, the filesystem or
an HTTP request — several items in the original plan turned out stale, and two did not
reproduce at all.

The reaper's cross-account onboarding command is rejected by CloudFormation

lambda/ttl-reaper/README.md documented:

aws cloudformation deploy \
  --template-file ../../deployment/cloudformation/ttl-reaper-cross-account-role.yaml \
  --stack-name spawn-ttl-reaper-ec2 \
  --capabilities CAPABILITY_NAMED_IAM \
  --parameter-overrides ReaperLambdaRoleArn=<reaper-lambda-role-arn>

The template declares ReaperAccountId, ReaperRoleNamePattern, RoleName and
TagPrefix. There is no ReaperLambdaRoleArn, so this fails outright.

This is the step a customer runs to put an account under the TTL reaper — the
out-of-band backstop that terminates expired instances when spored is dead. The failure
mode of not completing it is "expired instances keep billing".

The instruction predated #476, which deliberately replaced the exact role ARN with a name
pattern, for a reason the template itself spells out: the reaper's role is generated with a
random suffix, so a trust naming it exactly breaks the moment that stack is recreated — for
every onboarded account at once. The accompanying "first-deploy is chicken-and-egg, deploy
the Lambda, read its FunctionRoleArn, then deploy the roles" paragraph followed from the
ARN form and is also wrong now.

The README's install commands 404

404  https://github.com/spore-host/spawn/releases/latest/download/spawn_linux_amd64.deb

GoReleaser puts the version in the asset name — the real one is
spawn_0.127.0_linux_amd64.deb — so a version-less latest/download URL cannot exist.

Every spore.host/docs link 404s

404  https://spore.host/docs
404  https://spore.host/docs/tools/spawn
200  https://docs.spore.host/tools/spawn

Three examples/README.md quickstarts cannot run

$ spawn launch --params examples/staging/reference-genome.yaml
a spore name is required: pass it positionally (spawn launch my-spore) or with --name my-spore

A live hourly Lambda nothing in the repo can deploy

Split out as #848 because it is an operational finding rather than a docs one.
docs/infra-account.md asserted "Code with no deployment: None", which is true, while
the inverse is not: spawn-cost-history-collector runs hourly, was last modified
2026-02-20, and has no deploy mechanism anywhere in the repository.

Two docs that describe a repo that no longer exists

  • docs/spawn-audit-2026-07-11.md is framed "Phase 0 — Do now" and cites cmd/launch.go
    five times including its 4324-line count, plus pkg/audit/context.go. Neither file
    exists
    — cmd/launch.go was split up.
  • docs/dcv-streaming-design-review.md asserts, as its central risk, that idle detection
    "can hang 'not idle' forever" and bills forever, with "unbounded grace" in its
    capability table. pkg/agent/agent.go defines const dcvGraceTimeout = 8 * time.Minute
    and bounds exactly that.

Did NOT reproduce — recorded so nobody re-fixes them

  • --params is implemented. The plan listed it as unimplemented; spawn launch --help
    has it, and the quickstarts' only problem was the missing spore name.
  • spawn cleanup --force is not a no-op that aborts without removing anything. It
    prints its deprecation notice and lists resources. The flag is ignored — cleanup executes
    by default now — which is what deprecating it meant.
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions