View all articles

What are the implications of not using deployments.setPullServices in a monorepo setup?

Without deployments.setPullServices, team-level DORA stats such as Deploy frequency, Open to deploy, and Merge to deploy will likely be inaccurate. Org-level trends in commits, merges, and deploys should still be relatively accurate.

The main risk is service attribution. DX may treat every pull request merged since the previous deployment as part of the service deployment, even when some pull requests changed other services.

For guidance on choosing service identifiers and ownership mappings, see How should I set up the DX catalog for DORA metrics?. For best practices on how to structure deployments and use DX APIs effectively, see Setting up DORA metrics in DX.