kostas-petrakis opened a new pull request, #8420:
URL: https://github.com/apache/incubator-devlake/pull/8420

   <!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
   ### ⚠️ Pre Checklist
   
   ### Summary
   This PR addresses a regression in the GitHub GraphQL API job collection 
introduced by issues #8383 and #8233. The regression caused the `runID` of the 
GraphQL extracted job to incorrectly reference the job ID instead of the 
workflow run ID, leading to empty DORA metrics.
   
   Changes
   Introduced a new DAL struct to correctly store the`RunID` for GitHub GraphQL 
collected jobs.
   
   ### Does this close any open issues?
   Closes 8415
   
   ### Screenshots
   
   ```json
   {
     "RunId": 14767773733,
     "Id": "******",
     "Name": "*******",
     "DetailsUrl": 
"https://github.com/*****/*****/actions/runs/14767773733/job/41462433961";,
     "DatabaseId": 41462433961,
     "Status": "COMPLETED",
     "StartedAt": "2025-05-01T01:29:58Z",
     "Conclusion": "SUCCESS",
     "CompletedAt": "2025-05-01T01:36:13Z",
     "Steps": {
       "TotalCount": 1,
       "Nodes": [
         {
           "completed_at": "2025-05-01T01:30:00Z",
           "conclusion": "SUCCESS",
           "name": "****",
           "number": 1,
           "seconds_to_completion": 2,
           "started_at": "2025-05-01T01:29:58Z",
           "status": "COMPLETED"
         }
       ]
     }
   }
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to