Skip to content

fix(dora): ignore seed deployments in change lead time lookup#8929

Open
bujjibabukatta wants to merge 1 commit into
apache:mainfrom
bujjibabukatta:fix/#8790
Open

fix(dora): ignore seed deployments in change lead time lookup#8929
bujjibabukatta wants to merge 1 commit into
apache:mainfrom
bujjibabukatta:fix/#8790

Conversation

@bujjibabukatta

Copy link
Copy Markdown
Contributor

Fixes #8790.

This updates the DORA change lead time deployment lookup so seed deployments are not used as valid deployment references for historical merge requests. The query now requires the deployment to have an actual previous deployment commit and joins commits_diffs against that previous commit SHA, instead of treating an empty previous commit as a valid range boundary.

This prevents the first recorded deployment for a project from being associated with old MRs when historical MR data exists but historical deployment data does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][DORA-change_lead_time_calculator] Wrong deployment reference

1 participant