Skip to content

Better revert detection#20

Merged
RomainCscn merged 3 commits intomainfrom
romain/revert-depth-parsing
Mar 2, 2026
Merged

Better revert detection#20
RomainCscn merged 3 commits intomainfrom
romain/revert-depth-parsing

Conversation

@RomainCscn
Copy link
Collaborator

@RomainCscn RomainCscn commented Feb 27, 2026

Replaces binary revert detection (revert-\d+- regex) with depth-aware parsing. Fixes two bugs:

  • revert-of-revert incorrectly blocked
  • message-only reverts with magic words incorrectly added (e.g. Revert "Fixes LIN-XXX")

Fixes LIN-61270

@linear-code
Copy link

linear-code bot commented Feb 27, 2026

Base automatically changed from romain/extract-scan-module to main March 2, 2026 08:24
@RomainCscn RomainCscn force-pushed the romain/revert-depth-parsing branch from 89a2b14 to ef59134 Compare March 2, 2026 08:25
@RomainCscn RomainCscn merged commit 168098a into main Mar 2, 2026
2 checks passed
@RomainCscn RomainCscn deleted the romain/revert-depth-parsing branch March 2, 2026 08:26
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.

2 participants