Skip to content

fix(studio): refresh Ark API keys and show model permissions - #1131

Merged
yaozheng-fang merged 2 commits into
volcengine:mainfrom
evanlowe:fix/studio-ark-api-key-permissions
Sep 18, 2026
Merged

yaozheng-fang merged 2 commits into
volcengine:mainfrom
evanlowe:fix/studio-ark-api-key-permissions

Conversation

@evanlowe

@evanlowe evanlowe commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Studio omitted custom-permission API Keys and could reuse an outdated key list after a page reload. This change fetches current key metadata, preserves distinct keys across pagination, and shows enabled/disabled status and permission scope in both traditional and quick VeADK Agent creation

Model dropdowns reflect the selected key’s permissions, retain explicitly granted video and shut-down models with an unavailable reason, and clear selections that lose permission. Permission details stay in the searchable model dropdown

Cloud failures preserve the upstream HTTP status, response body and request ID, with credential redaction if needed. Overlapping identical requests share a pending query, including failures, so concurrent refreshes do not multiply activation requests. Network client imports remain deferred until the first request

Validation:

  • 1,209 frontend tests and 73 backend model-catalog tests passed
  • Production build, packaged asset verification, i18n consistency, Pyright and full pre-commit checks passed
  • Credential scan included source, tests and generated WebUI assets
  • Real Volcengine and BytePlus checks covered complete key lists, one-key-per-page pagination and repeated reads; overlapping model requests issued one activation query per provider
  • Local simulations covered 7,560 model requests across success, rate limits, timeouts and recovery, plus cancellation and fresh key-list reads

Volcengine can still return a cloud-side 429 for a single activation query; the exact quota consumer has not been identified. The original cloud response remains available for diagnosis

@yaozheng-fang
yaozheng-fang merged commit 5df3850 into volcengine:main Sep 18, 2026
16 checks passed
PolarisCzh pushed a commit to PolarisCzh/veadk-python that referenced this pull request Sep 29, 2026
…ine#1131)

* fix(studio): refresh Ark API keys and show model permissions

* fix(studio): defer model catalog error transport imports

Co-authored-by: TRAE CLI <traecli@bytedance.com>
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.

2 participants