-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Labels
APIViewIssues related to APIView core functionality or UIIssues related to APIView core functionality or UICentral-EngSysThis issue is owned by the Engineering System team.This issue is owned by the Engineering System team.
Description
APIview deleted blobs from codefile and originals but it did not remove revision details from cosmos DB. This has caused an issue when automatic API review attempts to compare API surface with previous revisions and failed the request when code file blob does not exist for a revision.
Scenario:
- APIView gets a request to check against existing revision and create a new revision if required on automatic API review for a package.
- APIView automatic review handler deletes all pending revisions starting from most recent if there are no comments on that revision. This is done to keep the number of pending revisions as less as possible.
- For some reasons, API view deletes blobs successfully but fails to delete entry from cosmos DB or gets a false positive success when deleting entry from cosmos
- Automatic review handler further goes ahead and attempts to compare API surface from incoming request against all existing API revisions and this fails due to missing blob in code file and this returns failure to caller of REST API as well.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
APIViewIssues related to APIView core functionality or UIIssues related to APIView core functionality or UICentral-EngSysThis issue is owned by the Engineering System team.This issue is owned by the Engineering System team.
Type
Projects
Status
✅ Done