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

Function recordedDeadGrantReason

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

Source from the content-addressed store, hash-verified

1008/** The recorded dead-grant mechanism, narrowed to a literal this build knows;
1009 * an absent or unrecognized value reads as undefined. */
1010const recordedDeadGrantReason = (
1011 reauthState: OAuthReauthRequiredState,
1012): HealthCheckReason | undefined =>
1013 Option.getOrUndefined(decodeHealthCheckReasonOption(reauthState.oauthReauthRequiredReason));
1014
1015// In-flight health probes, shared per connection across every executor holding
1016// 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