This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
GitHub sync fails for users with expired invite #167
Labels
needs fix
Currently functionality that is broken
If a user in
configs
has been invite to the GitHub org in the past, but did not accept their invite and instead has let the invite expire, subsequent attempts to add the user to the organization will fail with 422 errors. This is seen insrc/providers.rs:242
. Currently this causes thesync
function to return early with a failure.This should likely be changed, as we are left currently with a partially provisioned user. Either the remaining provisioning steps could be run and GitHub access can be left in its current state or be manually triaged, or we can cancel the invite and re-issue upon checking that it is expired.
The text was updated successfully, but these errors were encountered: