Stop tracking noisy InvalidConstraintError in sentry
What does this MR do and why?
Remove sentry tracking for SemverDialects::InvalidConstraintError: invalid constraint
error when caused by user input.
When a user provide an SBOM report with component version that is invalid or not supported by our SemverDialects
gem, this erorr is raised. There are legitimate use cases for raising the error and alerting the development team, though this specific one is not relevant.
We won't address each invalid or unsupported version sumbitted in SBOMs, and this is currently causing a lot of noise in our error reporting system. See #481980 (closed).
Instead these types of errors should be surfaced in the UI to provide feedback to the user (See Highlight invalid and missing versions in Depen... (#464007)). Eventually, gitlab issues could be created to add support for legitimate version syntax we should support.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.