deepseek-harness/apps/cli/tests
Tianyi Cui 9edf1b9f10 fix(python-sdk): harden profile runtime startup
Resolve packaged profile proxies with Node ESM import conditions from each package installation, and fail loud when an explicit runtime export or legacy main entry is missing. Serialize the shared profile fallback under the existing cross-process writer lock so concurrent dsh processes cannot observe partial proxies; either carrier now replaces the other carrier’s managed entry without manual cleanup.

Give Python initialize its own 10-second default bound and name the selected profile in timeout diagnostics, while leaving ordinary agent turns unbounded by default. Package the dynamically resolved web frontend and skill-badge assets so the runtime wheel’s normal dsh profiles do not depend on pkg static-discovery accidents.

Rewrite the root launch rule and every active stale SDK-runtime note to the shipped dsh profile architecture in both languages. Focused tests prove import-only and transitive package exports, lock contention, cross-carrier transitions, missing-entry failures, asset inventory, and bounded initialization.
2026-08-24 17:28:27 +08:00
..
fixtures test(webhook): resolve the real CLI rule from examples 2026-08-23 01:48:55 +08:00
args.spec.ts feat(web,cli): open the ready Web UI by default 2026-08-19 15:42:12 +08:00
built-bin.e2e.ts test: refresh profile migration catalogs and built smokes 2026-08-23 10:59:01 +08:00
dsh-badge.snapshot.ts docs: replace nonexistent repository references 2026-08-11 12:35:38 +08:00
github-webhook-real.e2e.ts test(api): close stream transport coverage gaps 2026-08-23 16:16:05 +08:00
headless-shutdown.e2e.ts refactor(cli)!: complete app-owned profile startup 2026-08-10 23:45:04 +08:00
lazy-search-startup.compat.spec.ts feat(web,cli): open the ready Web UI by default 2026-08-19 15:42:12 +08:00
memory-mcp-configs.spec.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
process-shutdown.spec.ts fix(cli): drain native handles on normal exit 2026-08-09 21:44:57 +08:00
profile-hmr.spec.ts refactor(profiles): make module HMR opt-in 2026-08-23 10:59:01 +08:00
source-launch.compat.spec.ts fix(cli): separate dsh from repository build 2026-08-12 15:37:03 +08:00
telemetry-switch.spec.ts refactor: apply repository naming contract 2026-08-13 00:54:38 +08:00
web-agent-presets.e2e.ts fix(python-sdk): harden profile runtime startup 2026-08-24 17:28:27 +08:00
web-browser-open.snapshot.ts feat(web,cli): open the ready Web UI by default 2026-08-19 15:42:12 +08:00
windows-shell.spec.ts refactor(preset): bundle the shipped presets inside dsh-agent-presets 2026-08-21 12:37:57 +08:00