Skip to content

feat: check request sources across the whole test suite - #187

Merged
dannyota merged 2 commits into
masterfrom
wip/t3-flow
Dec 4, 2026
Merged

dannyota merged 2 commits into
masterfrom
wip/t3-flow

Conversation

@dannyota

@dannyota dannyota commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Finishes request-sources task 3: the test-build flow check now covers the whole SDK and CLI test suites.

  • The ledger registers only what a decoder kept, never the raw reply. Typed decodes serialize their decoded output: public output models keep their Serialize; private wire types derive it only under any(test, feature = "test-support"), skipping receipt handles and every secret-bearing field while including values inside Guarded<T> and AcknowledgedId. Raw, catalogue, quote, monitor and cached paths register their decoded projections; accepted decodes with no operands record an empty accepted entry.
  • Origin inputs (design: docs/design/sdk-sources.md, reviewed): non-secret caller inputs are registered at the phase that reads them and sealed at the outer scope's first request. CLI flags, arguments, files after their guards, public stdin such as certificates, and Config's offline region and project; every public SDK operation registers its input through one helper, and a test-build scan fails if one does not. Default-valued SDK fields count as unset; free-form JSON fields are never origin inputs.
  • CDN post-write reads declare the preflight receipt. Known raw registrations (endpoint zone caches, NAT auto-renew ack, endpoint delete inventory, quote and monitor documents) now register decoded values, each with a red/green peer-count regression.
  • Removes task 3 from the request-sources plan and adds code-map rows.
  • The CLI crate gains a test-support feature and a path-only self dev-dependency to compile the check into its tests; the SDK's test-support enables serde/rc. Release builds are unchanged: the normal dependency tree matches master and the release binary has no flow-check symbols.

make check passed on this tree: 3815 tests, 3815 passed.

@dannyota
dannyota merged commit 2466268 into master Dec 4, 2026
11 checks passed
@dannyota
dannyota deleted the wip/t3-flow branch December 4, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant