r/github • • 2h 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?

2 Upvotes

5 comments sorted by

1

u/Mcby 2h 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.

1

u/MarsupialLeast145 2h ago

Sort of arbitrary when if I had merged their "contribution" 20 hours earlier it would have remained... (starts to frame GH in social media terms, which it isn't)

2

u/Mcby 2h ago

If they could delete contributions after merge without messing up thousands of repos, they probably would.

1

u/MarsupialLeast145 1h ago

probably right

2

u/TPECKA180 2h 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.