Repository navigation
fix(#756): answer HealthOmics, Bedrock, RAM and Batch records through projections - #1363
Merged
Merged
Conversation
… projections Each answered a stored record whole at one or more sites, accountID and region included, which no published shape carries. - HealthOmics' GetRun answers emulator/omics_wire.go's projection. - Bedrock's GetModelInvocationJob and ListModelInvocationJobs answer emulator/bedrock_wire.go's projection. submitTime is the date-time string the reference publishes rather than an epoch number, and each summary gains its Required roleArn, inputDataConfig and outputDataConfig. - RAM's CreateResourceShare, UpdateResourceShare and GetResourceShares also answered principals and resourceArns, which API_ResourceShare does not publish, and rendered their dates as RFC3339 where restJson1 publishes numbers. They answer emulator/ram_wire.go's projection with EpochSeconds. - Batch's DescribeJobs answers emulator/batch_wire.go's projection onto API_JobDetail, adding jobArn and keeping createdAt as epoch milliseconds; that createdAt joins check-wire-bookkeeping's exclusions. Each service has a new <svc>_wire_test.go citing the record, with a read-back of the members first and a projection-revert control run. check-wire-bookkeeping goes from 292 projected across 125 records to 300 across 129, and from 18 still reachable to 10.
This was referenced Oct 3, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Oct 3, 2026
scttfrdmn
added a commit
that referenced
this pull request
Oct 4, 2026
…rder seed (#1374) #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
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.
Each answered a stored record whole at one or more sites, accountID and region
included, which no published shape carries.
emulator/bedrock_wire.go's projection. submitTime is the date-time string the
reference publishes rather than an epoch number, and each summary gains its
Required roleArn, inputDataConfig and outputDataConfig.
answered principals and resourceArns, which API_ResourceShare does not
publish, and rendered their dates as RFC3339 where restJson1 publishes
numbers. They answer emulator/ram_wire.go's projection with EpochSeconds.
API_JobDetail, adding jobArn and keeping createdAt as epoch milliseconds; that
createdAt joins check-wire-bookkeeping's exclusions.
Each service has a new _wire_test.go citing the record, with a read-back of
the members first and a projection-revert control run. check-wire-bookkeeping
goes from 292 projected across 125 records to 300 across 129, and from 18 still
reachable to 10.
Compatibility
submitTimechanges from a JSON number to a date-time string, matching the published shape.creationTime/lastUpdatedTimechange from RFC3339 strings to epoch-second numbers, matching restJson1.principals/resourceArns; read them through ListPrincipals/ListResources.