codecov / feedback

A place to discuss feedback about the pull request and web product experience.
34 stars 6 forks source link

[Self-hosted] Renaming a repo in GitHub Enterprise did not rename it in Codecov #491

Open nikosatwork opened 3 weeks ago

nikosatwork commented 3 weeks ago

Describe the bug We are using self hosted and had a scenario where renaming a private repo in GitHub Enterprise did not rename it in Codecov and the Codecov database.

Note that the Codecov Github app was installed in the private repo prior to renaming it but codecov was not yet setup (i.e. no uploads performed)

Resyncing the repos in the UI did not help.

We use version 24.7.1

Environment (please complete the following information): n/a

To Reproduce n/a

Expected behavior Expected that after renaming the repo in GitHub Enterprise the repo name would have been updated in Codecov too.

Screenshots n/a

Additional context n/a

drazisil-codecov commented 3 weeks ago

@rohan-at-sentry This will be a feature request

This is an event that GitHub sends: https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=renamed#repository

But we do not support it. https://github.com/codecov/codecov-api/blob/f460e8d1d19a3d94c663226a895071a444d135de/webhook_handlers/views/github.py#L170-L202