You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "eyal4D (via GitHub)" <gi...@apache.org> on 2026/08/09 13:28:32 UTC

[PR] Plugin for per-sub-project DORA metrics in a monorepo [devlake]

eyal4D opened a new pull request, #9037:
URL: https://github.com/apache/devlake/pull/9037

   Repos containing multiple logically separate projects (each deployed by its own CI job, PRs tagged by label) previously collapsed into a single set of DORA numbers, since DevLake's scope model is one-scope-per-repo.
   
   Adds a new metric plugin, monorepo, that runs after dora and attributes deployments (by CI job name) and merged pull requests (by label) to a configured sub-project, writing per-sub-project deployment and change lead time metrics to two new tables. Nothing existing is modified: dora and the core scope model are untouched, and PR coding/pickup/review time are reused from dora's own project_pr_metrics rather than recomputed.
   
   Includes unit tests, an e2e test with fixtures, and Grafana dashboards (mysql + postgresql) to view the output.
   


-- 
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: commits-unsubscribe@devlake.apache.org

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


Re: [PR] Plugin for per-sub-project DORA metrics in a monorepo [devlake]

Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh merged PR #9037:
URL: https://github.com/apache/devlake/pull/9037


-- 
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: commits-unsubscribe@devlake.apache.org

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


Re: [PR] Plugin for per-sub-project DORA metrics in a monorepo [devlake]

Posted by "itaispiegel (via GitHub)" <gi...@apache.org>.
itaispiegel commented on PR #9037:
URL: https://github.com/apache/devlake/pull/9037#issuecomment-6107151356

   @klesh could you approve the workflow runs on this PR? It's rebased onto current `main` (7137326f6) and conflict-free; checks are sitting at `action_required` since it's from a fork.
   
   Locally the plugin's unit and e2e suites pass, and `./core/...` + `./plugins/monorepo/...` build and vet clean against current main.


-- 
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: commits-unsubscribe@devlake.apache.org

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


Re: [PR] Plugin for per-sub-project DORA metrics in a monorepo [devlake]

Posted by "yaringalmor (via GitHub)" <gi...@apache.org>.
yaringalmor commented on PR #9037:
URL: https://github.com/apache/devlake/pull/9037#issuecomment-5468749126

   This feature works great! Just give that a try with github.
   
   ## Successful project
   <img width="1251" height="205" alt="image" src="https://github.com/user-attachments/assets/7c9e2d74-c212-48e0-b2fe-0b1c2013afc0" />
   
   ## Successful settings for sub-projects
   <img width="1262" height="792" alt="image" src="https://github.com/user-attachments/assets/250dd0db-6ecd-4292-ac09-e5f4d0b681e0" />
   
   ## New Sub-projects dashboard
   <img width="1360" height="764" alt="image" src="https://github.com/user-attachments/assets/af1853a6-0eb2-433d-9516-bd3a3ec221ee" />
   
   
   ## Properly integrated with both GitHub and GitLab
   <img width="1359" height="882" alt="image" src="https://github.com/user-attachments/assets/bf13a015-2386-4209-b80a-79513ef9ba78" />
   
   ## Properly affected by PR labels
   <img width="1216" height="193" alt="image" src="https://github.com/user-attachments/assets/c29ca741-47be-4b95-8c29-c0d401ee061d" />
   


-- 
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: commits-unsubscribe@devlake.apache.org

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