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-16 09:38:18 +08:00
2026-04-12 14:23:11 +08:00
2026-03-28 17:51:22 +08:00
2026-04-12 14:23:11 +08:00
2026-03-27 17:55:57 +08:00
2026-04-16 09:34:52 +08:00
2026-04-12 14:23:11 +08:00
2026-04-12 11:26:04 +08:00
2026-03-27 17:55:57 +08:00
2026-04-12 14:23:11 +08:00
2026-04-03 20:01:05 +08:00
2026-04-12 14:23:11 +08:00
2026-03-27 17:55:57 +08:00
2026-03-28 17:51:22 +08:00
2026-04-03 18:03:28 +08:00
2026-04-16 09:38:18 +08:00
2026-04-09 11:01:59 +08:00
2026-04-12 13:48:39 +08:00
2026-04-16 09:38:18 +08:00
2026-03-28 20:41:56 +08:00
2026-03-27 17:55:57 +08:00
2026-03-27 17:55:57 +08:00
2026-03-31 15:29:21 +08:00
2026-04-16 09:34:52 +08:00
2026-04-12 14:23:11 +08:00