feat: add executor gateway contracts

This commit is contained in:
john
2026-07-24 22:50:37 +08:00
parent 19706eb3a0
commit d21c4849a9
8 changed files with 647 additions and 0 deletions
+3
View File
@@ -7,6 +7,7 @@ import {
normalizeWorkflowName,
stableRolloutBucket,
} from './contracts.mjs';
import { listPhase3ExecutorAdapters } from './executor-gateway.mjs';
const CONFIG_TABLE = 'h5_orchestrator_admin_config';
const CONFIG_SCOPE = 'global';
@@ -301,6 +302,7 @@ export function createOrchestratorAdminConfigService(pool, {
...state,
runtime: runtimeState(state.config, env),
engines: engineCatalog(state.config),
executors: listPhase3ExecutorAdapters(),
};
},
@@ -333,6 +335,7 @@ export function createOrchestratorAdminConfigService(pool, {
...state,
runtime: runtimeState(state.config, env),
engines: engineCatalog(state.config),
executors: listPhase3ExecutorAdapters(),
...(probe ? { serviceHealth: await probeServiceHealth(state.config, { fetchImpl }) } : {}),
};
},