Bug Report: GitHub organization is not recognized after Codecov App registration
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github
- Domain
- authentication, authorization
Research direction
Start by reproducing the GitHub OAuth login, organization App registration, account switching, and direct organization URL flow described in the issue. Compare the personal-account and organization states; done means the installed organization appears in the Codecov UI and no longer opens in guest mode.
Written by the indexing model from the issue text.
Description
Describe the bug
After the GitHub OAuth login issue reported in #980 was no longer preventing access, I was able to log in to Codecov and register the Codecov GitHub App for my organization.
GitHub shows the Codecov App as installed/registered for the organization. However, Codecov's web interface does not recognize the organization installation.
When accessing Codecov, it shows the repositories from my personal GitHub account as if the integration were registered for my personal account. The organization is not available for selection in the UI.
If I manually access the organization URL, Codecov displays the account as being in guest mode instead of recognizing the organization installation.
Environment (please complete the following information):
- Browser: Microsoft Edge 153
- System: Web / GitHub OAuth integration
To Reproduce
Steps to reproduce the behavior:
- Log in to Codecov using GitHub OAuth.
- Register/install the Codecov GitHub App for a GitHub organization.
- Verify in GitHub that the Codecov App is registered for the organization.
- Access
https://app.codecov.io/github/username. - Observe that Codecov displays the repositories associated with the personal GitHub account.
- Attempt to select or switch to the organization.
- Observe that the organization is not available in the UI.
- Manually access
https://app.codecov.io/github/org. - Observe that Codecov displays the account as being in guest mode instead of recognizing the organization installation.
Expected behavior
Codecov should recognize the GitHub App installation for the organization and allow the authenticated user to access and configure the organization's repositories according to their GitHub permissions.
The organization should appear as an available GitHub account/organization in the Codecov UI instead of Codecov treating the integration as a personal-account installation.
Screenshots
The following screenshots are provided as evidence of the behavior described above:
Additional context
The GitHub OAuth login issue was previously reported in #980
Once I was able to access Codecov, I registered the Codecov GitHub App for the organization. GitHub confirms that the App is registered for the organization, but Codecov appears to associate the integration with my personal GitHub account instead.
As a result, the organization cannot be accessed or configured through the Codecov UI, despite the GitHub App being registered for the organization.
- Dominant language
- No language data
- Stars
- 52
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from codecov/feedback
-
Docs Waiting for: Product Owner
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Bug ReportOpen
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Docs
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
Docs
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
All issues in codecov/feedback
Similar issues
-
install: root SSH tmpfiles.d drop-in is labeled etc_runtime_t instead of etc_tPossibly taken @andrewdunndev claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
security trivy
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
kubefleet-dev/kubefleet#944 ·
Maintainers usually reply within 2 days
-
security-scan
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Show the mcp-gee-sweet auth hint for a mid-session RefreshError in tools that return error dictsOpenenhancement from-review
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
khuisman/mcp-gee-sweet#906 ·
Maintainers usually reply within 1 day