Small fixes batch: ErrorBoundary, race guard, SSE onerror, Pydantic validation, error state - #74
Merged
Conversation
…alidation, error state - ErrorBoundary wraps App to prevent blank-screen crash on uncaught JS errors - Dashboard polling skips if previous fetch is still inflight (race condition fix) - SSE onerror handler pushes a disconnected event to the activity log - Added errored state + banner when dashboard fetch fails - FaultIn.fault_code requires min_length=1, added max_length to all input models - _load_roster wraps JSON parse in try/except to avoid 500 on corrupt file
sys.exit(1) at import time broke scripts that import settings but don't use the LLM (e.g. run_pdf.py). The existing per-function fallbacks already handle missing keys gracefully.
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.
Summary
Batch of small, focused fixes across frontend and backend.
Changes
Frontend
Backend