feat: persist blocked executor jobs
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user