forcedotcom / forcedotcom/devops-center-feedback
Stalled commit: Error encountered when updating Async Operation Result status to Completed/Error
- Dominant language
- No language data
- Stars
- 61
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Error encountered when doing fix for stalled commit. Per [documentation](https://help.salesforce.com/s/articleView?id=sf.devops_center_commit_stalled.htm&type=5), we should query for Async Operation Result record with In Progress status and update it to either Completed/Error. Followed this step but encountered this error:
`sf_devops.AsyncOperationResultCleanup: execution of AfterUpdate caused by: System.QueryException: Aggregate query has too many rows for direct assignment, use FOR loop External entry point (System Code)`
Steps to reproduce the behavior:
1. Navigate to the Async Operation Result record with status = In Progress
2. Update status to either Completed or Error
**Expected behavior**
Status should be updated to either Completed or Error
**Screenshots**
Contributor guide
Assessment
This issue has not been assessed yet.