Commit Graph

15 Commits

Author SHA1 Message Date
bf14ba4ba1 new event API 2026-02-15 08:36:58 -08:00
Chris Wanstrath
4a31d7bb69 tunnels 2026-02-12 16:24:45 -08:00
Claude
2f4d609290
Fix app rename failing with "port is taken" error
renameApp() killed the old process with .kill() but didn't wait for it
to actually exit before restarting on the same port. The OS still had
the port bound, causing the new process to fail with "port is taken".

Additionally, the old process's exit handler would fire after the rename
and corrupt the app's state—releasing the new process's port, setting
state to 'invalid', and nullifying the proc reference.

Fix by:
- Making renameApp async and awaiting proc.exited before proceeding
- Guarding the exit handler to bail out when a newer process has taken over

https://claude.ai/code/session_01W9GF8Cy7T6V2rnVcoNd1Nc
2026-02-12 16:13:59 +00:00
Chris Wanstrath
d94a4421f9 integrated cron logs, cron cli 2026-02-10 11:12:57 -08:00
Chris Wanstrath
d6ae39ac15 global env variables 2026-02-09 10:50:21 -08:00
0d572b4b5d share pids, proxy api 2026-02-04 08:54:35 -08:00
a58c42e0d4 dotenv support 2026-02-01 23:27:22 -08:00
f3040abc5d persistent logs 2026-02-01 22:15:25 -08:00
a81d61f910 simplify server 2026-02-01 21:40:32 -08:00
a56af4ed47 versions, rollback, clean 2026-01-30 22:13:34 -08:00
Chris Wanstrath
bde7a2c287 tools! 2026-01-30 16:59:32 -08:00
Chris Wanstrath
557ea669fb fix toes new templates 2026-01-30 15:26:58 -08:00
32e52a030f rename 2026-01-29 23:53:37 -08:00
b7bda052e9 new and create (push) 2026-01-29 19:52:42 -08:00
714ed14581 split up some modules 2026-01-29 18:15:55 -08:00