picoclaw/web/backend
wenjie 7bf6cbe1fa
fix(gateway): harden PID liveness handling and websocket proxy state (#2403)
- treat `EPERM` from `signal(0)` as “process exists” on Unix
- classify malformed PID files as invalid and auto-remove them during read
- keep cached `pidData` only for transient races and downgrade `running` to `stopped` when the tracked process is gone
- refresh PID data on WebSocket proxy requests and reject stale cached gateway state
- add regression tests for invalid PID files, status downgrade, on-demand PID loading, and stale proxy rejection
2026-04-07 16:34:42 +08:00
..
api fix(gateway): harden PID liveness handling and websocket proxy state (#2403) 2026-04-07 16:34:42 +08:00
dist refactor Config to add Version and migratable 2026-03-12 13:52:55 +08:00
launcherconfig feat(web): persist dashboard token in launcher config (#2304) 2026-04-03 14:54:27 +08:00
middleware unify all panic event to panic log file (#2250) 2026-04-01 23:26:49 +08:00
model feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
utils add pid file for gateway running and auth token for /reload and pico channel 2026-03-29 01:14:39 +08:00
winres feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
.gitignore feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
app_runtime.go feat(web): protect launcher dashboard with token and SPA login (#1953) 2026-03-29 13:11:43 +08:00
embed.go feat(web): implement macOS app feature and file logger (#1723) 2026-03-18 14:43:58 +08:00
embed_test.go feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
i18n.go feat(web): protect launcher dashboard with token and SPA login (#1953) 2026-03-29 13:11:43 +08:00
icon.ico feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
icon.png add systray ui for all platform (#1649) 2026-03-17 14:12:32 +08:00
main.go feat(web): persist dashboard token in launcher config (#2304) 2026-04-03 14:54:27 +08:00
main_test.go feat(web): persist dashboard token in launcher config (#2304) 2026-04-03 14:54:27 +08:00
systray.go feat(web): protect launcher dashboard with token and SPA login (#1953) 2026-03-29 13:11:43 +08:00
systray_icon_nonwindows.go refactor(web): clean up systray platform build files 2026-03-25 11:44:57 +08:00
systray_icon_windows.go refactor(web): clean up systray platform build files 2026-03-25 11:44:57 +08:00
systray_stub_nocgo.go refactor(web): clean up systray platform build files 2026-03-25 11:44:57 +08:00
tray_offers_copy.go feat(web): protect launcher dashboard with token and SPA login (#1953) 2026-03-29 13:11:43 +08:00
tray_offers_copy_stub.go feat(web): protect launcher dashboard with token and SPA login (#1953) 2026-03-29 13:11:43 +08:00