dosubot[bot] commented on issue #8227: URL: https://github.com/apache/incubator-devlake/issues/8227#issuecomment-2507064460
<!-- Greeting --> Hello @sreeji10! I'm here to assist you with any bugs, questions, or contributions. Let's tackle this GitLab issue together! <!-- Answer --> The issue you're experiencing with "IN_PROGRESS" jobs not being captured in the `cicd_tasks` table might be related to how job statuses are mapped and fetched from GitLab. The possible values for the 'status' and 'original_status' columns in the `cicd_tasks` table are "DONE", "IN_PROGRESS", and "OTHER". These values are standardized in DevLake based on the possible states of each plugin. If the input matches any of the values in the `InProgress` list, the status is set to "IN_PROGRESS" <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/core/models/domainlayer/devops/cicd_pipeline.go)</sup><sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.21/DataModels/DevLakeDomainLayerSchema.md)</sup>. Additionally, the data collection process includes error handling and logging, which might help identify why 'IN_PROGRESS' jobs are not being captured. The `CollectJobs` function uses a logger to log information and errors, which could provide insights into any issues during the job collection process <sup>[[3]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/circleci/tasks/job_collector.go)</sup>. You might want to check the logs for any errors or issues during the data collection process that could affect capturing 'IN_PROGRESS' jobs. Also, ensure that the configuration settings or parameters in DevLake are correctly set to fetch all job statuses from GitLab. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org