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: Hotfix backport #256

Merged
merged 21 commits into from
Oct 11, 2024
Merged

Patch: Hotfix backport #256

merged 21 commits into from
Oct 11, 2024

Conversation

jonrandahl
Copy link
Contributor

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

jonrandahl and others added 12 commits September 17, 2024 12:48
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
Copy link
Contributor

@joescottdave joescottdave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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 592a468 into preprod Oct 11, 2024
2 checks passed
@jonrandahl jonrandahl deleted the patch/backport-hotfix-update branch October 11, 2024 10:59
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