Discourse Code Review Questions

Hello,

we’re wanting to migrate to discourse and are playing around at the moment.

One goal we want to achieve is to get a bidirectional sync between a discourse thread and a GitHub issue.

For that I installed a discourse standard docker setup and also the Code Review Plugin ( Discourse Code Review )

What works:

  • when I make a new issue which refers to a commit, this will be posted in discourse as a new thread in the selected category.

What don’t works:

When I make a new comment in an issue the webhook is made but the comment won’t show up in discourse.

Works as designed or a config issue? Which Log files can help?

The goal in the end is a category with a bidirectional sync between discourse and GitHub. For our community we want to use discourse. Our devs should only look at GitHub…

thanks in advance!

Hey Lilly, thanks for your answer.

Yes, the GitHub plugin was the first place. This one pointed me to the code review plugin as the GitHub plugin won’t fulfill the requirements. There just a couple of threads with feature requests but without a solution.

Hey @humblebumble

Afaict, the plugin doesn’t support github issue comments, despite issue_comment being listed as a subscribed webhook event in the plugin docs. The plugin is architecturally built only for commits and PRs. Regular GitHub Issues are not the same as PRs and will silently fail.

There is an open feature request for this you would want to add your vote to:

But if you have the budget, asking in Marketplace is probably the best direct route available.