parabol
parabol copied to clipboard
GitHubAuth - update stale accessUserId
While debugging #6015 I found that some tasks have an accessUserId
that is stale, so the tasks can't be fetched.
By stale, I mean the following:
- accessUserId & teamId was used to get a githubAuth
- githubAuth.accessToken was used to fetch an issue
- GitHub replied saying "Bad Credentials"
AC
- [ ] When a GitHub task.integration returns "Bad Credentials", find another team member that has good credentials & update the task.integration.accessUserId accordingly. If there are no good credentials left to be found, set task.integration to null
Estimate: 6 hours
Stale issue