You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/06/09 05:00:33 UTC
[GitHub] [incubator-devlake] keon94 opened a new issue, #2140: [Bug] [GitHub Plugin] ExtractApiPullRequestCommits throwing JSON error
keon94 opened a new issue, #2140:
URL: https://github.com/apache/incubator-devlake/issues/2140
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
Running the GitHub pipeline on a few repos throws "unexpected end of JSON input" on [this line](https://github.com/apache/incubator-devlake/blob/0d3aa41e5e3db60e7ddfd3c3835f40e8c1c8eeb4/plugins/github/tasks/pr_commit_extractor.go#L85). This is being caused by the "nil" row.Input which the code tries to deserialize.
### What you expected to happen
row.Input should not be nil
### How to reproduce
here's one [repo](https://github.com/keon94/go-compose) that I used that threw this error, but this probably happens elsewhere too. Just run the GitHub pipeline on it and the JSON error mentioned above will show up on the UI.
### Anything else
_No response_
### Version
main
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh closed issue #2140: [Bug] [GitHub Plugin] ExtractApiPullRequestCommits throwing JSON error
Posted by GitBox <gi...@apache.org>.
klesh closed issue #2140: [Bug] [GitHub Plugin] ExtractApiPullRequestCommits throwing JSON error
URL: https://github.com/apache/incubator-devlake/issues/2140
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] keon94 commented on issue #2140: [Bug] [GitHub Plugin] ExtractApiPullRequestCommits throwing JSON error
Posted by GitBox <gi...@apache.org>.
keon94 commented on issue #2140:
URL: https://github.com/apache/incubator-devlake/issues/2140#issuecomment-1150672221
FYI @klesh
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org