Repository navigation
fix: Step Functions history, Timestream dates and the AWS Config recorder seed - #1374
Merged
Merged
Conversation
…rder seed #1323: GetExecutionHistory answers each event's timestamp as epoch seconds through a projection, and every type is a published HistoryEvent value derived from the ASL state's type. The stored history keeps its encoding. #1207: Timestream's database and table responses answer CreationTime and LastUpdatedTime as epoch seconds to three decimals, through timestream_wire.go. The records now hold time.Time so the fraction survives. A record written before the fix still decodes, and a test proves it. The class-wide audit is on the issue; its one untracked gap is #1373. #1320: Start/StopConfigurationRecorder persist the real recorder status, and only DescribeConfigurationRecorderStatus applies the seed. A test names the read-time invariant. Also freezes wireSetup's clock. Batch's exact createdAt assertion (#1363) was flaking under a parallel make test, because the clock advanced with wall time. Fixes #1323 Fixes #1207 Fixes #1320
6 tasks
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
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.
#1323: GetExecutionHistory answers each event's timestamp as epoch seconds
through a projection, and every type is a published HistoryEvent value
derived from the ASL state's type. The stored history keeps its encoding.
#1207: Timestream's database and table responses answer CreationTime and
LastUpdatedTime as epoch seconds to three decimals, through
timestream_wire.go. The records now hold time.Time so the fraction survives.
A record written before the fix still decodes, and a test proves it. The
class-wide audit is on the issue; its one untracked gap is #1373.
#1320: Start/StopConfigurationRecorder persist the real recorder status, and
only DescribeConfigurationRecorderStatus applies the seed. A test names the
read-time invariant.
Also freezes wireSetup's clock. Batch's exact createdAt assertion (#1363) was
flaking under a parallel make test, because the clock advanced with wall time.
Fixes #1323
Fixes #1207
Fixes #1320
Compatibility
timestampchanges from an RFC3339 string to an epoch-seconds number, andtypevalues change to the published per-state names.CreationTime/LastUpdatedTimechange from strings to numbers. The stored record's encoding changes too: older records still decode, but a recording replayed after the fix diverges for a create made at a sub-second instant.