Azure / Azure/azure-sdk-tools

[APIView] Convert PR Revision to Automatic instead of maintaining one of each

Open
#8,634 1 comment 1 reaction 0 assignees View on GitHub
APIView
Dominant language
C#
Stars
135
Forks
260
Avg merge
1d 22h
Merged PRs (30d)
115

Description

Currently when a PR API Revision is merged into main, the PR Revision is retained AND an Automatic (from Main/source of truth) revision is created. To avoid this duplication, we should convert the PR Revision to an Automatic Revision via flag in the database. Once the PR Revision is converted to Automatic it will be locked and cannot be deleted.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how PR API Revisions are merged into main and where the revision type is stored in the database. Verify the conversion preserves the revision while marking it Automatic and prevents deletion afterward; no files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.