You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spawn Release workflow's "Configure AWS credentials" step has failed on every release since v0.36.0, so the spored Linux binaries are not being uploaded to the 8 regional spawn-binaries-* S3 buckets. Instances pull spored from S3 at boot, so they are running a stale spored (last successful upload predates the repo split). New spored fixes/features never reach launched instances.
The release artifacts (GitHub release, deb/rpm, Homebrew/Scoop) publish fine — GoReleaser runs before this step. Only the S3 upload is broken.
Error
##[error]Could not assume role with OIDC: Not authorized to perform sts:AssumeRoleWithWebIdentity
When spawn was split into its own repo, the OIDC trust policy of GitHubActions-spore-host-release was not updated to include the new repo's subject. The GitHub OIDC sub is now repo:spore-host/spawn:ref:refs/tags/v* (tag-triggered), but the role's Condition almost certainly still only trusts the old monorepo subject (repo:spore-host/spore-host:*).
Fix
In account 966362334030, update the trust policy of GitHubActions-spore-host-release to allow the spawn repo. Trust statement should permit:
token.actions.githubusercontent.com:sub matching repo:spore-host/spawn:* (or scope tighter to repo:spore-host/spawn:ref:refs/tags/* since uploads only happen on tags)
Verify the GitHub OIDC provider exists in that account and the role's permission policy still grants s3:PutObject to the 8 spawn-binaries-* buckets.
Verify after fixing
Re-run the failed v0.36.3 Release job (or push a no-op patch tag) and confirm the "Upload spored binaries to S3" step succeeds.
Spot-check: aws s3 ls s3://spawn-binaries-us-east-1/spawn/spored-linux-amd64 shows a fresh timestamp.
Confirm the per-region buckets all received the binary + .sha256 + the versions/<v>/ copy.
Context
Found while releasing v0.36.3 (the --volume-size flag, #11). That release published correctly; this is a pre-existing, separate infra-trust break. The --volume-size feature is resolved CLI-side at launch and does not depend on the spored upload, so it works regardless — but any spored-side change is currently undeliverable until this is fixed.
Root cause was exactly as diagnosed: the OIDC role's trust policy only allowed the old monorepo subject (repo:spore-host/spore-host:ref:refs/tags/v*), not the split-out spawn repo.
What was fixed (account 966362334030)
Trust policy of GitHubActions-spore-host-release updated to allow tag-pushed releases from the tool repos:
repo:spore-host/spawn:ref:refs/tags/v* (+ truffle, lagotto, spore-host-mcp, and the original monorepo), aud=sts.amazonaws.com, scoped to refs/tags/v*.
3 missing regional buckets created — surfaced once OIDC was fixed: spawn-binaries-eu-west-2, spawn-binaries-ap-southeast-1, spawn-binaries-ap-northeast-1. The workflow + truffle referenced 11 regions but only 8 buckets existed. New buckets configured to match the existing 8 (public-read on spored-* + cross-account mpi-keys/* for 435415984226:role/spored-instance-role).
Verification (release v0.36.4)
Release workflow: completed/success — first fully-green spawn release since v0.36.0.
"Configure AWS credentials" (OIDC) ✅ and "Upload spored binaries to S3" ✅.
spored present in all 11 spawn-binaries-* buckets with fresh timestamps (amd64 + arm64).
Activity
scttfrdmn commentedon May 31, 2026
Fixed and verified ✅
Root cause was exactly as diagnosed: the OIDC role's trust policy only allowed the old monorepo subject (
repo:spore-host/spore-host:ref:refs/tags/v*), not the split-out spawn repo.What was fixed (account 966362334030)
GitHubActions-spore-host-releaseupdated to allow tag-pushed releases from the tool repos:repo:spore-host/spawn:ref:refs/tags/v*(+ truffle, lagotto, spore-host-mcp, and the original monorepo),aud=sts.amazonaws.com, scoped torefs/tags/v*.spawn-binaries-eu-west-2,spawn-binaries-ap-southeast-1,spawn-binaries-ap-northeast-1. The workflow + truffle referenced 11 regions but only 8 buckets existed. New buckets configured to match the existing 8 (public-read onspored-*+ cross-accountmpi-keys/*for435415984226:role/spored-instance-role).Verification (release v0.36.4)
completed/success— first fully-green spawn release since v0.36.0.spawn-binaries-*buckets with fresh timestamps (amd64 + arm64).Follow-ups filed (not blocking)