Repository navigation
chore(deps): bump substrate to v0.71.0; re-enable SSM dead-path e2e test - #182
Merged
Merged
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merged
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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):
DescribeInstancesnow echoes theIamInstanceProfileset at launch.DescribeInstanceInformationlists 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 tidyclean).TestWaitForSSMOnline_NoProfileIsDeadNotSlow: a no-profile instance now correctly fails fast withErrSSMUnreachable(<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 (testinginstanceHasInstanceProfiledirectly) because the old emulator reported every running instance asPingStatus=Onlineand dropped the profile — it couldn't represent "dead." Now it can, so the fullWaitForSSMOnlineslow-vs-dead behavior is covered against substrate.Changednote.Re: the downstream reminder
Two items were flagged; current state:
pkg/testutil/substrate.gois alreadygithub.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 ./cmdgreen;go vet/gofmtclean.