Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate commits and work items are contributed to deployment changes #8757

Closed
shaun-od opened this issue May 1, 2024 · 2 comments
Closed
Assignees
Labels
kind/bug This issue represents a verified problem we are committed to solving

Comments

@shaun-od
Copy link

shaun-od commented May 1, 2024

Severity

No response

Version

Probably since Build Information was introduced

Latest Version

I could reproduce the problem in the latest build

What happened?

Duplicate commits and work items from build information can be added to a deployment record when a project contains releases that have not been deployed from the last deployment.

Reproduction

  1. Create a deployment process that references packages.
  2. Add build information to those packages that contain commits (and if you want work items references a work item Fixes #1 with a work issue tracker enabled.
  3. Create a release and deploy it to an environment.
  4. Create 1 or more releases with a version numbers that are after the first release, and don't deploy them.
  5. Create another release with a version number later than all the above releases and deploy it

The deployment for the last release will contain duplicate commit and work items

Error and Stacktrace

No response

More Information

No response

Workaround

No response

@shaun-od shaun-od added the kind/bug This issue represents a verified problem we are committed to solving label May 1, 2024
@shaun-od shaun-od closed this as completed May 7, 2024
@octoreleasebot
Copy link

Release Note: Release changes in a single deployment record no longer contain duplicate commit and work items for a package.

@Octobob
Copy link
Member

Octobob commented May 16, 2024

🎉 The fix for this issue has been released in:

Release stream Release
2024.2 2024.2.7747
2024.3+ all releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

3 participants