mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 02:27:43 +00:00
[comment audit] Shorten preload comments (#32257)
* chore: audit preload root comments and track repository coverage * docs: track repository comment audit coverage * chore: keep comment audit tracker local * chore: shorten preload API contract comments --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -197,12 +197,8 @@ export type GithubPullRequestApi = {
|
||||
) => Promise<GitHubCommentResult>
|
||||
checkOrcaStarred: () => Promise<boolean | null>
|
||||
starOrca: (source: AppStarSource) => Promise<boolean>
|
||||
/**
|
||||
* GitHub API rate-limit snapshot. Does NOT consume quota (the
|
||||
* `rate_limit` endpoint is exempt). Cached 30s server-side — pass
|
||||
* `force: true` to bust after a known-expensive op.
|
||||
*/
|
||||
/** Quota-exempt; cached for 30s unless force is true. */
|
||||
rateLimit: (args?: { force?: boolean }) => Promise<GetRateLimitResult>
|
||||
/** Explains scope_missing ProjectV2 failures — notably a shell `GITHUB_TOKEN` shadowing the keyring credential, where `gh auth refresh` is a no-op. */
|
||||
/** Detects missing scopes and shell tokens shadowing keyring credentials. */
|
||||
diagnoseAuth: (args?: { host?: string }) => Promise<GhAuthDiagnostic>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user