Skip to content

fix(console): clear errors for stale label corrections and bad scan regexes - #142

Merged
abhishekgahlot2 merged 2 commits into
mainfrom
fix/console-error-messages
Nov 19, 2026
Merged

abhishekgahlot2 merged 2 commits into
mainfrom
fix/console-error-messages

Conversation

@abhishekgahlot2

@abhishekgahlot2 abhishekgahlot2 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

A correction of a label someone already superseded now gets a 409 naming the newer label to correct instead. A scanner config with a regex that doesn't compile gets one 422 at patterns[i].regex with the regex's own reason, not a second misleading length error; very large or deeply nested regexes get the same 422 instead of a 500.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

…edes in a batch, and report re ValueErrors as regex errors
@abhishekgahlot2
abhishekgahlot2 merged commit 55eb8a2 into main Nov 19, 2026
6 of 7 checks passed
@abhishekgahlot2
abhishekgahlot2 deleted the fix/console-error-messages branch November 20, 2026 22:52
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