Skip to content

Honor canonical plugin disables for shared connectors - #45755

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ee2981d1277825fefb671dd7d1078cd7ea5c0ea5
Sep 15, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ee2981d1277825fefb671dd7d1078cd7ea5c0ea5

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Honor canonical plugin disables for shared connectors

Why

Disabling a connector's canonical plugin could leave its tools available when another enabled plugin contributed the same connector.

What changed

Retain canonical_app_id in the remote installed-plugin cache and use ownership metadata for the current account when building connector snapshots. A disabled canonical owner now excludes its connector even when another plugin contributes it or the owner's bundle is absent from the host. Match owners by plugin name and marketplace, and ignore ownership metadata when the cache no longer matches the current authentication.

Build these snapshots through PluginsManager when the plugins feature is enabled; otherwise use an empty snapshot.

Testing

Add manager coverage for combined local and canonical exclusions, marketplace matching, and authentication changes. Add an integration test showing that disabling a noncanonical contributor preserves shared calendar tools, disabling the canonical owner hides them, and clearing the exclusion restores them.

## Why

Disabling a connector's canonical plugin could leave its tools available when another enabled plugin contributed the same connector.

## What changed

Retain `canonical_app_id` in the remote installed-plugin cache and use ownership metadata for the current account when building connector snapshots. A disabled canonical owner now excludes its connector even when another plugin contributes it or the owner's bundle is absent from the host. Match owners by plugin name and marketplace, and ignore ownership metadata when the cache no longer matches the current authentication.

Build these snapshots through `PluginsManager` when the plugins feature is enabled; otherwise use an empty snapshot.

## Testing

Add manager coverage for combined local and canonical exclusions, marketplace matching, and authentication changes. Add an integration test showing that disabling a noncanonical contributor preserves shared calendar tools, disabling the canonical owner hides them, and clearing the exclusion restores them.

GitOrigin-RevId: ee2981d1277825fefb671dd7d1078cd7ea5c0ea5
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ee2981d1277825fefb671dd7d1078cd7ea5c0ea5 branch from 20d421b to af1fc2d Compare September 15, 2026 18:23
@copyberry
copyberry Bot merged commit af1fc2d into main Sep 15, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ee2981d1277825fefb671dd7d1078cd7ea5c0ea5 branch September 15, 2026 18:23
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 15, 2026
@tmccombs
tmccombs deployed to issue-triage September 15, 2026 18:40 — with GitHub Actions Active
@tmccombs
tmccombs deployed to issue-triage September 15, 2026 18:40 — with GitHub Actions Active
@tmccombs
tmccombs deployed to issue-triage September 15, 2026 18:40 — with GitHub Actions Active
@tmccombs
tmccombs deployed to issue-triage September 15, 2026 18:41 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — af1fc2db Deployed Sep 15, 2026 by tmccombs via Identify potential duplicates (open issues fallback) #45796
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants