No description
Find a file
Claude d322cc3ce1
Fix: log viewer wipes itself due to auto-reload on deploy done
Two bugs causing 'can't see why deploy failed':
- showLog() called window.location.reload() on the SSE 'done' event,
  wiping the log panel before the user could read it.
- For already-finished deploys, SSE would immediately fire 'done' and
  reload, showing logs for < 1 second.

Fix:
- showLog() now fetches the deploy via REST first. If done, it renders
  the stored log directly (no SSE). If still running, it streams via
  SSE and closes without reloading when done.
- Added onerror fallback: re-fetches the log via REST if SSE drops.
- Status badge (green/red) updates inline instead of triggering reload.
- Page now auto-opens the latest deploy log on load so the failure
  reason is visible immediately without any clicking.

https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH
2026-03-19 08:57:01 +00:00
builder M1: Rust control plane, builder, dashboard, and infra 2026-03-19 08:25:59 +00:00
infra M1: Rust control plane, builder, dashboard, and infra 2026-03-19 08:25:59 +00:00
proxy M1: Rust control plane, builder, dashboard, and infra 2026-03-19 08:25:59 +00:00
server Fix: log viewer wipes itself due to auto-reload on deploy done 2026-03-19 08:57:01 +00:00
.env.example M1: Rust control plane, builder, dashboard, and infra 2026-03-19 08:25:59 +00:00
.gitignore Add .gitignore, remove target/ from tracking 2026-03-19 08:26:07 +00:00
Cargo.lock M1: Rust control plane, builder, dashboard, and infra 2026-03-19 08:25:59 +00:00
Cargo.toml M1: Rust control plane, builder, dashboard, and infra 2026-03-19 08:25:59 +00:00
plan.md Add MVP plan for self-hosted Heroku clone on Raspberry Pi 2026-03-19 07:38:17 +00:00