Files
CLIProxyAPI/internal
Luis Pater a014ba0e49 test(pluginhost,handlers): fix flaky races in plugin load and stream cancel tests
- Add a loadCleanupDoneHook callback in pluginhost.Host so canceled plugin load tests wait until the in-flight load token is cleared after client shutdown.
- Drain dataChan after canceling the context in TestHandlerPluginExecutorPublishesStreamCancellation before closing the chunk channel to avoid racing ctx.Done() against normal stream EOF.

Closes: #6885
2026-10-23 01:14:58 +08:00
..
…
…