Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/github/gh-aw
/ copilot_harness.test.cjs
File
copilot_harness.test.cjs
actions/setup/js/copilot_harness.test.cjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, describe, it, expect, vi } from
"vitest"
;
2
import
{ spawnSync } from
"child_process"
;
3
import
{ createRequire } from
"module"
;
4
import
fs from
"fs"
;
Callers
nothing calls this directly
Calls
15
isCAPIQuotaExceededError
Function · 0.85
generateCopilotConnectionToken
Function · 0.85
buildCopilotSDKChildEnv
Function · 0.85
retryReason
Function · 0.85
hasNumerousPermissionDeniedIssues
Function · 0.85
isSDKSessionIdleTimeoutError
Function · 0.85
classifyCopilotFailure
Function · 0.85
isMCPGatewayShutdownError
Function · 0.85
shouldRetryLocal
Function · 0.85
extractOutputTail
Function · 0.85
getCopilotSDKServerPort
Function · 0.85
parseCopilotSDKServerArgsFromEnv
Function · 0.85
Tested by
no test coverage detected