MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / recordedDeadGrantReason

Function recordedDeadGrantReason

packages/core/sdk/src/executor.ts:963–966  ·  view source on GitHub ↗
(
  reauthState: OAuthReauthRequiredState,
)

Source from the content-addressed store, hash-verified

961/** The recorded dead-grant mechanism, narrowed to a literal this build knows;
962 * an absent or unrecognized value reads as undefined. */
963const recordedDeadGrantReason = (
964 reauthState: OAuthReauthRequiredState,
965): HealthCheckReason | undefined =>
966 Option.getOrUndefined(decodeHealthCheckReasonOption(reauthState.oauthReauthRequiredReason));
967
968// In-flight health probes, shared per connection across every executor holding
969// the same root db handle. Read-time revalidation makes `connections.list` a

Callers 2

deadGrantVerdictFunction · 0.85
performTokenRefreshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected