Skip to content

Parity check: report unused lines of api-allowed.txt and empty the list to close #3098 - #3191

Merged
mathiasrw merged 1 commit into
mainfrom
fix/3098
Nov 30, 2026
Merged

mathiasrw merged 1 commit into
mainfrom
fix/3098

Conversation

@mathiasrw

Copy link
Copy Markdown
Member

Closes #3098

A line in api-allowed.txt is only needed until its pull request is merged. After that it matches no difference and hides a later change to the same path.

  • The compare lists every line that matched no difference. It is a report only and does not fail the check. A line becomes unused when its pull request is merged, so failing on it would stop the next, unrelated pull request.
  • All 89 lines are removed. Against the merge base d888c14 the new report names all 89 as unused. With the list empty the parity check passes with 0 differences over 83117 statements and 1724 API paths.

I also tried it on a recording with one added path. Without a line the check fails. With a line it passes, and an unrelated line next to it is reported as unused.

Merge after #3183. The two have no conflicts in either order.

@mathiasrw
mathiasrw merged commit e82aab0 into main Nov 30, 2026
28 checks passed
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.

Parity check: report lines of api-allowed.txt that matched no difference

1 participant