🌳
pt0/deployF/k8sF/resourceActionWinsAI.mts
4// built-in resource action handles the action only when no composed action is registered —
5// app-registered extraActions (e.g. mkTestdeploy) take precedence. Without this guard, adding an
6// action name to coreResourcesActionsH hijacks composed dispatch (testdeploy regression, 2026-07-24)
7export const resourceActionWins = (action: string) => {
8 return isActionSupported(action) && !getDeployActions()[action]
9}