-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Erase Repo Contents" has a bug, or at least is not working immediately #1031
Comments
We will tackle the roadmap issue as a separate problem, since that is repo deletion. This isn't repo deletion, it is content erasure. We should update the text by the "erase content" button to read: "For larger repositories, this process may not be able to complete automatically. In that case, please reach out to support for help" In the meantime we will solve the backend issue to scale content erasure to repos of any size. |
Ticket to update button's adjacent text -> #1032 |
@giovanni-guidini Look for quick improvements and low hanging fruit improvements. Time box to 2-4 hours. If we don't identify a quick fix lets tackle the larger fix after investigating the solution and prioritizing. |
One of the self-hosted customer is seeing the following traceback, which would be different than the issue we having on prod, due to this one being related to S3, when we use GCS
|
I did some investigation on the current state of this feature. It seems that the plumbing is all in place. I did try from prod deleting contents of a repo, and the task that does this was called, but never finished (idk why, logging is terrible). I took the liberty of refactoring the task to improve logging, add traces so we can check performance, and breaking it up by the different pieces we have to delete. That's captured in codecov/worker#246 That being said, testing locally with a repo that had some 4 commits the process did work.
Things that should be deleted by are not
I'd suggest we leverage the transactional email capibilities and chenge the UI to display a message informing the user the admins of the repo will receive an email when content deletion is complete. Optionally we can add some stats in the email, but that's another effort to be considered. I'd also suggest forcing the user to type the repo name to be able to delete the repo, as github does. As opposed to pressing 2 buttons. |
I believe this is because we are trying to use this function that it's not implemented. Maybe it changed over version? Got deprecated and removed or something like that... I'd open a specific ticket for this as part of this epic (it should be an epic if it's not) |
The error is actually in a minio function by the same name. Codecov isn't wrong to call it, it's in the minio SDK. |
Marking this as closed. It has been determined that the deletion process is triggered but the task is not operating as expected. And that some data is missing to be deleted. Issue #1127 as been created as an epic to capture future work that will be done to fix these issues. |
Describe the bug
Through two customer reports and my own reproduction, it is clear that our "Erase Repo Contents" is either not working, or not working immediately.
codecov/feedback#207
Internal investigation: https://github.com/codecov/internal-issues/issues/131
Environment (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
Go to a
repo settings page
Scroll to
danger zone
Click "erase repo coverage content"
Navigate back to the repo page
Expected behavior
Expected: Repo data (flags, historical coverage, commit list) is deleted
Actual behavior: Data is still rendering in frontend
Additional context
Bug: If the deletion process is underway and needs time, at minimum we need to make it clear that "deletion request is processing, please allow X minutes/hours"
Potential feature: At maximum, rework the underlying deletion process
Relevant roadmap issue: codecov/roadmap#38
The text was updated successfully, but these errors were encountered: