refactor: package-own watchdog orchestrator entrypoint
This commit is contained in:
@@ -313,13 +313,13 @@ test('executeGovernanceContract exposes deployment binding when profile artifact
|
||||
...strictProfile.spec,
|
||||
bindings: {
|
||||
runtime: 'openclaw',
|
||||
entrypoint: 'scripts/watchdog_auto_notify_orchestrator.mjs',
|
||||
entrypoint: 'plugins/reporting-governance/scripts/watchdog_auto_notify_orchestrator.mjs',
|
||||
scripts: {
|
||||
watchdog: 'scripts/long_task_watchdog.mjs',
|
||||
dispatcher: 'scripts/operator_notify_dispatcher.mjs',
|
||||
bridgeSupervisor: 'scripts/operator_notify_bridge_supervisor.mjs',
|
||||
senderBinding: 'scripts/operator_notify_sender_binding.mjs',
|
||||
orchestrator: 'scripts/watchdog_auto_notify_orchestrator.mjs'
|
||||
watchdog: 'plugins/reporting-governance/scripts/long_task_watchdog.mjs',
|
||||
dispatcher: 'plugins/reporting-governance/scripts/operator_notify_dispatcher.mjs',
|
||||
bridgeSupervisor: 'plugins/reporting-governance/scripts/operator_notify_bridge_supervisor.mjs',
|
||||
senderBinding: 'plugins/reporting-governance/scripts/operator_notify_sender_binding.mjs',
|
||||
orchestrator: 'plugins/reporting-governance/scripts/watchdog_auto_notify_orchestrator.mjs'
|
||||
},
|
||||
artifact_roots: {
|
||||
queueItems: 'state/operator-notify-queue'
|
||||
@@ -344,7 +344,7 @@ test('executeGovernanceContract exposes deployment binding when profile artifact
|
||||
});
|
||||
|
||||
assert.equal(result.preflight.status, 'pass');
|
||||
assert.equal(result.deploymentBinding.entrypoint, path.resolve(repoRoot, 'scripts/watchdog_auto_notify_orchestrator.mjs'));
|
||||
assert.equal(result.deploymentBinding.scripts.dispatcher, path.resolve(repoRoot, 'scripts/operator_notify_dispatcher.mjs'));
|
||||
assert.equal(result.deploymentBinding.entrypoint, path.resolve(repoRoot, 'plugins/reporting-governance/scripts/watchdog_auto_notify_orchestrator.mjs'));
|
||||
assert.equal(result.deploymentBinding.scripts.dispatcher, path.resolve(repoRoot, 'plugins/reporting-governance/scripts/operator_notify_dispatcher.mjs'));
|
||||
assert.equal(result.deploymentBinding.artifactRoots.queueItems, path.resolve(repoRoot, 'state/operator-notify-queue'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user