Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch: Backport noise reduction #257

Merged
merged 23 commits into from
Oct 11, 2024
Merged

Conversation

jonrandahl
Copy link
Contributor

@jonrandahl jonrandahl commented Oct 9, 2024

This PR brings the production hotfix for log noise reduction back onto the dev branch

jonrandahl and others added 14 commits September 16, 2024 15:45
…mpty-for-integer

Task: Release Candidate v1.7.9
Release v1.7.9 to Preprod
Release v1.7.9 to Production
Wrapped the Internal Error Instrumentation in an `unless` block to
  ensure the application does not report internal errors to the Prometheus  metrics when the error is a 404 or 422 thereby reducing the noise in the Slack  alerts channel
Added `RoutingError` and `MissingTemplate` to the list of exceptions to be caught by the `render_error_page` helper method in the `search_controller`; also configured the helper to display the actual rails stack trace in development mode
Added the `log_error` helper to the `render_error_page` helper method in the `search_controller` to apply the appropriate log level based on the status code
Removed `assets` call from `local` target alongside adding the ability to pass in the `API_SERVICE_URL` for local development; as well as removed unavailable `:unit` flag from `test` target and cleaned the echoed test message
@jonrandahl jonrandahl self-assigned this Oct 9, 2024
as `RoutingError` and `MissingTemplate` errors are caught by the application and not passed to the controller.
This was preventing all gems to be installed locally
As copy had changed in the code, the test required updating
As there are no system tests this command was not needed
@jonrandahl jonrandahl merged commit c32d57d into dev Oct 11, 2024
2 checks passed
@jonrandahl jonrandahl deleted the patch/backport-hotfix-release branch October 11, 2024 10:58
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.

3 participants