Skip to content

test(#756): pin STS, CloudFormation and both shard iterators, and make zero still-reachable the floor - #1367

Merged
scttfrdmn merged 1 commit into
mainfrom
test/756-last-five
Oct 3, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
test/756-last-five

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

These are the five records #1337 set aside as reaching an AWS body only through
a projection or a token, and each one was confirmed to:

  • STSSessionCredentials' AccountId reaches none of AssumeRole,
    GetSessionToken or a session-signed GetCallerIdentity, which publishes the
    account as Account (emulator/sts_wire_test.go).
  • CFNStackState and CFNChangeSet reach no response. emulator/cfn_wire_test.go
    reads the members back first, the account and Region being omitempty, and
    walks every routed stack and change-set operation.
  • DynamoDBStreamCursor and kinesisIterator reach a body only base64-encoded in
    the opaque ShardIterator/NextShardIterator, which is faithful. Each test
    decodes the token first, requiring the account and Region inside it, and fails
    the day the cursor is rendered as an object.

check-wire-bookkeeping goes from 300 projected across 129 records to 310 across
134, and from 10 still reachable to 0. It now fails on any record that neither
file discharges, so zero is the floor and a new record cannot enter the baseline
by --write alone.

Writing the CloudFormation test found that stack and change-set state keys
carry no account or Region; that is #1366.

Part of #756. Its acceptance criteria are reviewed on the issue after merge.

…e zero still-reachable the floor

These are the five records #1337 set aside as reaching an AWS body only through
a projection or a token, and each one was confirmed to:

- STSSessionCredentials' AccountId reaches none of AssumeRole,
  GetSessionToken or a session-signed GetCallerIdentity, which publishes the
  account as Account (emulator/sts_wire_test.go).
- CFNStackState and CFNChangeSet reach no response. emulator/cfn_wire_test.go
  reads the members back first, the account and Region being omitempty, and
  walks every routed stack and change-set operation.
- DynamoDBStreamCursor and kinesisIterator reach a body only base64-encoded in
  the opaque ShardIterator/NextShardIterator, which is faithful. Each test
  decodes the token first, requiring the account and Region inside it, and fails
  the day the cursor is rendered as an object.

check-wire-bookkeeping goes from 300 projected across 129 records to 310 across
134, and from 10 still reachable to 0. It now fails on any record that neither
file discharges, so zero is the floor and a new record cannot enter the baseline
by --write alone.

Writing the CloudFormation test found that stack and change-set state keys
carry no account or Region; that is #1366.

Part of #756. Its acceptance criteria are reviewed on the issue after merge.
@codecov

codecov Bot commented Oct 3, 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 b7b1f12 into main Oct 3, 2026
18 checks passed
@scttfrdmn
scttfrdmn deleted the test/756-last-five branch October 3, 2026 05:18
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