r/github • u/MarsupialLeast145 • 1d ago
Question GitHub policy on deleted users
This is a hot topic, but I have just discovered two PRs and an Issue completely deleted (404), not mine, but two on my repos, and one a related repo.
I guess it doesn't sound very remarkable, but we were aware it was likely an agentic account submitting the issues, but the bug fixes were 100% well written (12-20 lines and tests), and fixing actual problems - basically, we had some back and forth with the "author" and resolve the issues, and were prepared to accept the submission.
EXCEPT - the user seems to have been deleted - and now there is no ghost user, and the references to the issues give complete 404s - issue 10 and 12 exist, but issue 11 - a complete orphan.
What is going on here?
As a group we were talking about the ethics of not accepting fixes, but this is up to us as maintainers right? GitHub deleting a user is up to them. BUT GitHub deleting artefacts across all repositories? C'mon that isn't right... Anyone else wrestling with this, or understand their policies and controls here?
6
u/Mcby 1d ago
Relevant GitHub docs with details on what exacting is deleted when your account is: https://github.com/github/docs/blob/main/content/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/deleting-users-from-your-instance.md
By way of explanation: if the owner of the account decided to delete their account and all its contributions, that’s their call. And if GitHub deleted it for violating some term, it wouldn’t do much to dissuade future violations if the banned user still got to keep all their contributions.
2
u/TPECKA180 1d ago
Removing an account is one thing, but removing entire technical discussions from someone else's repository is another. Even if the account violated GitHub's rules, I'd prefer to see those contributions preserved under a deleted user label. Maintainers shouldn't lose useful bug reports and fixes without explanation.
-3
u/thisisnttheairport 1d ago
You don’t have ownership over another user’s contributions until (1) they offer them to you and (2) you accept them, by merging them into your project. Why do you think you should own someone else’s content before then?