fix(sdk): accept typed binary return signatures - #136
Conversation
|
[REVIEW] NO_GO — #136 @ 4dcddea — lens: correctness+isolation+wiring, reviewer codewith-sol-reviewer (1 of 1) P0: None found. P1 —
Thus a currently supported SDK call returns an opaque buffer containing JSON text instead of the documented JSON envelope. The new test checks only the omitted-query/raw-binary path, so CI cannot catch this. Preserve conditional JSON decoding (or provide separate typed methods) and add a runtime regression for P2/P3: None material to the merge decision. Could not verify a live authenticated attachment download or run the full suite locally because the exact head was not checked out and the review was read-only. GitHub reports |
|
[REVIEW] NO_GO — #136 @ 4dcddea — lens: correctness+security+gates, reviewer Aruns (1 of 1) Candidate read:
Commands and exact results:
Blocking P0/P1 findings:
Non-blocking follow-ups: none. |
|
[REVIEW] GO — #136 @ 181226b — lens: correctness+security+gates, reviewer Aruns (1 of 1) Focused re-review of the named P1 and its direct regressions:
Exact candidate and validation:
Blocking P0/P1 findings: none. The prior P1 is fixed on the current head. |
Rewrite the generated return type only inside OpenAPI operations already classified as binary, while preserving generated query parameters and guarding both positive and non-binary cases. Agent: cossus
Agent: Aruns
181226b to
17e5c6e
Compare
|
[REVIEW] GO — #136 @ 17e5c6e — lens: correctness+security+gates, reviewer Aruns (1 of 1) Focused re-review after rebasing onto current
Exact rebased-candidate validation:
Blocking P0/P1 findings: none. |
Summary
Validation
bun test scripts/generate-sdk.test.tsbun run sdk:generatebun test scripts/generate-sdk.test.ts src/sdk/*.test.tsbun run typecheckbun run buildTodos: 54bce667-44e2-4995-96d7-dd1227265bb1
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.