fix(ql3): tolerate provider readiness convergence

This commit is contained in:
whyour
2026-08-25 03:30:34 +08:00
parent 931f9eee38
commit 2eb8b29e51
2 changed files with 17 additions and 3 deletions
@@ -390,6 +390,19 @@ test('retries only bounded transient provider evidence failures', async () => {
),
/invalid evidence schema/,
);
attempts = 0;
await assert.rejects(
retryProviderEvidence(
async () => {
attempts += 1;
throw new Error('{"code":"ECONNREFUSED"}');
},
async () => {},
),
/ECONNREFUSED/,
);
assert.equal(attempts, 8);
});
test('provider fixture logs only generation and authorization decision', () => {