Skip to content

fix: Step Functions history, Timestream dates and the AWS Config recorder seed - #1374

Merged
scttfrdmn merged 1 commit into
mainfrom
fix/v0122-sfn-timestream-config
Oct 4, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
fix/v0122-sfn-timestream-config

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

#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

  • Step Functions history timestamp changes from an RFC3339 string to an epoch-seconds number, and type values change to the published per-state names.
  • Timestream CreationTime/LastUpdatedTime change 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.

…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
@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.95402% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
emulator/configservice_recorder.go 82.35% 3 Missing ⚠️
emulator/stepfunctions_asl.go 90.00% 2 Missing ⚠️
emulator/timestream_plugin.go 87.50% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit 340ae4d into main Oct 4, 2026
18 checks passed
@scttfrdmn
scttfrdmn deleted the fix/v0122-sfn-timestream-config branch October 4, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant