Add hook-info field-shape conformance handlers - #615
Closed
wangyb-A wants to merge 6 commits into
Closed
Conversation
This was referenced Aug 10, 2026
wangyb-A
force-pushed
the
plugin-hook-field-shape
branch
from
August 11, 2026 04:35
7537017 to
81e6e3b
Compare
Contributor
Author
|
Rebased onto Rationale: the 10-19 handler dumps The branch was previously based on a |
wangyb-A
force-pushed
the
plugin-hook-field-shape
branch
from
August 11, 2026 05:17
81e6e3b to
8998cd8
Compare
wangyb-A
force-pushed
the
plugin-hook-field-shape
branch
from
August 11, 2026 05:28
8998cd8 to
89167c1
Compare
added 6 commits
August 11, 2026 18:40
The 10-19 handler is a canonical dump of each invocation hook's own info. Now that the Python infos expose the operation maps, emit the canonical operationsCount on both hooks and updatedOperationsCount on invocation-start instead of omitting them. Refs #617
The handler docstring claimed the Python invocation infos have no execution-input or execution-result field. They do now; the canonical dump still omits them because the requirement puts the payload surfaces out of GA scope and asserts nothing about them. Refs #616
wangyb-A
force-pushed
the
plugin-hook-field-shape
branch
from
August 11, 2026 18:41
89167c1 to
6e22b1c
Compare
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.
Summary
Adds 5 conformance handlers (
handlers/plugin/plugin_{invocation_info,operation_info,attempt_info,operation_change,context_info}_shape.py) +template_plugin.yamlentries implementing plugin hook-info FIELD-SHAPE requirements 10-19..10-23 from aws/aws-durable-execution-conformance-tests#72 (land that PR first).Each handler logs ONE single-line JSON record per hook event: a CANONICAL camelCase DUMP of that hook's own info parameter (None/unexposed fields OMITTED — a missing key fails its assertion). GA note: experimental payload fields (execution input/result, operation result) are still DUMPED when exposed but are not asserted by the requirements.
Live validation (us-west-2): 22/23 — ONE DELIBERATE FAILURE (SDK parity gap, tracked in #617)
operationsmap and no externally-updated-operations collection (JS exposes both on every invocation hook). The dump omits those keys, failing the map-count assertions.