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

Function recordedDeadGrantReason

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

Source from the content-addressed store, hash-verified

1022/** The recorded dead-grant mechanism, narrowed to a literal this build knows;
1023 * an absent or unrecognized value reads as undefined. */
1024const recordedDeadGrantReason = (
1025 reauthState: OAuthReauthRequiredState,
1026): HealthCheckReason | undefined =>
1027 Option.getOrUndefined(decodeHealthCheckReasonOption(reauthState.oauthReauthRequiredReason));
1028
1029// In-flight health probes, shared per connection across every executor holding
1030// 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