-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
GitHub package gets 404 error getting pull request info #32
Comments
Thanks a ton for reporting this error, we will have to see what we can find out about this one |
Sure no problem! Seems to be related to this line here, at least in some cases where |
I'm not sure, but this seems to be fixed in the latest update? |
I think I was the only one to make any changes to this package at all in the last couple of months and it was only to add a menu item. Maybe GitHub's API was being flaky that day? |
It's possible it was just a flaky day, but... the console error definitely had a url it was trying to reach that was incorrect, and modifying the url manually (to replace my github username with the owner of the upstream repo) would pull up the data. On startup after the update, a bunch of my repos asked me to choose a remote to use for pull request data (either origin or upstream), which I had never seen before, and now it works. If no one else ever recreated this issue, I'm happy to write it off as weirdness and mark as closed. |
Thanks in advance for your bug report!
What happened?
The GitHub package automatically pulls up info on a "checked out pull request" associated with the currently active repo.
I'm getting 404 errors in the console because the package is attempting to pull this info from the wrong url, namely
https://api.github.com/repos/<me>/<repo>/pulls/<pull number>
and gets a 404https://api.github.com/repos/<origin>/<repo>/pulls/<pull number>
It seems to somehow resolve the pull request info eventually and will load the relevant info, but very slowly. Also it seems to constantly be trying to pull this info in the background and repeatedly generating these 404 errors.
Pulsar version
1.105.0
Which OS does this happen on?
🍎 macOS
OS details
12.6.6
Which CPU architecture are you running this on?
64-bit(x86_64)
What steps are needed to reproduce this?
Additional Information:
No response
The text was updated successfully, but these errors were encountered: