forcedotcom / devops-center-feedback

61 stars 2 forks source link

Work Item Stuck in Promotion #230

Open supergajit2 opened 1 year ago

supergajit2 commented 1 year ago

Describe the bug Once a work item is selected for promotion and has gone through the retrieving, running of tests, etc. and reaches the Pushing phase, the Work Item becomes stuck in Promotion.

To Reproduce Steps to reproduce the behavior:

  1. Create a Work Item
  2. Select components to add to the Commit
  3. Commit the changes.
  4. Click Create Review
  5. Move the Ready to Promote slide to green.
  6. Go to the pipeline.
  7. Select the Work Item and choose Promote Selected.
  8. Run with or without Apex tests (I've had items get stuck that contained only code, only flows, or a combination of types)
  9. Watch the UI update from retrieving through other status/phases of promotion and once it reaches this point it gets stuck: image

Expected behavior The promotion process completes successfully and the UI allows the user to continue with the process of moving Work Items through the pipeline

Screenshots image

Additional context This is blocking our team from further testing of DevOps Center. We were able to promote and deploy several work items up until this problem started occurring yesterday afternoon (Nov. 10, 2022). The components do get deployed to the Dev environment, but we can no longer continue promotion or deployment through the UI and must revert to our previous process with VS Code, DX, GitLabs.

geomuck commented 1 year ago

Sorry for the trouble @supergajit2 !

Can you please tell me if the branch in source control for the Dev stage also got properly updated with the metadata from the WI-000035 work item?

And can you please post your organization ID for the DevOps Center org? Or if you're not comfortable sharing it here, please DM it to me in the Trailblazer Community: https://trailhead.salesforce.com/trailblazer-community/groups/0F94S000000GuygSAC?tab=discussion&sort=LAST_MODIFIED_DATE_DESC

Thank you!

supergajit2 commented 1 year ago

@geomuck I just sent you a DM with the org ID. The latest WI is #36. The branch is merged: image I also see the flows from WI-36 in the Dev Branch: image It seems to work in the background but in the pipeline in DevOps Center it just spins and if I don't go in to the SF objects and manually mark it NEVERED and delete the WI records related promotion records it will end up like this : image