9router/open-sse
Simon Shi 935462ce8f test(qoder): add regression coverage for review-fix changes
Adds 18 new tests covering the bugs fixed in the previous commit so they
can't silently regress:

- parseExpiry (7 tests): numeric ms-epoch input, numeric strings handled
  before Date.parse so "1700000000" doesn't get year-interpreted, RFC3339
  strings, expires_in:0 honored as already-expired, 30-day fallback only
  when both inputs are missing/invalid

- normalizeMessages (4 tests): system hoisting, multipart text flatten,
  multiple system joining, empty input

- wrapQoderSSE (6 tests): the fixed cases — trailing partial line drained
  in flush(), no chunks forwarded after [DONE], embedded newlines stripped
  from inner body, error envelope produces error chunk + [DONE], non-ok
  responses returned unchanged

- expose parseExpiry from auth.js, expose normalizeMessages/wrapQoderSSE
  via __test__ from the executor (internals only — not part of the public
  API). Marked with comment so the surface is intentional.

42 tests total (24 original + 18 new). Build still clean.
2026-05-29 17:36:27 +07:00
..
config feat(qoder): port Kiro-style provider integration with COSY signing 2026-05-29 17:36:27 +07:00
executors test(qoder): add regression coverage for review-fix changes 2026-05-29 17:36:27 +07:00
handlers fix(embeddings): forward Gemini output dimensions (#1366) 2026-05-23 09:23:26 +07:00
rtk feat(rtk): add Kiro format support for tool result compression (#1194) 2026-05-17 15:13:37 +07:00
services fix(qoder): address review findings 2026-05-29 17:36:27 +07:00
transformer feat: enhance request handling and error management in chatCore and streamToJsonConverter 2026-02-15 12:02:53 +07:00
translator Fix codex 2026-05-26 11:35:39 +07:00
utils Fix Bug 2026-05-26 23:09:19 +07:00
.npmignore Update jsconfig.json and package.json to correct open-sse path references from relative to local directory. 2026-01-05 10:37:09 +07:00
index.js Refactor config 2026-03-12 16:20:46 +07:00