Skip to content

fix(studio): treat dev-mode connections as root without an API key - #3020

Merged
qin-ctx merged 1 commit into
volcengine:mainfrom
r266-tech:fix/studio-dev-mode-role-3017
Jul 6, 2026
Merged

fix(studio): treat dev-mode connections as root without an API key#3020
qin-ctx merged 1 commit into
volcengine:mainfrom
r266-tech:fix/studio-dev-mode-role-3017

Conversation

@r266-tech

Copy link
Copy Markdown
Contributor

Summary

  • treat Studio dev-mode connections with a configured base URL as root without requiring an API key
  • skip the /health identity probe when dev mode already implies root access
  • cover dev/no-key, non-dev/no-key, and non-dev/keyed role-probe states

Fixes #3017.

Tests

  • git diff --check -- web-studio/src/hooks/use-app-connection.tsx web-studio/src/hooks/use-app-connection.test.ts
  • pnpm --dir web-studio test src/hooks/use-app-connection.test.ts (blocked before test execution: pnpm build-script approval gate rejected esbuild, msw, and unrs-resolver)

@qin-ctx
qin-ctx merged commit fe3bdf4 into volcengine:main Jul 6, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in OpenViking project Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug] Studio dashboard shows "Usage/Audit 未初始化" in dev mode — connectionRole stays 'unknown' because API key input is hidden

2 participants