Skip to content

bucket_check

A check of an organisation's bucket, run from a runner of its site.

The platform signs the requests on a test object under youSleep/checks/. They run here in order, each whatever came before, and the report says whether each did what it should, as the admin's browser's check does. Only each step's outcome and the first failure's reason are reported: never a URL, which is a credential, nor what the bucket answered beyond its status and error code.

run_bucket_check(send, check) async

Run the check's requests in order, and say what each did.

send sends one request: the caller's client, which may refuse an address its policy does not name by raising httpx.HTTPError. A request that does not reach the bucket fails its step.