Skip to main content

Module channel_check

Module channel_check 

Source
Expand description

apollo channel-check — drive one channel against its real service.

tests/channel_conformance.rs proves a channel is correct against a mock built from the published API shapes. That closes “compiles” versus “works”, and nothing more: a wrong field name, a deprecated endpoint or a missing scope all pass a mock happily and fail against the real service. Every channel except Telegram and CLI shipped verified only that far.

This closes the rest of the gap, but it needs credentials and a human to echo a message, so it is a command rather than a test.

Structs§

CheckOptions
What the check needs beyond the channel itself.
StepReport
One step’s outcome, printed as it happens so a hang is attributable.

Functions§

run
Run the check. Returns the steps, all of which must pass for the channel to be considered verified against the real service.