parabol icon indicating copy to clipboard operation
parabol copied to clipboard

GitHubAuth - update stale accessUserId

Open mattkrick opened this issue 2 years ago • 1 comments

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

mattkrick avatar Feb 12 '22 02:02 mattkrick

Stale issue

github-actions[bot] avatar Aug 12 '22 00:08 github-actions[bot]