fix(test): expect provider empty durable input - #216
Conversation
98f5804 to
37b1d24
Compare
swkeever
left a comment
There was a problem hiding this comment.
No actionable findings. The fixture echoes the raw InputPayload string, and the linked staging failure shows exactly the newly expected "echoed": "{}". Existing unit tests still verify that an omitted CLI input sends no request body. Verified: unit tests for internal/api, internal/cmd/durable, and internal/output; E2E package compilation; gofmt; and diff whitespace checks. The full cloud E2E was not rerun locally.
marckong
left a comment
There was a problem hiding this comment.
Reviewed the full diff and traced the no-input path through the CLI request, hosting handoff, and Lambda durable envelope. The assertion matches the observed provider contract while existing unit coverage continues to verify that the CLI sends an empty request body. No actionable findings; local tests/lint and required CI checks pass.
Tracking
Why
null, while the provider passes the empty input object as the serialized value"{}"Summary
Verification
gofmt -d tests/e2e/api/durable_functions_test.gogo test ./tests/e2e/api -run '^$'git diff --check origin/main...HEAD