picoclaw/web/backend
yinwm 1984bb5bbd fix(test): mock gateway health check in status tests
Two gateway tests were flaky due to race conditions:
- TestGatewayStatusReturnsRestartingDuringRestartGap
- TestGatewayRestartReturnsErrorStatusWhenReplacementFailsToStart

The handleGatewayStatus function calls getGatewayHealth which can
override the test's expected status. By mocking gatewayHealthGet
to return an error, the tests now reliably verify the expected
status values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 22:21:27 +08:00
..
api fix(test): mock gateway health check in status tests 2026-03-22 22:21:27 +08:00
dist feat(web): add agent management UI and improve launcher integration (#1358) 2026-03-11 18:37:00 +08:00
launcherconfig feat(web): migrate launcher to modular web frontend/backend and improve management UX (#1275) 2026-03-09 19:42:03 +08:00
middleware feat(web): implement macOS app feature and file logger (#1723) 2026-03-18 14:43:58 +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 refactor: centralize environment variable key constants (#1730) 2026-03-18 18:03:24 +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): implement macOS app feature and file logger (#1723) 2026-03-18 14:43:58 +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 add systray ui for all platform (#1649) 2026-03-17 14:12:32 +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 fix for feat(web): implement macOS app feature and file logger (#1735) 2026-03-18 18:00:14 +08:00
systray.go feat(web): implement macOS app feature and file logger (#1723) 2026-03-18 14:43:58 +08:00
systray_unix.go add systray ui for all platform (#1649) 2026-03-17 14:12:32 +08:00
systray_windows.go add systray ui for all platform (#1649) 2026-03-17 14:12:32 +08:00
tray_stub_nocgo.go fix(backend): add no-cgo tray fallback for darwin and freebsd (#1691) 2026-03-17 20:13:11 +08:00