Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Handle exception when a work item has too many revisions #3491

Open
tevoinea opened this issue Sep 8, 2023 · 0 comments
Open

Handle exception when a work item has too many revisions #3491

tevoinea opened this issue Sep 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tevoinea
Copy link
Member

tevoinea commented Sep 8, 2023

Information

  • Onefuzz version: 8.8.0
  • OS: N/A

Provide detailed reproduction steps (if any)

Alert! An Exception Has Been Detected!




Exception Type:
Microsoft.VisualStudio.Services.Common.VssServiceException


Exception Count:
1


Operation Name:



Outer Message:
Work item 123 has 11123 revisions, but currently, when updating via the API, only work items with up to 10000 revisions are supported.


Inner Message:




Correlation ID:




Event Time [UTC]:

2023-09-08T00:08:33.7738353Z

Expected result

What is the expected result of the above steps?

This is being caused by too many updates (like comments and iteration count) on a work item. Retrying is not useful since the number of revisions won't go down.

We need to clone the work item, and hard delete the original. This way, we can continue updating it without hitting the revision limit.

AB#165440

@tevoinea tevoinea added the bug Something isn't working label Sep 8, 2023
@tevoinea tevoinea changed the title Ignore exception when a work item has too many revisions Handle exception when a work item has too many revisions Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants