Skip to content

fix(studio): support BytePlus self-update - #860

Merged
yaozheng-fang merged 3 commits into
volcengine:mainfrom
evanlowe:fix/byteplus-studio-self-update
Aug 11, 2026
Merged

fix(studio): support BytePlus self-update#860
yaozheng-fang merged 3 commits into
volcengine:mainfrom
evanlowe:fix/byteplus-studio-self-update

Conversation

@evanlowe

@evanlowe evanlowe commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • propagate the active cloud provider through Studio self-update, status, and log calls
  • preserve BytePlus runtime environment, dependencies, entrypoint, branding, and console links during frontend-triggered updates
  • reconcile resources introduced after initial deployment before uploading the new Function bundle
  • reuse existing resources, create missing private TOS storage and three snapshot-enabled Sandbox Tools, bind their model credentials, and merge the resulting environment overrides with the complete current Function environment
  • expose the resource-provisioning phase in the frontend update progress and diagnostics

Cloud verification

  • deployed the branch to an isolated BytePlus Studio using the existing User Pool
  • confirmed the pre-update Function lacked the TOS and snapshot Sandbox environment variables
  • published an isolated release and triggered the update from the Studio frontend
  • observed the provisioning phase complete in about 17 seconds and the complete update finish in about 2 minutes
  • confirmed the Application returned to deploy_success and the target release revision took over
  • confirmed the new TOS bucket and all three snapshot Sandbox Tools were present; each Tool was Ready, snapshot-enabled, and had its model credential environment
  • confirmed the existing Dev and chat Tool IDs, User Pool IDs, OAuth client ID, provider settings, and update source remained unchanged

Verification

  • uv run pytest -q (1379 passed, 6 skipped, 6 subtests passed)
  • npm test --prefix frontend (462 passed)
  • npm run build --prefix frontend
  • uv run pre-commit run --all-files
  • targeted Pyright check (0 errors)

@evanlowe
evanlowe force-pushed the fix/byteplus-studio-self-update branch 3 times, most recently from 6df966a to b3be1d8 Compare August 11, 2026 05:28
@evanlowe
evanlowe force-pushed the fix/byteplus-studio-self-update branch from b3be1d8 to 09f6067 Compare August 11, 2026 07:32
@yaozheng-fang
yaozheng-fang merged commit 2d93711 into volcengine:main Aug 11, 2026
7 checks passed
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