-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
100%Progress: 100%Progress: 100%branchedIndicates that a branch has been created for this issue.Indicates that a branch has been created for this issue.bugSomething isn't workingSomething isn't workingbugfixSomething isn't workingSomething isn't workingpriority: highCritical issue, needs immediate attention.Critical issue, needs immediate attention.size: XXLIndicates an extremely large task or issue that requires significant time and effort to complete.Indicates an extremely large task or issue that requires significant time and effort to complete.
Description
Is there an existing issue for this?
- I have searched the existing issues.
Which actions are affected?
Issue
Which platforms are affected?
No response
Description
The setup command crashes on repositories with no issues cause it is not possible to get the existing labels.
Reproducing the issue
Execute copilot setup
copilot Version
master
Relevant Log Output
π Checking we are inside a git repository...
β
Git repository detected.
π Resolving repository (owner/repo)...
π¦ Repository: vypdev/geckocv
βοΈ Running initial setup (labels, issue types, access)...
GitHub Action: starting main run.
Error reading issue #1 description: HttpError: Not Found - https://docs.github.com/rest/issues/issues#get-an-issue
/Users/efraespada/Development/copilot/build/cli/index.js:7044
const error = new import_request_error.RequestError(toErrorMessage(data), status, {
^
RequestError [HttpError]: Not Found - https://docs.github.com/rest/issues/labels#list-labels-for-an-issue
at /Users/efraespada/Development/copilot/build/cli/index.js:7044:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async IssueRepository.getLabels (/Users/efraespada/Development/copilot/build/cli/index.js:50616:38)
at async Execution.setup (/Users/efraespada/Development/copilot/build/cli/index.js:48179:46)
at async mainRun (/Users/efraespada/Development/copilot/build/cli/index.js:46698:5)
at async runLocalAction (/Users/efraespada/Development/copilot/build/cli/index.js:47192:21)
at async Command.<anonymous> (/Users/efraespada/Development/copilot/build/cli/index.js:47705:5) {
status: 404,
response: {
url: 'https://api.github.com/repos/vypdev/geckocv/issues/1/labels',
status: 404,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Fri, 27 Feb 2026 02:28:52 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'issues=read; pull_requests=read',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '304A:540E1:1852B32:1650CD3:69A10164',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4927',
'x-ratelimit-reset': '1772160645',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '73',
'x-xss-protection': '0'
},
data: {
message: 'Not Found',
documentation_url: 'https://docs.github.com/rest/issues/labels#list-labels-for-an-issue',
status: '404'
}
},
request: {
method: 'GET',
url: 'https://api.github.com/repos/vypdev/geckocv/issues/1/labels',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'octokit-core.js/5.2.1 Node.js/20.20.0 (darwin; arm64)',
authorization: 'token [REDACTED]'
},
request: {
agent: Agent {
_events: [Object: null prototype] {
free: [Function (anonymous)],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype] {
keepAlive: false,
maxSockets: 100,
noDelay: true,
path: null
},
requests: [Object: null prototype] {},
sockets: [Object: null prototype] {},
freeSockets: [Object: null prototype] {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: 100,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 100,
_sessionCache: { map: {}, list: [] },
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false
},
fetch: [Function: proxyFetch],
hook: [Function: bound bound register]
}
}
}
Node.js v20.20.0Additional context and comments
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
100%Progress: 100%Progress: 100%branchedIndicates that a branch has been created for this issue.Indicates that a branch has been created for this issue.bugSomething isn't workingSomething isn't workingbugfixSomething isn't workingSomething isn't workingpriority: highCritical issue, needs immediate attention.Critical issue, needs immediate attention.size: XXLIndicates an extremely large task or issue that requires significant time and effort to complete.Indicates an extremely large task or issue that requires significant time and effort to complete.
Type
Projects
Status
Done