Skip to content

[MDS-7009] - Enhance/update error reporting features - #3993

Merged
matbusby-fw merged 4 commits into
developfrom
mds-7009-improve-error-logging
Sep 11, 2026
Merged

matbusby-fw merged 4 commits into
developfrom
mds-7009-improve-error-logging

Conversation

@matbusby-fw

@matbusby-fw matbusby-fw commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Objective

MDS-7009

Implemented enhanced error reporting features.

  • detailed error context
    • severity
    • description
    • recurrence information
  • integrating these details into emails, modals, and logs for improved troubleshooting and monitoring.
  • Changed log linking to Openshift/Loki in accordance with our newer architectural patterns

Here is a concise summary you can paste into your PR description:


Postgres Base Image Upgrade to Debian 12 (Bookworm)

  • Issue: Integration test workflows in CI started failing during the postgres Docker build because Debian 11 (Bullseye) reached End-of-Life (EOL) on September 7, 2026. Upstream security repositories for Bullseye expired, causing apt-get update to fail with exit code 100. The previous base image (postgis/postgis:16-3.5) was built on Debian 11 Bullseye and has not received an upstream Debian 12 release.
  • Fix:
    • Switched the base image in services/postgres/Dockerfile to the official postgres:16-bookworm (Debian 12).
    • Installed postgresql-16-postgis-3 and postgresql-16-postgis-3-scripts via apt directly alongside build dependencies, eliminating the need for repository snapshot pins or expired archive workarounds.
    • Modernized Dockerfile ENV syntax and cleaned apt package caches.
  • Validation:
    • Successfully built the image locally via docker compose -f docker-compose.ci.yaml build postgres.
    • Verified database startup, database initialization, and extension availability (PostGIS 3.6 and oracle_fdw 2.6.0 with Oracle Instant Client 21.6) inside a fresh container.
image image

Mat Busby added 4 commits September 10, 2026 13:05
…t details (severity, description, seen before), integrated into emails, modals, and logs.

Signed-off-by: Mat Busby <mat.busby@studio.ey.com>
… dependencies, and clean up package installation.

Signed-off-by: Mat Busby <mat.busby@studio.ey.com>
…sOptions` interface location and usage.

Signed-off-by: Mat Busby <mat.busby@studio.ey.com>
…ring success and error handling scenarios, notifications, and environment-specific adapters.

Signed-off-by: Mat Busby <mat.busby@studio.ey.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'bcgov-sonarcloud_mds_minespace-web'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@matbusby-fw matbusby-fw added the 👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback. label Sep 10, 2026
@alazar-aot
alazar-aot self-requested a review September 11, 2026 18:04
@matbusby-fw
matbusby-fw merged commit 3011af5 into develop Sep 11, 2026
19 of 20 checks passed
@matbusby-fw
matbusby-fw deleted the mds-7009-improve-error-logging branch September 11, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👍 Ready for review Pull request has been double checked by the author and is ready for comments and feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants