-
-
Notifications
You must be signed in to change notification settings - Fork 431
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 PR status not working #1002
Comments
Additional info: |
I never used this functionality, maybe @knownasilya know something? |
Maybe this is related with #989. I see this error too. |
Hi, |
I've just published strider-github with the PR you submitted @xgalen regarding empty data for the webhook, so give that a try. |
Still gives the same error as the beginning. |
@jack828 could you run strider like so |
@jack828 does your project have the strider public key set in the github deploy keys for your repo? |
@knownasilya The public key is set (I think) as the repo is private so it needs them to clone it. The output is as follows:
I have removed personal information. |
Does creating the initial PR work though, or doors it always not work (initial and subsequent pushes)? |
Creating the initial PR causes the build but does not update the status - same with subsequent pushes. I will try deleting the web hook and re adding it shortly. |
I tested it yesterday and it worked for me with latest everything. Might be you setup the project before setting your |
I tried deleting the whole installation and cloning the repo instead - still nothing. But I do get a new error:
|
The above error occurs when I try to redeliver the last failed webhook delivery (note that the test still ran despite this, initially. Redelivery does not prompt a retest) |
@jack828 @knownasilya I ran into the same problem. I applied the changes in the following commit, and it solved the problem for me, but the package has not been updated/released yet. Please release: |
Thanks for the ping! |
Fantastic, I'll take a look. Had to use Travis CI but prefer to use strider instead. |
Should be released now as 2.1.0 in plugins. |
Closing. If the issue still exists, please comment and I'll reopen. |
First of all, great app.
Secondly, sorry if this is in the wrong place.
I'm having a couple issues. The first is with the Github PR status functionality. Pushing to a PR does cause the test to run, but it doesn't give any status on the PR of the build result (I mean the little tick and github reporting all tests passed).
I have the PR status plugin and webhooks plugin and also they are both enabled for the branches I am testing on.
Running strider with
DEBUG=strider-github-status
gives output of the webhook content and also the two following errors:strider-github-status initing +0ms 5804191dc291d08de48c undefined
strider-github-status No github PR data +2ms undefined { __v: 0, <snip webhook content>
I think this error is for the failing test but I am unsure (eslint test)
(node:2270) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Command failed: npm test --color=always
Any ideas? I may have everything configured wrong as I couldn't find a decent guide.
The text was updated successfully, but these errors were encountered: