Skip to content

fix: ECR dates, SNS Unsubscribe, CloudTrail/CodePipeline 400s, KMS DeleteAlias, Logs 400, Backup plan deletes, Kinesis resharding, CodeBuild batches - #1407

Merged
scttfrdmn merged 1 commit into
mainfrom
fix/v0124-a1
Oct 5, 2026

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

Fixes #1403
Fixes #1259
Fixes #1156
Fixes #1107
Fixes #1251
Fixes #1178
Fixes #1399
Fixes #1159
Fixes #1186

Compatibility

  • ECR: imagePushedAt and expiresAt change from strings to numbers.
  • 400 instead of 404: CloudTrail and CodePipeline not-founds. 400 instead of 409: Logs duplicate creates.
  • 400 instead of 200: SNS Unsubscribe with a non-subscription ARN, and KMS DeleteAlias with a missing alias.
  • Backup: deleting a plan with selections is refused, so a teardown must delete selections first.
  • Kinesis: DescribeStream answers real hash ranges, and closed shards stay listed after a reshard. Invalid merges and splits are refused.
  • CodeBuild: DeleteProject of a missing project succeeds, and malformed batch lists are refused.

…leteAlias, Logs 400, Backup plan deletes, Kinesis resharding, CodeBuild batches

- #1403: ECR imagePushedAt and expiresAt are epoch seconds.
- #1259: SNS Unsubscribe refuses a non-subscription ARN with
  InvalidParameter/400.
- #1156: CloudTrail and CodePipeline not-founds answer the published 400.
- #1107: KMS DeleteAlias refuses an alias that names nothing.
- #1251: CloudWatch Logs ResourceAlreadyExistsException is 400.
- #1178: DeleteBackupPlan refuses a plan with selections, and an orphaned
  selection is not found.
- #1399: Kinesis MergeShards and SplitShard act on the named shards over the
  real hash key space, and ListStreams pages.
- #1159, #1186: CodeBuild DeleteProject is idempotent, and the batch reads
  validate their lists and return store errors.

Fixes #1403
Fixes #1259
Fixes #1156
Fixes #1107
Fixes #1251
Fixes #1178
Fixes #1399
Fixes #1159
Fixes #1186
@codecov

codecov Bot commented Oct 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.18321% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
emulator/kinesis_resharding.go 94.61% 7 Missing ⚠️
emulator/sns_plugin.go 66.66% 2 Missing ⚠️
emulator/cloudtrail_plugin.go 80.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit fda0261 into main Oct 5, 2026
18 checks passed
@scttfrdmn
scttfrdmn deleted the fix/v0124-a1 branch October 5, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment