Skip to content

fix(hub, ui): an upstream's tools show right after its login; the pool card's secret hint - #384

Merged
7schmiede merged 2 commits into
mainfrom
fix/pool-upstreams-hint
Oct 30, 2026
Merged

7schmiede merged 2 commits into
mainfrom
fix/pool-upstreams-hint

Conversation

@7schmiede

@7schmiede 7schmiede commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Two small fixes found while bringing the GitHub MCP up over OAuth (0.31.0):

  • Tools right after the login. The hub keeps what it asked an upstream for 60 s. So for up to a minute after a login, a token given or a logout, agents still got the answer from the old credential: a <prefix>__login placeholder instead of the tools. Seen with default:github. A change of the credential (complete, set_token, logout) now forgets that answer and the upstream's MCP session.
  • The pool card's hint. The pool's MCP upstreams card still said "nothing secret is kept here". Since feat(upstreams): an OAuth app's client secret, for GitHub (ADR-0069 addendum) #381 it can hold an OAuth app's client secret, shown only as set. It now says so, and points members to their own MCP upstreams page to use or log in.

No card point: neither fix changes a contract or a trust boundary. The hint follows the card already approved for #381.

Tests

  • The hub's tests no longer empty its cache by hand after set_token. Three tests now cover that a credential change shows at once: tools after a login, the refused token, and the command's token.
  • cargo clippy -p devstack-hub --all-targets -D warnings is clean, and cargo test -p devstack-hub passes (98).
  • UI: vue-tsc and vitest pass.

🤖 Generated with Claude Code

7schmiede and others added 2 commits October 30, 2026 13:16
Since the client secret of an OAuth app (ADR-0069 addendum 2026-10-30) a
pool's list can hold one; the hint says so, and that a member uses or logs
in on their own MCP upstreams page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hub kept what it asked an upstream for a minute, so after a login, a
token given or a logout, agents still got the answer from the old
credential (a `<prefix>__login` instead of the tools). A change of the
credential now forgets that answer and the upstream's session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@7schmiede 7schmiede changed the title fix(ui): the pool's upstream list no longer says it keeps nothing secret fix(hub, ui): an upstream's tools show right after its login; the pool card's secret hint Oct 30, 2026
@7schmiede
7schmiede merged commit b759db4 into main Oct 30, 2026
13 checks passed
@7schmiede
7schmiede deleted the fix/pool-upstreams-hint branch October 30, 2026 12:27
@7schmiede 7schmiede mentioned this pull request Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant