forcedotcom / forcedotcom/devops-center-feedback

Stalled commit: Error encountered when updating Async Operation Result status to Completed/Error

Open
#287 0 comments 2 reactions 0 assignees View on GitHub
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**
image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.