myxce/src/frontend/apiserver/backend
Rongsong Shen 5807a05cbb fix: address P0-2b review issues - build tag and actionType guard
1. Add //go:build !cgo to control_host_test.go so the stub-testing
   tests only run in non-CGO builds, matching the stub.go build
   constraint. Clean up dead nil check in SignatureCompiles test.

2. Replace two independent if-statements for actionType mapping in
   ControlHost with a map lookup + explicit guard, consistent with
   ControlQueue's ActionMap pattern. Prevents silent zero-value
   actionType if SupportedHostActions expands later.
2026-04-17 08:25:05 +00:00
..
auth Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
clib.go feat: P0-2b implement ControlHost via xcecli_hostctrl + fix allFlag race 2026-04-17 08:17:56 +00:00
config.go Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
control_host_test.go fix: address P0-2b review issues - build tag and actionType guard 2026-04-17 08:25:05 +00:00
convert.go feat: P0-1e expand handleConfigPush with host config and cluster dispatch 2026-04-16 11:25:03 +00:00
convert_pure.go feat: P0-1e expand handleConfigPush with host config and cluster dispatch 2026-04-16 11:25:03 +00:00
convert_test.go feat: P0-1e expand handleConfigPush with host config and cluster dispatch 2026-04-16 11:25:03 +00:00
handler.go refactor: make merge semantics explicit in OnHostConfigUpdated/OnClusterUpdated 2026-04-17 06:48:25 +00:00
handler_test.go feat: P0-1e expand handleConfigPush with host config and cluster dispatch 2026-04-16 11:25:03 +00:00
notification.go feat: P0-1e expand handleConfigPush with host config and cluster dispatch 2026-04-16 11:25:03 +00:00
stub.go submit job from xcecli 2026-04-14 15:55:52 +08:00