dosubot[bot] commented on issue #8634:
URL: 
https://github.com/apache/incubator-devlake/issues/8634#issuecomment-3497289549

   <!-- Answer -->
   You're right—the conditional in workflow_converter.go only skips workflows 
with a missing CreatedAt timestamp, so if that's never hit, all your workflows 
are being processed as expected.
   
   Since your workflow names match the deploymentPattern, the next thing to 
check is whether your CircleCI jobs (not just workflows) are being classified 
as deployments. DevLake uses the deploymentPattern to tag jobs as deployment 
tasks, and if no jobs are marked as deployments, cicd_deployment_commits won't 
populate—even if the workflows are correct. This tagging depends on the job 
names matching the deploymentPattern regex, not just the workflow names.
   
   Try running a query like:
   ```sql
   SELECT name, type FROM cicd_tasks WHERE type = 'DEPLOYMENT';
   ```
   If this returns no rows, it means none of your jobs are being marked as 
deployments. In that case, check the actual job names in your CircleCI runs and 
adjust your deploymentPattern to match those job names (for example, if your 
jobs are named "deploy" or "deploy_prod", the pattern should match those).
   
   If you do see deployment tasks, but cicd_deployment_commits is still empty, 
there may be an issue with how commits are linked to deployments, or a 
regression in the plugin. Let me know what you find in cicd_tasks and we can 
dig deeper if needed.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/ad1430de-8f21-4a61-a164-193373c645dd?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/ad1430de-8f21-4a61-a164-193373c645dd?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/ad1430de-8f21-4a61-a164-193373c645dd?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/ad1430de-8f21-4a61-a164-193373c645dd?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/ad1430de-8f21-4a61-a164-193373c645dd?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/ad1430de-8f21-4a61-a164-193373c645dd?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/ad1430de-8f21-4a61-a164-193373c645dd?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8634)


-- 
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