fix(coding): close PI-100 review findings

This commit is contained in:
2026-08-23 20:55:49 +08:00
parent 22b4a9f9c4
commit 52b2467d5d
16 changed files with 679 additions and 122 deletions

View File

@@ -133,7 +133,10 @@ describe('Pi runtime Provider authentication recovery', () => {
text: 'Do not leak credentials',
attachments: [],
})).rejects.toMatchObject({
code: 'PI_RPC_RESPONSE_ERROR',
publicError: {
code: 'CODING_PROVIDER_AUTH_REQUIRED',
recoverable: true,
},
});
await expect.poll(() => workers.length).toBe(2);