Skip to content

feat(client): add peer-pinned TinyDocs host calls - #47

Merged
senamakel merged 50 commits into
tinyhumansai:epic/8056-modules-wiringfrom
senamakel:epic-8056-tinydocs-client-source
Oct 18, 2026
Merged

senamakel merged 50 commits into
tinyhumansai:epic/8056-modules-wiringfrom
senamakel:epic-8056-tinydocs-client-source

test(tinydocs-client): expect unavailable for malformed typed stream …

26c5330
Select commit
Loading
Failed to load commit list.
TinySweeper / tinysweeper/critique succeeded Oct 18, 2026 in 0s

Adds unit tests for the client's error classification (invalid-input vs. unavail

Adds unit tests for the client's error classification (invalid-input vs. unavailable vs. failed), the redaction of peer-supplied text in Debug/Display, and the empty-string SHA-256 digest; each assertion matches the classify_failure/classify_sdk_error definitions and the DocumentCallError formatting I was shown, and the digest literal is the correct SHA-256 of the empty vector. No defects found; the only thing I could not verify first-hand is the exact ModuleCallFailure Display text asserted in raw_message, since the vendored tinybus submodule is not checked out. 2 files could not be reviewed: crates/tinydocs-client/src/client.rs, crates/tinydocs-client/tests/recording_broker.rs.

No findings.

tinysweeper 0.1.2