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

   <!-- Answer -->
   The most likely reason cicd_deployment_commits is empty is that your 
deploymentPattern regex in the scope config doesn’t match the actual names of 
your CircleCI workflows. DevLake uses this pattern to decide which workflows 
are deployments—if there’s no match, nothing is marked as a deployment, so no 
deployment commits are generated.
   
   To fix this, check the workflow names in your _tool_circleci_workflows table 
and compare them to your current deploymentPattern 
(`(?i)^code_build_and_deploy$`). If your deployment workflows have different 
names, update the deploymentPattern in your scope config to match (for example, 
use a broader regex like `(?i)deploy` if your workflows contain "deploy" in 
their names). Once the pattern matches your real deployment workflows, re-run 
data collection and cicd_deployment_commits should populate as expected.
   
   If you want to confirm the matching logic, see how the plugin uses these 
patterns to classify deployments [in the 
code](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/backend/plugins/circleci/tasks/workflow_converter.go#L41-L122).
 This pattern-based approach is a known usability challenge, so if you have 
feedback on making it easier, it could help improve the plugin in the future.
   
   
   <!-- 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/9199c876-d5bb-485a-8539-4c1507a741a7?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/9199c876-d5bb-485a-8539-4c1507a741a7?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/9199c876-d5bb-485a-8539-4c1507a741a7?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/9199c876-d5bb-485a-8539-4c1507a741a7?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/9199c876-d5bb-485a-8539-4c1507a741a7?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/9199c876-d5bb-485a-8539-4c1507a741a7?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/9199c876-d5bb-485a-8539-4c1507a741a7?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