caioq opened a new issue, #8349:
URL: https://github.com/apache/incubator-devlake/issues/8349

   ### 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
   
   Since 2025-03-06, when using a GitHub connection with GitHub App and 
GraphQL, the table project_pr_metrics has not been receiving any data.
   The pipeline completes with a success status, but no records are inserted 
into the table.
   
   Blueprint configuration example:
   ```json
   {
     "plugin": "github_graphql",
     "subtasks": [
       "Collect Pull Requests",
       "Extract Pull Requests",
       "Collect Comments",
       "Extract Comments",
       "Collect PR Review Comments",
       "Extract PR Review Comments",
       "Collect Users",
       "Extract Users",
       "Enrich PR Issues",
       "Convert Repos",
       "Convert PR Commits",
       "Convert Pull Requests",
       "Convert PR Reviews",
       "Convert PR Labels",
       "Convert PR Issues",
       "Convert PR Comments",
       "Convert Reviews",
       "Convert Users"
     ],
     "options": {
       "connectionId": 1,
       "fullName": "XXX",
       "githubId": YYY,
       "name": "XXX"
     }
   },
   {
     "plugin": "gitextractor",
     "subtasks": null,
     "options": {
       "connectionId": 1,
       "fullName": "XXX",
       "name": "XXX",
       "pluginName": "github",
       "proxy": "",
       "repoId": "github:GithubRepo:1:ZZZ",
       "url": 
"https://git:****************************************@github.com/XXX.git";
     }
   }
   
   ```
   
   ### What do you expect to happen
   
   I expect the project_pr_metrics table to be populated with data when running 
the pipeline, as it was before March 6, 2025.
   
   This data is **crucial** for tracking PR metrics, and the absence of records 
is impacting our ability to analyze GitHub contributions.
   
   ### How to reproduce
   
   1. Configure a GitHub App connection with GraphQL.
   2. Run the pipeline with the configuration above.
   3. Check the project_pr_metrics table in the database.
   
   Expected: Data should be inserted into `project_pr_metrics`.
   
   ### Anything else
   
   - This issue occurs every time the pipeline runs since 2025-03-06.
   - I tried executing Re-Transform, but this only made the problem worse. It 
seems that the behavior applied to previous pull requests as well, increasing 
the number of PRs without metrics.
   - I also tested a new project running locally, and no records were inserted 
into the `project_pr_metrics` table.
   
   ### Version
   
   v1.0.1 and v1.0.2-beta6
   
   ### 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: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to