deepseek-harness/packages/core/tools/tests
Tianyi Cui 1b29273f12 fix: reach quiescence even when the runtime rejects (agent review)
[P1] review finding: the run-scoped abort + queue drain ran only after
runtime.run() FULFILLED, so a backend that starts a binding call and
then throws left the sub-dispatch running past run_code's settlement —
its tool/code-dispatch event could append after the parent call
returned, breaking the drain-before-return contract. The quiescence
pair now lives in a finally around runtime.run(); the folded queue tail
keeps the drain from masking the thrown error. Pinned by a test whose
fake runtime fails mid-flight: pre-fix it returns in milliseconds with
the slow tool still running.
2026-07-08 22:03:27 +08:00
..
code-mode.spec.ts fix: reach quiescence even when the runtime rejects (agent review) 2026-07-08 22:03:27 +08:00
gen-tool-catalog.spec.ts feat: Code Mode — the registry's mode config, the SDK codegen, and the run_code bridge 2026-07-08 12:58:23 +08:00
json-schema.spec.ts fix review findings: own-property and plain-JSON discipline in the schema subset 2026-07-07 21:07:54 +08:00
properties.spec.ts Reorganize packages into a modular hierarchy 2026-06-20 22:55:20 +08:00
tools.spec.ts refactor(llm): drop the inert request knobs — prefill and strict 2026-07-04 18:38:39 +08:00
ts-types.spec.ts feat: Code Mode — the registry's mode config, the SDK codegen, and the run_code bridge 2026-07-08 12:58:23 +08:00