0f90ef6f5cd3f7ca62f713f261a706ed8a020636
- Add partial unique index on (project_id, port) for active dev servers so the SELECT-then-INSERT race can no longer create duplicate 'Port 3000' rows. - Make startDevServer race-safe: on unique violation, adopt the winning row instead of duplicating. - ensure route no longer marks a server 'running' before it binds the port; the readiness probe flips starting->running only after the port answers. Kills the '502 -> broken CSS -> works' refresh loop. - Deduplicate previews per-port in sortDevPreviewsFrontendFirst as a defensive backstop for the dropdown. - Revert iframe _refresh query-param hack (was forcing cold recompiles).
vibn-code
@ 8c1c14de0b
Description
No description provided
Languages
HTML
45.8%
TypeScript
30%
JavaScript
10.9%
Python
7.6%
CSS
4.7%
Other
0.9%