Skip to content

Release v0.151.0 - #1440

Merged
scttfrdmn merged 3 commits into
mainfrom
release/v0.151.0
Oct 30, 2026
Merged

scttfrdmn merged 3 commits into
mainfrom
release/v0.151.0

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

Promotes Unreleased to 0.151.0, plus one Changed entry with the CLI operator's permission changes (ec2:DescribeRouteTables, ec2:DescribeVpcEndpoints for --no-public-ip).

Contents: --no-public-ip for multi-card EFA / SSM-only launches, with a VPC endpoint/NAT pre-flight (#1433), and removal of the autoscale leftovers with a named deleter for dead event-source mappings (#1434).

IAM, before the tag: the nested-spawn role's two new read-only actions were simulated 4/4 and accepted by a real PutRolePolicy (throwaway role deleted). The dashboard role change only removes a stream resource.

@scttfrdmn scttfrdmn added this to the v0.151.0 milestone Oct 30, 2026
@codecov

codecov Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit 0fad91e into main Oct 30, 2026
9 checks passed
@scttfrdmn
scttfrdmn deleted the release/v0.151.0 branch October 30, 2026 06:08
@scttfrdmn

Copy link
Copy Markdown
Contributor Author

v0.151.0 verified (2026-10-30). Tagged at 0fad91e.

  • First run: GoReleaser stopped at cosign signing checksums.txt, because Rekor returned 409 createLogEntryConflict ("equivalent entry already exists"), a transient retry collision. The release gates held: no GitHub release, no tap or Scoop bump, and spawn/current/ was not moved. Only the versioned body and spored (published first, by design) had been written.
  • Re-run of the failed job (attempt 2): every step succeeded. That includes "Check GoReleaser built the published spored", which confirms the rebuilt spored is byte-identical to the published versioned copy, and "Update the current spored".
  • Checks: verify-spored.sh: fail=0 across 231 objects; the frozen spawn/spored-* and root copies are untouched and still 0.149.0, and the tampered controls were rejected. The Go proxy and the Homebrew tap are current, and the binary reports 0.151.0.
  • Follow-up: --no-public-ip / --allow-missing-endpoints help shows a bogus "spawn connect" value name (backticks in the usage string) #1441, a help-text value-name bug on the two new flags.

Not deployed yet: dashboard role script, autoscale mapping deletion, and the websocket-processor redeploy.

@scttfrdmn

scttfrdmn commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor Author

v0.151.0 deploy record (2026-10-30)

Deployed from a worktree at tag v0.151.0 (0fad91e). Between v0.150.0 and v0.151.0, the #1434 autoscale cleanup is the only change in lambda/, scripts/ or deployment/. The #1433 changes to pkg/aws and pkg/launcher are compiled into two orchestrators (see the end of this comment). Three components were deployed.

1. SpawnDashboardLambdaRole (setup-dashboard-lambda-role.sh)

  • Snapshotted all 3 inline policies and the attached policies first, then ran a recording-shim dry run.
  • Compared semantically against live, the only difference was one Sid: ProcessorStreams dropped table/spawn-autoscale-groups-production/stream/*. …Slack and …WebSocket were identical.
  • Applied for real. After the run, the policies differ from the snapshot in ProcessorStreams only, and the attached policies are unchanged.
  • Live simulation (simulate-principal-policy) of GetRecords, GetShardIterator and DescribeStream:
    • spawn-sweep-orchestration/stream/…: allowed
    • spawn-autoscale-groups-production/stream/…: implicitDeny

2. Event-source mappings (setup-event-source-mappings.sh, the named deleter)

  • Before: 0ea19b0f-85c4-4709-b8c3-e10cf7588494 (autoscale stream, Disabled, "PROBLEM: Stream is closed") and 4fea8e92… (sweep stream, Enabled, OK).
  • Checked first that the sweep table's LatestStreamArn equals the mapped stream, so no duplicate mapping would be created. The dry run's only write was delete-event-source-mapping --uuid 0ea19b0f….
  • Real run: Removed event source mapping 0ea19b0f-…: table spawn-autoscale-groups-production no longer exists, Removed 1.
  • Re-run: Removed 0 (idempotent). After: only 4fea8e92…, Enabled, OK.

3. spawn-dashboard-websocket-processor (deploy.sh spore-host-infra ir832sgfz2)

  • CodeSha256 Am/5PtAL… → jdSn7tty…, Successful/Active, spawn:version 0.150.0 → 0.151.0, log retention 30d.
  • Config diff against the snapshot (excluding code and update fields): no drift. The environment is still exactly WEBSOCKET_ENDPOINT=https://ir832sgfz2…/production/@connections.

Not deployed:

  • dashboard-api. Its only v0.151.0 change is deleting the unused AutoScaleGroupInfo/GroupDetailInfo models, so behaviour is unchanged; its spawn:version stays 0.150.0.

  • The reaper: it does not compile pkg/aws or pkg/launcher.

  • The orchestrators. go list -deps shows pipeline-orchestrator compiles pkg/aws and sweep-orchestrator compiles pkg/aws and pkg/launcher, so their binaries do change in v0.151.0. The change does nothing in them, though:

    Their spawn:version stays 0.150.0. Redeploy them only if version stamps should match.

  • nested_spawn.go (DescribeRouteTables, DescribeVpcEndpoints) is a per-launch policy the CLI writes, so it needs no deploy.

@scttfrdmn

Copy link
Copy Markdown
Contributor Author

Live test of #1433 --no-public-ip on multi-card EFA (2026-10-30), released v0.151.0 CLI

Instance: i-0faa599bdda83e113, c8gn.48xlarge Spot in us-east-1d, default VPC, flags --efa --no-public-ip --ttl 1h. It ran about 2m23s and cost about $0.22.

Result: every check passed.

  • The dry run showed Public IP: none (private only), and its pre-flight found all five endpoints (s3 gateway, ec2/ssm/ssmmessages/ec2messages interface).
  • It correctly warned that the interface endpoints have no subnet in 1d, so traffic crosses AZs.
  • describe-instances: PublicIpAddress is null and no interface has an association.
    • card 0: efa, private IP 172.31.19.73
    • card 1: efa-only
  • No Elastic IP was allocated (the region had 0 before and after).
  • Over SSM:
    • spored is active at 0.151.0;
    • efa_0 and efa_1 are present;
    • IMDS public-ipv4 returns 404;
    • S3 through the gateway endpoint returns 200;
    • there is no internet egress (as expected);
    • spawn:last-heartbeat was written within about a minute.
  • spawn connect <id> -- hostname printed the SSM-only note and worked over RunCommand.
  • Teardown: terminated, and an independent leak check found no new instances, EIPs, ENIs, volumes or open spot requests, and no DNS record. The pre-existing instance is untouched.

Bugs found: #1442 (spot price almost never recorded at launch, so spored costs Spot at the on-demand rate; display-only) and #1443 (cosmetic: pre-flight warnings print twice, and the ready box shows a blank Public IP).

@scttfrdmn

Copy link
Copy Markdown
Contributor Author

Orchestrators redeployed at v0.151.0 (2026-10-30)

The owner asked for this so the version stamps match the release. No sweeps were in flight (spawn-sweep-orchestration: 0 RUNNING/PENDING/INITIALIZING), and neither function had been invoked in the previous 2 hours.

  • spawn-sweep-orchestrator (scripts/deploy-sweep-orchestrator.sh from a clean v0.151.0 checkout):
    • verified the published bootstrap body;
    • CodeSha256 3GlRDNc7… → JvlMv3fs…, matching the zip that was built;
    • config diff against the snapshot: no drift (Timeout 900, Memory 512, env empty);
    • spawn:version 0.150.0 → 0.151.0.
  • spawn-pipeline-orchestrator (SAM stack):
    • built from the v0.151.0 checkout; go version -m shows spore-host/spawn v0.151.0, vcs.modified=false;
    • reviewed the change set before executing. Role: Tags only (Version parameter). Function: Code and Tags. No replacements;
    • stack UPDATE_COMPLETE; parameter diff is Version 0.150.0 → 0.151.0 only;
    • CodeSha256 W15QCnqo… → 47CKmNc9…; function config diff: no drift;
    • spawn:version 0.151.0 on both the function and its role.

Every spore.host-operated component that v0.151.0 changed is now at 0.151.0. dashboard-api stays at 0.150.0 because its compiled code is unchanged apart from deleted unused types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant