feat: persist blocked executor jobs

This commit is contained in:
john
2026-07-24 23:07:46 +08:00
parent d21c4849a9
commit bbb43f97a3
17 changed files with 649 additions and 26 deletions
@@ -198,6 +198,12 @@ test('orchestrator runtime probe reports sanitized service health', async () =>
service: 'memind-langgraph-orchestrator',
checkpoint: { kind: 'postgres', durable: true, password: 'must-not-pass-through' },
execution: 'observe-only',
executorGateway: {
dispatchImplemented: false,
executionEnabled: false,
store: { kind: 'postgres', durable: true, password: 'must-not-pass-through' },
adapters: [{ id: 'goosed', secret: 'must-not-pass-through' }],
},
ignoredSecret: 'must-not-pass-through',
}), {
status: 200,
@@ -214,6 +220,11 @@ test('orchestrator runtime probe reports sanitized service health', async () =>
assert.equal(requestedUrl, 'http://127.0.0.1:8093/ready');
assert.equal(runtime.serviceHealth.ok, true);
assert.equal(runtime.serviceHealth.details.checkpoint.durable, true);
assert.deepEqual(runtime.serviceHealth.details.executorGateway, {
dispatchImplemented: false,
executionEnabled: false,
store: { kind: 'postgres', durable: true },
});
assert.equal('password' in runtime.serviceHealth.details.checkpoint, false);
assert.equal('ignoredSecret' in runtime.serviceHealth.details, false);
});