qwen-code/packages
Shaojin Wen d0cd5520d8
test(review): single-encode the diff-read fixture and pin the failed-read gate (#9539)
* test(review): single-encode the diff-read fixture and pin the failed-read gate

Two follow-ups to the diff-read pin added in #9484:

- The fixture's launch line was `JSON.stringify(...)` before the trailing
  `.map((r) => JSON.stringify(r))` encoded it a second time, so
  `parseTranscript` parsed a bare string and dropped it — `launchPrompt`
  was silently `''`. Make it a plain object literal like its siblings, and
  assert `launchPrompt` so the encoding can't regress unseen.
- Add a FAILED (`response: { error }`) read of the diff to the fixture and
  assert `diffToolCalls` stays 1 and `diffReads` stays `[[1, 40]]`. Hoisting
  the counter out of the `!isErrorPart` branch — which otherwise ships green
  across the whole suite — would credit a denied read as a diff read.

* test(review): pin the failed-read gate on the evidence arg lists (#9539)
2026-08-20 12:22:50 +00:00
..
acp-bridge feat(web-shell): adopt canonical Goal v3 controls (#9393) 2026-08-20 12:19:05 +00:00
audio-capture chore(ci): Drop NPM_TOKEN in favor of npm Trusted Publishing (#9552) 2026-08-20 08:31:41 +00:00
channels chore(ci): Drop NPM_TOKEN in favor of npm Trusted Publishing (#9552) 2026-08-20 08:31:41 +00:00
chrome-extension chore(release): v0.21.11 (#9054) 2026-08-13 05:41:43 +00:00
cli test(review): single-encode the diff-read fixture and pin the failed-read gate (#9539) 2026-08-20 12:22:50 +00:00
core feat(web-shell): adopt canonical Goal v3 controls (#9393) 2026-08-20 12:19:05 +00:00
cua-driver chore(cua-driver): sync upstream v0.17.0 (#8564) 2026-08-05 07:00:36 +00:00
desktop fix(desktop): reserve scrollbar gutter so sidebar rows don't jitter (#9073) 2026-08-13 10:00:25 +00:00
desktop-shell feat: consolidate Local Control into one daemon-owned implementation (#9106) 2026-08-17 16:44:48 +00:00
mobile-mcp chore(release): v0.20.1 (#7461) 2026-07-22 02:00:22 +00:00
sdk-java fix: add structured error code to SessionNotFoundError for session-closing retry (#8884) 2026-08-11 13:01:25 +00:00
sdk-python fix(core): resolve Qwen 3.8 reasoning budget conflicts (#8525) 2026-08-12 01:49:01 +00:00
sdk-typescript feat(web-shell): adopt canonical Goal v3 controls (#9393) 2026-08-20 12:19:05 +00:00
vscode-ide-companion feat(telemetry): link daemon HTTP request spans to inbound W3C traceparent (#9391) 2026-08-19 12:21:49 +00:00
web-shell feat(web-shell): adopt canonical Goal v3 controls (#9393) 2026-08-20 12:19:05 +00:00
web-templates feat(webui): add global expand/collapse control to exported HTML viewer (#9367) 2026-08-18 13:19:22 +00:00
webui feat(web-shell): adopt canonical Goal v3 controls (#9393) 2026-08-20 12:19:05 +00:00
zed-extension chore(deps): upgrade ink 6.2.3 → 7.0.2 + bump Node engine to 22 (#3860) 2026-05-11 17:29:50 +08:00