mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-12-03 15:43:42 +08:00
- Drain the global default usage queue via a FIFO barrier in registerTestUsagePlugin before registering capture plugins so queued records from earlier tests are not delivered to subsequent tests. - Assign unique credential IDs per TestHomeExecutorDispatchLifecycleRejections subtest and wait for the cancellation usage record in TestHomePluginDispatchReleasesOnStreamCancellation to prevent async cross-test bleed. - Add a deterministic channel-gated regression test verifying that registerTestUsagePlugin drains preexisting queued usage records before capture registration. Closes: #8163