Repository navigation
Use the server permission catalog for TUI permission shortcuts - #50140
Merged
copyberry[bot] merged 1 commit intoOct 2, 2026
Conversation
## Why Permission shortcuts checked local configuration while the picker used the connected server's catalog and requirements. Shortcuts should respect the same server restrictions, including model-specific auto-review requirements. ## What changed - Share a cached server catalog between the permission picker and shortcuts. Show the loading picker when no catalog is available and reuse an outstanding fetch. - Clear the cache on session, account, working-directory, or connection changes. - Give discovery RPCs distinct request IDs for each fetch and profile page so repeated requests after timeouts do not collide. ## Testing Add coverage for loading and catalog reuse, managed permission restrictions, and refetching after disconnect. Update timeout coverage to verify that repeated discovery attempts use distinct IDs and each reports a timeout. GitOrigin-RevId: 7d79874294136bfe3a654bb306eb7caf36d4df1e
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/7d79874294136bfe3a654bb306eb7caf36d4df1e
branch
from
October 2, 2026 01:34
481906b to
cb6da58
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/7d79874294136bfe3a654bb306eb7caf36d4df1e
branch
October 2, 2026 01:34
iamnotmili
temporarily deployed
to
issue-triage
October 2, 2026 01:39 — with
GitHub Actions
Inactive
iamnotmili
temporarily deployed
to
issue-triage
October 2, 2026 01:39 — with
GitHub Actions
Inactive
iamnotmili
temporarily deployed
to
issue-triage
October 2, 2026 01:39 — with
GitHub Actions
Inactive
iamnotmili
temporarily deployed
to
issue-triage
October 2, 2026 01:40 — with
GitHub Actions
Inactive
seijitsu0811-lab
temporarily deployed
to
issue-triage
October 2, 2026 01:43 — with
GitHub Actions
Inactive
seijitsu0811-lab
temporarily deployed
to
issue-triage
October 2, 2026 01:43 — with
GitHub Actions
Inactive
seijitsu0811-lab
temporarily deployed
to
issue-triage
October 2, 2026 01:43 — with
GitHub Actions
Inactive
nickphang97-collab
temporarily deployed
to
issue-triage
October 2, 2026 01:48 — with
GitHub Actions
Inactive
nickphang97-collab
temporarily deployed
to
issue-triage
October 2, 2026 01:48 — with
GitHub Actions
Inactive
nickphang97-collab
temporarily deployed
to
issue-triage
October 2, 2026 01:48 — with
GitHub Actions
Inactive
dreamingit97-commits
temporarily deployed
to
issue-triage
October 2, 2026 01:48 — with
GitHub Actions
Inactive
dreamingit97-commits
temporarily deployed
to
issue-triage
October 2, 2026 01:48 — with
GitHub Actions
Inactive
dreamingit97-commits
temporarily deployed
to
issue-triage
October 2, 2026 01:48 — with
GitHub Actions
Inactive
dreamingit97-commits
temporarily deployed
to
issue-triage
October 2, 2026 01:49 — with
GitHub Actions
Inactive
tranhuuhiep508
temporarily deployed
to
issue-triage
October 2, 2026 02:07 — with
GitHub Actions
Inactive
tranhuuhiep508
temporarily deployed
to
issue-triage
October 2, 2026 02:07 — with
GitHub Actions
Inactive
tranhuuhiep508
temporarily deployed
to
issue-triage
October 2, 2026 02:07 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use the server permission catalog for TUI permission shortcuts
Why
Permission shortcuts checked local configuration while the picker used the connected server's catalog and requirements. Shortcuts should respect the same server restrictions, including model-specific auto-review requirements.
What changed
Testing
Add coverage for loading and catalog reuse, managed permission restrictions, and refetching after disconnect. Update timeout coverage to verify that repeated discovery attempts use distinct IDs and each reports a timeout.