Session create fails for GHE repo, and often wrong issues are shown in issue view

Open
#4,036 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
github

Research direction

Reproduce the flow with a GitHub Enterprise repository whose project auth is not the app's default auth. Compare the issues shown initially with those shown in the issue view, then try Create Session and inspect the origin-verification failure. Done means session creation succeeds and the correct issues remain visible.

Written by the indexing model from the issue text.

Description

Session create fails for GHE repo, and often wrong issues are shown in issue view:

Session creation failed
Failed to create session: project eefcbb9f-c2fc-4ad2-9639-7275c8dc376c origin could not be verified; fix the repository's Git config or remove and re-add the project

The auth is correct for the project. The auth is NOT the default auth for the entire CoPilot App. The app initially shows the correct set of issues for the GHE repo. Clicking "Create Session" fails with the above error.


Field Value
App version 1.1.22
OS Windows 10.0.26200
Theme GitHub
Path /
Tenure Week 21
Dominant language
No language data
Stars
2.1k
Forks
157
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/app

All issues in github/app

Similar issues

More Security issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.