Files
deepseek-harness/packages/test-support
imccyu e2e0af8159 build(deps): upgrade the client to React 19 (#9217)
* build(deps): upgrade the client to React 19

Raise react and react-dom to ^19.3.1 in every workspace manifest and the
root @types/react and @types/react-dom to 19.3, then regenerate the
lockfile on the current master. The website keeps the React 18 optional
peer of @docsearch/react 3.8.2, whose peer range excludes React 19.

Refs #9214

* fix(client): adopt React 19-only ref types and coverage arm

These adaptations compile or cover only under React 19:

- RefObject replaces MutableRefObject, which @types/react 19 deprecates;
  RefObject.current is writable only in the React 19 types.
- Tooltip excludes its React 18 element.ref arm from coverage instead of
  the React 19 props arm, which now always runs, and writes an object
  ref through RefObject.
- THIRD_PARTY_NOTICES.md takes the React 19.3.1 repository URL.

Refs #9214

* docs(upgrade-guide): describe the React 19 client runtime

Client plugins receive React 19 from the shared module table and compile
against React 19 types; the guide lists the runtime and type changes
plugin authors must handle and the new test-runtime peer range.

Refs #9214

* test(ui-directory-picker-browse): wait for the passive refocus after a failed pick

The browser re-parks focus on the edit zone in a passive effect after the
commit that shows the failure alert. The test asserted focus right after
the alert appeared, so on Windows CI under React 19 it could run before
the effect. It now waits for the focus.

Refs #9214
2026-11-27 02:45:21 +08:00
..
2026-11-22 15:27:28 +08:00
2026-11-22 15:27:28 +08:00
2026-11-22 15:27:28 +08:00

description, kind
description kind
The test-support group map: keyless test harnesses, LLM mock and replay servers, and Loader smoke helpers for developers writing and running repository tests. package-group

packages/test-support

English | 中文

Summary

The test-support group gives repository tests deterministic, keyless ways to exercise the real product. It includes Loader application harnesses, session-log snapshot adapters, a replay LLM plugin, and a scriptable OpenAI-compatible fault server. Each package is support-tier infrastructure; a package moves out of this group when it gains a product contract and product consumers.

Table of Contents


Packages

Package Role
session-snapshot Provides session-log snapshot support and protocol adapters for profile-driven tests
agent-loop-testkit Provides the shared prerequisite services for tests that exercise the concrete AgentLoop
tool-testkit Defines tool fixtures and exercises invocation or root registry behavior in tests
client-runtime Provides the jsdom slot test bench for browser feature specs
remote-mock Provides the endpoint-named Typert Remote mock and the Connection carrier face whole-client specs install
loader-smoke Boots Loader-composed applications and drives fixture turns for smoke tests
llm-mock-server Provides a scriptable OpenAI-compatible fault server for recovery tests
llm-replay Replays recorded model streams for keyless tests and demos

  • Testing policy — the keyless snapshot tier these harnesses serve and when it is required.
  • Package groups — how support groups relate to the product groups.

Dev Note

Working context for maintainers — click to expand

None.