ybc
56af1ea091
feat: parallel service discovery + unit tests for auth-headers
- Optimize loadPlugins to discover HTTP servers in parallel (sync.WaitGroup)
when multiple remote servers exist, reducing startup time from sequential
N*10s to parallel max(10s)
- Add auth_registry_test.go with 7 unit tests covering:
- PluginAuth registry CRUD and multi-product isolation
- deriveToolCLIName conversion (6 cases)
- registerPluginAuthFromHeaders extraction and registration
- buildPluginAuthClient with/without Authorization header
- Add 3 test cases to plugin_test.go covering:
- Headers -> AuthHeaders conversion with env var expansion
- No-headers descriptor produces nil AuthHeaders
- ParseManifest correctly parses headers field from plugin.json
2026-04-16 09:38:18 +08:00
..
2026-04-08 20:15:30 +08:00
2026-04-15 11:45:58 +08:00
2026-04-09 10:49:17 +08:00
2026-04-15 11:45:58 +08:00
2026-04-16 09:38:18 +08:00
2026-04-16 09:38:18 +08:00
2026-03-27 17:55:57 +08:00
2026-04-12 14:23:11 +08:00
2026-04-12 14:23:11 +08:00
2026-03-27 17:55:57 +08:00
2026-04-12 14:23:11 +08:00
2026-03-27 17:55:57 +08:00
2026-04-16 09:33:20 +08:00
2026-04-12 14:43:55 +08:00
2026-04-12 15:14:57 +08:00
2026-03-29 16:28:49 +08:00
2026-04-01 21:26:01 +08:00
2026-03-27 17:55:57 +08:00
2026-04-08 20:03:56 +08:00
2026-03-28 22:21:20 +08:00
2026-04-03 18:03:28 +08:00
2026-03-27 17:55:57 +08:00
2026-04-16 09:34:52 +08:00
2026-04-01 15:48:23 +08:00
2026-03-29 16:29:35 +08:00
2026-03-28 20:41:56 +08:00
2026-03-27 17:55:57 +08:00
2026-04-12 12:14:57 +08:00
2026-04-10 10:47:14 +08:00
2026-04-16 09:38:18 +08:00
2026-04-12 12:14:57 +08:00
2026-04-16 09:38:18 +08:00
2026-04-10 10:47:14 +08:00
2026-04-15 11:59:23 +08:00
2026-04-16 09:34:46 +08:00
2026-04-16 09:34:46 +08:00
2026-04-12 15:14:57 +08:00
2026-04-12 15:14:57 +08:00
2026-03-31 15:29:21 +08:00
2026-04-02 16:48:06 +08:00
2026-04-03 18:03:28 +08:00
2026-04-01 21:05:35 +08:00