forcedotcom / devops-center-feedback

61 stars 2 forks source link

Commit is hanging - stuck #259

Open HeathLongCBTS opened 1 year ago

HeathLongCBTS commented 1 year ago

Describe the bug I selected metadata (custom fields) for a workitem Metadata started being committed to the feature branch. There were about 100 fields that were supposed to go. Dev Ops center still has the spinning gif saying commit in progress. When I look at the commit in the feature branch, there are 5 of 100 fields that were committed. I am absolutely stuck - again.

To Reproduce Steps to reproduce the behavior:

  1. Create work item
  2. Select metadata (~100 fields)
  3. Commit ...

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here. Screenshot 2023-04-07 at 10 32 32 AM

renatoliveira commented 5 months ago

I faced a similar issue in my production instance with DevOps Center 6.3.0. What I did was to mark the issue as "never going to deploy". You can't do this from the UI because it is stuck, but you can do this from the API.

Use this to update your work item's state to "NEVERED". You'll lose it and have to go through the creation and commit process again, but at least you won't have a stuck Work Item anymore in your project.

Id wiid = 'a7BRQ0000003IRp2AM';
update new sf_devops__Work_Item__c(
Id = wiid,
    sf_devops__State__c = 'NEVERED'
);
msteinersalesforce commented 4 months ago

This is happening VERY REGULARLY for me. Almost daily, I'm waiting close to 15 minutes for a commit.

renatoliveira commented 4 months ago

This is happening VERY REGULARLY for me. Almost daily, I'm waiting close to 15 minutes for a commit.

Probably best to raise a case with Salesforce for them to check the Heroku dyno instance related to your Salesforce org. It might just be that something is wrong there, or you are somehow sharing a dyno with other customers that are making such heavy use of the DevOps center that the dyno takes that long to respond to your org's requests.