June 2022 Summaries
3 posts from Swarmia
Filter
Month:
Year:
Post Summaries
Back to Blog
The text discusses the limitations and drawbacks of using Git analytics to measure software development productivity, arguing that such metrics often misrepresent developer performance and can be detrimental to team dynamics. The author criticizes common metrics like code churn, commits per day, and code volume, pointing out that they fail to capture the true impact of development work and can lead to harmful comparisons among developers. Instead, the text advocates for focusing on business outcomes and using frameworks like the DORA metrics and the SPACE framework, which provide a more holistic view of productivity. It emphasizes the importance of continuous improvement and collaboration, suggesting that metrics should facilitate team discussions rather than serve as targets. The piece concludes by promoting Swarmia, a tool designed to enhance developer productivity through meaningful metrics and insights, and invites readers to engage with the platform through a demo or trial.
Jun 21, 2022
1,570 words in the original blog post.
Change failure rate, one of the four DORA metrics, is a key performance indicator for engineering organizations, often posing challenges in accurate measurement. It represents the percentage of changes leading to production failures that require remediation, and its importance lies in balancing speed and quality in software delivery. Calculating it involves dividing failed changes by total changes, excluding "fix-only" deployments to avoid skewed results. Common pitfalls include misclassification of incidents, inclusion of irrelevant data, and misinterpretation of deployment failures as change failures. Additionally, the metric's definition allows flexibility, which can lead to manipulative practices if not carefully managed. Despite its limitations, such as low granularity and variability in incidents, change failure rate is useful for prioritizing quality improvements and tracking engineering trends, though a deeper understanding of productivity may require insights beyond DORA metrics.
Jun 09, 2022
1,264 words in the original blog post.
Swarmia's blog post addresses common challenges faced when debugging with Apollo GraphQL's MockedProvider, particularly focusing on issues related to mocking in testing environments. Debugging difficulties arise from the lack of verbosity, precision requirements, and the absence of built-in tools to assert if all mocks were used. The post shares practical tips for enhancing the debugging process, such as using MockLink for logging, ensuring exact matches between mocks and queries, and verifying the correct queries are mocked. It highlights the importance of precise matching of query variables and the potential pitfalls of mounting multiple MockedProvider components simultaneously in React component trees. The guidance aims to make debugging more efficient and less error-prone, offering solutions like logging errors within components and using diffing tools to spot discrepancies. The post concludes by inviting readers to share additional tips for improving Apollo mocking practices.
Jun 03, 2022
1,768 words in the original blog post.