[codex] Fix dashboard box API contract drift#729
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughThis PR simplifies box state lifecycle by removing build-related states from UI and handlers, reorganizes box action mutations into focused hooks, adds dual-cache invalidation support to mutations, conditionalizes resource creation payloads, and updates runner metrics display. The changes span state constants, WebSocket handlers, mutation hooks, and component UI updates. ChangesBox lifecycle and UI consolidation
Box mutations and resource creation
🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Split
This PR is the frontend contract-fix layer. The Docker packaging work is stacked separately in #730.
Problem
The dashboard was still using several assumptions from the older API/SDK shape. Once the API/dashboard were built through the production path, those mismatches became hard build blockers.
What Changed
Why This Is Separate
This PR only makes the dashboard match the current generated API/SDK contract. It does not change Docker, Nx, SST, package layout, or runtime image packaging. That keeps the frontend compile fixes reviewable before #730 changes the build pipeline.
Validation
Result: dashboard typecheck and production build pass. Existing Vite/OpenTelemetry/chunk-size warnings still appear, but the build exits successfully.
Summary by CodeRabbit
New Features
Bug Fixes