Files
deepseek-harness/packages/sdk/server/tests
LegGasai 3834d302df fix(sdk-server): remove the fallback authentication when its route fails
initialize() mounts DeepSeek request authentication before the fallback
official route in a composition that has none. When the route did not
mount, for example for a DEEPSEEK_BASE_URL that is no HTTP(S) root, the
authentication service stayed in the composition and shutdown() skipped
it, because shutdown releases both only after the route mounted. A route
whose disposal threw skipped the service the same way.

A failed route mount now removes the service that call mounted, and
shutdown releases the service whether or not the route's disposal
succeeds.
2026-11-17 14:51:36 +08:00
..