Skip to content

fix: Fase 0 — Estabilitat del Fork (7 stability patches)#1

Open
jaumemir wants to merge 1 commit into
mainfrom
fix/fase0-estabilitat
Open

fix: Fase 0 — Estabilitat del Fork (7 stability patches)#1
jaumemir wants to merge 1 commit into
mainfrom
fix/fase0-estabilitat

Conversation

@jaumemir
Copy link
Copy Markdown
Owner

Summary

Hardening pass resolving 7 stability issues identified in the enterprise roadmap (2026-04-26):

Test plan

  • cd backend && uv run pytest tests/ -v — 10 new tests green (1 pre-existing env failure acceptable)
  • cd frontend && npm run build — no errors
  • Manual: start a graph build → refresh browser mid-build → should show "Reconnecting to active task…" and resume polling
  • Manual: select files on Home → refresh MainView before files upload → should show friendly error and redirect to Home after 3s
  • Manual: start a simulation with large document → server RAM should not spike unboundedly

… reads

Replace `for line in f` iterator with `readline()`-based loop that checks
for a trailing newline before processing. Tracks `safe_position` only after
complete lines so partial writes from the subprocess never advance the read
pointer past unfinished data.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant