Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Policy bot UI doesn't handle repository moves #408

Open
ajlake opened this issue Apr 11, 2022 · 0 comments
Open

Policy bot UI doesn't handle repository moves #408

ajlake opened this issue Apr 11, 2022 · 0 comments

Comments

@ajlake
Copy link
Contributor

ajlake commented Apr 11, 2022

Repro:

  • Have a repository at ORG1/REPO
  • Open pull request against ORG1/REPO (policy-bot will post a status with a link to the UI, the UI link will be DOMAIN/details/ORG1/REPO/ISSUENO)
  • Move the repository from ORG1 to ORG2
  • The previous link will now be broken and the bot will return errors like the following: {"error":"Internal Server Error","request_id":"c9a6jc2nrpqc07dvlidg"}

Desired:

  • Ideal: policy-bot should handle repository moves and follow redirects OR post an updated status check on repository move (assuming this is a detectable event)
  • Better than nothing: instead of an opaque error, a message is displayed to the user with something like "Repository not found, possible causes: $LIST"

Note: this is a very minor edge issue and is resolved on the next status check posted from the bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant