microsoft / appcenter-cli

Command-line Interface (CLI) for Visual Studio App Center
https://appcenter.ms/
MIT License
582 stars 235 forks source link

Promote is promoting the oldest matching release not newest #1821

Closed nhannah closed 5 months ago

nhannah commented 2 years ago

Description

Promote is now promoting oldest codepush build for a given version

Repro Steps

  1. Create code push to staging
  2. Promote code push to release
  3. Create 2nd code push to staging
  4. Promote code push to production via cli (you will get an error)
  5. promote 2nd codepush to production via UI
  6. Create 3rd code push to staging
  7. Promote code push to production via cli

Expected behavior

Code push should promote the latest matching release, not the first.

Details

Upon completing step 7 the first code push, created in step 1, promoted in step 2, will now be in production, creating a regression. I believe this could be related to the #1179 fix as the timing coincides with the change and relates to the same.

seankwalker commented 2 years ago

+1, we're seeing the same issue

alexnekrashevich commented 2 years ago

Hello @nhannah!

We have already encountered some issues that are similar to yours. We hope that we will come with a solution quickly, and we will surely keep you informed on this! Thank you for your report!

seankwalker commented 2 years ago

Any updates here?

telmen commented 2 years ago

Any updates? we're facing the same issue.

cc @AnatolyPristensky

liaojiwei666 commented 1 year ago

any solution?

DmitriyKirakosyan commented 1 year ago

Hi guys, we are tracking this item on our board, but unfortunately no ETA yet.

DmitriyKirakosyan commented 5 months ago

As we do not have plans to fix this bug in the next year, I'm closing the issue.