SDK 56 upgrade, Observability implementation in monorepo#143
Merged
Conversation
- Add package.json (zod-only runtime dep; vitest devDep) - Add tsconfig.json extending @FixIt/config - Add vitest.config.ts (node env, self-contained) - Runtime-neutrality gate: axios/@sentry/express/pino zero matches
Adopts a strict AppError taxonomy (RFC 9457) and centralizes error normalization, replacing ad hoc error message extraction and raw toasts with structured handling. Introduces a global logger that routes logs and breadcrumbs to monitoring, removing direct console usage. Integrates Sentry for error boundaries, user context, and navigation tracing, improving reliability and observability. Replaces inline error toasts with a single showError function that enforces UI consistency and suppresses errors that should be handled by screen states. Refactors all API, query, and mutation paths to use structured error conversion, ensuring all errors are mapped and deduped before surfacing to the user. Adds new reusable feedback components for forbidden, not found, and query error states. Cleans up legacy error helper code, updates dependencies, and improves Biome lint rules to prevent raw error toasts and console use outside logger. Lays groundwork for future i18n and advanced error mapping. Relates to LGUARD-02, PRIV-03, and monitoring plans.
Introduces a unified UI component kit for badges, avatars, alerts, skeletons, and text areas, replacing ad hoc implementations for improved consistency and maintainability. Enhances error handling by adopting a shared error package, improving error message mapping and reporting, and converting alert dialogs to toast notifications where appropriate. Adds structured logging and analytics throughout critical flows such as authentication, profile updates, booking, AI chat, and file uploads, with sensitive data scrubbing to support privacy and observability. Fixed supabase realtime not actually working
a centralized error middleware that returns RFC 9457 Problem Details JSON for all API errors, providing consistent fields (type, title, status, code, detail, userMessage, traceId, timestamp) across the stack. Refactors authentication, authorization, and validation flows to surface actionable user messages and problem tokens, and ensures compatibility with Sentry and structured logging. Removes unused controller exports and updates all route and test wiring accordingly. Greatly improves DX, error observability, and client-side error handling.
darkhyper24
approved these changes
May 27, 2026
Collaborator
darkhyper24
left a comment
There was a problem hiding this comment.
Ramadan review it @unminnn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes expo versions migration #145 , (observability) logging in frontend and backend #141