Apply app routing policy to unauthenticated plugin reads (#41230)

## What changed

Apply the legacy plugin app/MCP routing policy even when no authentication mode is available. Unauthenticated plugin reads now omit unavailable app declarations while retaining their MCP server alternatives.

## Testing

Extend plugin manager coverage for unauthenticated reads and provide ChatGPT authentication in the app-server bundle-details test.

GitOrigin-RevId: d90d29d0702488eb7413c6779254a9e6aae615c0
This commit is contained in:
willwang-openai authored and copyberry committed 2026-08-28 00:07:32 +00:00
1 parent 426fa8cdab
commit e9a6d731b7
3 files changed
+45 -15

No files matched your search

+1 -1
View File
@@ -2543,7 +2543,7 @@ impl PluginsManager {
manifest_format,
)
.await;
if manifest_format == PluginManifestFormat::Legacy && auth_mode.is_some() {
if manifest_format == PluginManifestFormat::Legacy {
apply_app_mcp_routing_policy(
&mut app_declarations,
&mut mcp_servers,