thoughtworks / metrik

An easy-to-use, cross-platform measurement tool that pulls data out of CD pipelines and analysis the four key metrics for you.
MIT License
354 stars 87 forks source link

fix sync failed error while fetching commits of deleted branch #121

Closed ATPEEE closed 2 years ago

ATPEEE commented 2 years ago

Our team fix sync failed error following the ideas below: https://github.com/thoughtworks/metrik/issues/114#issuecomment-1140765521

Also, we refactor GithubPipelineService. The picture below shows that the GithubPipelineService has been divided into several independent services but retain the same functions. Therefore, we add unit tests according to new services and fix the original GithubPipelineServiceTest

WeChatWorkScreenshot_b00388a9-c06f-413d-a35f-1a7afff5b586