-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Gitpod's GitHub Integration feature "addComment" no longer works #3235
Comments
We should rather remove this functionality. It comes from a time when we didn't know how this feature should work. Closed in favour of #3303 |
Re-opening this -- I think it would be cool to just fix the images while deprecation work is ongoing. (No need for significant engineering work -- just serving some SVG should be fine). |
Hi @jankeromnes Please ignore if this is not valid. I renabled the GitPod commenting on our repo and we got this comment a little while ago: I am assuming this most likely because the fix hasn't hit production? I just wanted to give you some early feedback just in case. Cheers. |
Hi @raisedadead! Indeed, the fix hasn't made it to production yet. That's expected to happen some time next week. Sorry for the confusion here -- we used to leave fixed issues open, with a |
That makes sense. Please do not worry about it. I am just a fan who gets excited about this. Cheers. |
@raisedadead Thanks for the enthusiasm! FYI, the new button comment currently looks like this: jankeromnes/gitpod-staging-prebuilds#5 (comment) 😁 (additionally, the currently broken images should also get automatically fixed with a redirect next week). |
@raisedadead FYI, This relatively small fix makes me really happy 😍 |
Thanks @jankeromnes I just checked it on some of our PRs and even older comments have been fixed. Thanks a lot for fixing this. Cheers 🍻 🎉 ! |
Describe the bug
When you configure your
.gitpod.yml
with:the added comment should have a "Open/Review in Gitpod" button. But right now, it seems to have a broken image instead:
A few examples out in the wild:
This might have pushed projects to disable this feature: forem/forem@4b5622f
Steps to reproduce
addComment: true
e.g. https://github.com/gitpod-io/workspace-imagesExpected behavior
Additional information
The automated comment's HTML body seems to be generated here:
gitpod/components/server/ee/src/prebuilds/github-app.ts
Line 373 in 19fb170
Maybe it's
getBadgeImageURL
that no longer works properly:gitpod/components/server/ee/src/prebuilds/github-app.ts
Lines 380 to 386 in 19fb170
Example repository
https://github.com/gitpod-io/workspace-images/
The text was updated successfully, but these errors were encountered: