The version currently taking all of an ordinary Worker's traffic, plus the
fleet specification digest that version was built from.
Narrower than the version read inspect() performs, deliberately: an
attestation needs the routed version and one binding, and every provider
call it makes is charged against the account-wide request window the rate
coordinator fences. It also goes through the provider API rather than the
wrangler CLI, which runs outside that coordinator entirely.
Returns undefined when the script does not exist. Throws
ActiveRouteAttestationError when it exists but no single version holds
100% of the traffic — that ambiguity is the refusal, not a tie to break.
The version currently taking all of an ordinary Worker's traffic, plus the fleet specification digest that version was built from.
Narrower than the version read
inspect()performs, deliberately: an attestation needs the routed version and one binding, and every provider call it makes is charged against the account-wide request window the rate coordinator fences. It also goes through the provider API rather than the wrangler CLI, which runs outside that coordinator entirely.Returns undefined when the script does not exist. Throws
ActiveRouteAttestationErrorwhen it exists but no single version holds 100% of the traffic — that ambiguity is the refusal, not a tie to break.