You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bedb2a1
Browse filesBrowse the repository at this point in the historyBrowse files
["HTTP 404: Not Found (https://github.example/api/v3/repos/acme/web/stacks)", "", null],
657
+
["gh: Resource not accessible by integration (HTTP 403)", undefined, "GitHubCliCommandError"],
658
+
["gh: Service Unavailable (HTTP 503)", undefined, "GitHubCliCommandError"],
659
+
["dial tcp: lookup github.example: no such host", undefined, "GitHubCliCommandError"],
660
+
[
661
+
"To get started with GitHub CLI, please run: gh auth login",
662
+
undefined,
663
+
"GitHubCliAuthenticationError",
664
+
],
665
+
["gh: Too Many Requests (HTTP 429)", undefined, "GitHubCliRateLimitError"],
666
+
["gh: Not Found (HTTP 404)", "gh: Not Found (HTTP 404)", "GitHubPullRequestNotFoundError"],
667
+
["gh: Not Found (HTTP 404)", "gh: Bad credentials (HTTP 401)", "GitHubCliCommandError"],
668
+
[
669
+
"gh: Not Found (HTTP 404)",
670
+
"gh: Resource not accessible by integration (HTTP 403)",
671
+
"GitHubCliCommandError",
672
+
],
673
+
[
674
+
"gh: Not Found (HTTP 404)",
675
+
"To get started with GitHub CLI, please run: gh auth login",
676
+
"GitHubCliAuthenticationError",
677
+
],
678
+
["gh: Not Found (HTTP 404)", "gh: Service Unavailable (HTTP 503)", "GitHubCliCommandError"],
679
+
["gh: Not Found (HTTP 404)", "gh: Too Many Requests (HTTP 429)", "GitHubCliRateLimitError"],
680
+
] as const)(
681
+
"classifies the raw stacks API failure: %s; PR access: %s",
682
+
([stderr, accessStderr, expectedError]) =>
683
+
Effect.gen(function* () {
684
+
const run = vi.fn<ProcessRunner.ProcessRunner["Service"]["run"]>();
685
+
for (const response of accessStderr === undefined ? [stderr] : [stderr, accessStderr]) {
0 commit comments