Skip to content

Proper revert extraction#21

Open
RomainCscn wants to merge 1 commit intoromain/revert-depth-parsingfrom
romain/revert-extraction
Open

Proper revert extraction#21
RomainCscn wants to merge 1 commit intoromain/revert-depth-parsingfrom
romain/revert-extraction

Conversation

@RomainCscn
Copy link
Collaborator

@RomainCscn RomainCscn commented Feb 27, 2026

Main thing this PR is doing:

  1. Revert extraction — New extractRevertedIssueIdentifiersForCommit function that unwraps revert layers and extracts the identifiers being reverted.
  2. Last-write-wins aggregationscanCommits processes commits oldest-first; for each identifier, the chronologically last action (added or reverted) determines the final state. The result is sent to the API as issueReferences + revertedIssueReferences.

Fixes LIN-61281

PR to handle this in the API:

@RomainCscn RomainCscn force-pushed the romain/revert-extraction branch from 69271fc to 083c773 Compare February 27, 2026 14:54
@linear-code-review
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant