Skip to content

chore(deps): bump substrate to v0.71.0; re-enable SSM dead-path e2e test - #182

Merged
scttfrdmn merged 1 commit into
mainfrom
chore/bump-substrate-0.71.0
Jun 15, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
chore/bump-substrate-0.71.0

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

Consumes substrate v0.71.0, which lands the two fidelity fixes I filed as substrate#331 while diagnosing the warm-AMI SSM timeout (#98 / #181):

  • DescribeInstances now echoes the IamInstanceProfile set at launch.
  • DescribeInstanceInformation lists a running instance only if it has an instance profile (SSM dead-state modeled).

Changes

  • go.mod: substrate v0.70.0 → v0.71.0 (go mod tidy clean).
  • Re-enabled the end-to-end dead-path test TestWaitForSSMOnline_NoProfileIsDeadNotSlow: a no-profile instance now correctly fails fast with ErrSSMUnreachable (<5s) instead of waiting out the timeout. In fix(image): warm seed needs SSM instance profile; distinguish dead from slow (#98) #181 this had to be unit-only (testing instanceHasInstanceProfile directly) because the old emulator reported every running instance as PingStatus=Online and dropped the profile — it couldn't represent "dead." Now it can, so the full WaitForSSMOnline slow-vs-dead behavior is covered against substrate.
  • CHANGELOG Changed note.

Re: the downstream reminder

Two items were flagged; current state:

  1. ✅ Bump to v0.71.0 — done here.
  2. ✅ Import path — pkg/testutil/substrate.go is already github.com/scttfrdmn/substrate/emulator (the v0.69.0 reorg path); no change needed. (It was at v0.70.0 with the emulator path, not the bare pre-reorg path, so that item was based on stale info.)

go test ./pkg/aws ./cmd green; go vet / gofmt clean.

substrate v0.71.0 models the SSM dead-state (substrate#331): a running instance
with no IAM instance profile is no longer listed by DescribeInstanceInformation,
and DescribeInstances now echoes the IamInstanceProfile set at launch.

This lets WaitForSSMOnline's "dead vs slow" distinction (#98 / #181) be tested
end-to-end again: restored TestWaitForSSMOnline_NoProfileIsDeadNotSlow, which
asserts ErrSSMUnreachable fires fast for a no-profile instance instead of
waiting out the timeout. It was unit-only while substrate reported every running
instance as Online.

The pkg/testutil import is already github.com/scttfrdmn/substrate/emulator (the
v0.69.0 reorg path), so no import change was needed.

go test ./pkg/aws ./cmd green; go vet clean.
@codecov

codecov Bot commented Jun 15, 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 45ca9a1 into main Jun 15, 2026
7 checks passed
scttfrdmn added a commit that referenced this pull request Jun 16, 2026
Promote CHANGELOG [Unreleased] → [0.53.0]. MINOR per SemVer (backward-compatible
fixes + dep bump).

Ships:
- image import warm-AMI: SSM dead-vs-slow fix — warm seed gets the spored
  instance profile so SSM can register; fail-fast on no-profile instead of a
  30-min timeout (#98 / #181). This is the Windows `spawn image import` SSM fix.
- extend: floor TTL deadline at now+duration, no premature reaping (#374)
- snapshot create: ext4 lost+found 0755, no spurious find Permission denied (#177)
- substrate test dep → v0.71.0; re-enabled SSM dead-path e2e (#182)
- Semgrep SAST enforcing in CI (#368)
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