fix: pre-landing review fixes

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-31 14:20:14 +00:00
1 parent 034b00aa66
commit 8daf48d5ea
1 file changed
+2 -1
+2 -1
View File
@@ -259,6 +259,7 @@ test('pings after the last SDK event show a live connection; a silent socket sho
const event = JSON.parse(diagnostics.mock.calls[0]![0]);
expect(event).toMatchObject({ type: 'llm-judge-aborted', httpStatuses: [200], block: 'thinking', thinkingChars: 0, textChars: 0,
messageId: 'msg_quiet', bytesReceived: opened + pings * ping.byteLength });
expect(event.lastByteMs).toBeGreaterThanOrEqual(event.lastEventMs); // gstack-timing-ok: ordering of two recorded offsets, not an elapsed-time bound
if (pings) expect(event.lastByteMs).toBeGreaterThanOrEqual(event.lastEventMs); // gstack-timing-ok: ordering of two recorded offsets, not an elapsed-time bound
else expect(event.lastByteMs).toBeLessThanOrEqual(event.lastEventMs); // gstack-timing-ok: the last byte is counted before the SDK parses it
}
});