-
Notifications
You must be signed in to change notification settings - Fork 635
Closed
Labels
Stalecomponent/pluginsThis issue or PR relates to pluginsThis issue or PR relates to pluginsseverity/p2This bug doesn’t affect the functionality or isn’t evidentThis bug doesn’t affect the functionality or isn’t evidenttype/bugThis issue is a bugThis issue is a bug
Description
Search before asking
- I had searched in the issues and found no similar issues.
What happened
In the table pull_requests the column is_draft
is not being populated correctly. All values are either false or null.
In the _raw_github_api_pull_requests_reviews
table column 'data' there is the raw json data returned from the github api which includes the value of "draft":true,
is_draft column in the _tool_github_pull_requests table for that PR is set to false.
What do you expect to happen
Any pull requests that is marked as draft should have the value of is_draft in pull_requests table set to true.
How to reproduce
- Create a Pull Request in a github repo that is being injested into the devlake.
- Change the status of Pull Request to draft.
- Have Devlake pull in and progress github data.
- Verify raw data was added in the _raw_github_api_pull_requests_reviews table
- Verify that is_draft is false in the _tool_github_pull_requests table
- Verify that is_draft is false in the pull_requests table
Anything else
No response
Version
v1.01
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
dosubot
Metadata
Metadata
Assignees
Labels
Stalecomponent/pluginsThis issue or PR relates to pluginsThis issue or PR relates to pluginsseverity/p2This bug doesn’t affect the functionality or isn’t evidentThis bug doesn’t affect the functionality or isn’t evidenttype/bugThis issue is a bugThis issue is a bug