build-time-blame-plugin icon indicating copy to clipboard operation
build-time-blame-plugin copied to clipboard

Can't access configuration page after adding a too broad regex line

Open evanvin opened this issue 1 year ago • 2 comments

Describe the bug I added a regex search key that may have been too inclusive, and now when I try to access the Build Time Blame Report page, it tries to load, and after a while craps out.

To Reproduce Steps to reproduce the behavior:

  1. Go to the Build Time Blame Report page
  2. Add a new Regex Search Key regex that is too broad (something like .* [I did not use that one, but can't show the exact one i used for security purposes])
  3. Click on Reprocess Report button
  4. Page hangs, and eventually dies

Expected behavior I would've liked to see some error message saying "regex too inclusive, please reconfigure or remove the problem Regex Search Key"

Additional context Our system admin is able to go into the job-specific config json file and delete the specific problem Regex Search Key manually, but can there be something that can be added to short circuit reprocessing of the report and just show an error message like suggested above?

evanvin avatar Nov 01 '23 17:11 evanvin