Skip to content

feat(studio): improve MPA configuration and failure diagnostics - #1180

Closed
moidream wants to merge 4 commits into
volcengine:mainfrom
superops-team:feat/from-upstream-main-20261020
Closed

moidream wants to merge 4 commits into
volcengine:mainfrom
superops-team:feat/from-upstream-main-20261020

Conversation

@moidream

@moidream moidream commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Studio administrators can manage MPA collaboration through AgentKit A2A spaces, edit AGENTS.md, and update Runtime and Worker images independently. MPA creation and deletion retain actionable, redacted failure details.

  • Add space creation, association, removal and deletion; register existing Runtimes or imported Agent Cards, and view service endpoints and skills.
  • Support registered Agent aliases scoped to the current MPA business database through the matching Runtime API. Correct the Agent alias label, remove shared-account setup guidance, and allow the exact alias PUT route while preserving proxy authorization and server-owned credentials.
  • Add AGENTS.md load/save/clear with revision conflicts, draft retention, cancellation and administrator-only credential injection.
  • Put image updates second in MPA navigation. Runtime and Worker update independently from a full manual address or their domestic/BytePlus public repository; public latest resolves to a version/digest before confirmation and is revalidated on submission.
  • Include paired English/Chinese designs and contracts, regression tests and matching packaged WebUI assets. Restore missing Apache license headers in five existing PR Python files.

Validation

Latest revision: f52d46efc07c8d30f87478d295272af785780ea1, synchronized with official main cb9975df on 2026-10-22.

  • All-files pre-commit passed, including Ruff and secret scanning. Required license headers are present in all 30 changed PR Python files.
  • Default parallel Python regression (-n 2, excluding Codex/Piagent smoke): 7,861 passed, 53 skipped, 4 xfailed, 1 failed. The sole failure is tests/frontend/server/runtime_artifacts/test_writer.py::test_success_uses_trusted_scope_and_hashes_utf8_bytes: local Python 3.10 does not recognize .md MIME. The same test fails in an independent archive of unchanged HEAD 46f60e12; the artifact writer/test were not changed. This local gate remains failing.
  • Complete Runtime proxy tests: 142 passed; broader CLI regression: 1,844 passed, 6 skipped.
  • Frontend: 1,389 Node + 236 Vitest tests passed; production build, i18n consistency and packaged asset checks passed (114 files / 351 references).
  • CI Sidecar backend script: 143 passed / 1 skipped, 9 passed / 50 deselected, 97 passed, 39 passed. Backend coverage 96% exceeds the 91% gate. Frontend Sidecar: 22 passed, 100% line / 94.44% branch coverage.
  • Dependency policy and frozen lock validation passed. Pyright on the five license-only files reported zero errors; the existing proxy/test diagnostics were compared with the unchanged baseline and no diagnostics were added.
  • Isolated browser checks cover alias save/read-back/clear, CAS conflict and refresh, keyboard cancellation, unsupported Runtime guidance and narrow-container layout; no real cloud/model writes or deployment.

CI status

All seven workflows for this exact revision currently have conclusion action_required, with no jobs started. Attempting approval through the current account returned HTTP 403: Must have admin rights to Repository. These are unexecuted checks, not passing CI results. An official repository maintainer must approve and run the workflows; this PR remains a draft.

Pending Unit Tests run.

Compatibility and limits

The features are scoped to MPA management and require matching agentkit-mpa-agent Runtime APIs; the companion Runtime implementation is outside this PR. Aliases belong to each MPA business database and require no shared management database/account-ID configuration. Previously shared aliases are not automatically imported. Older Runtimes retain explicit unsupported states.

AGENTS.md persistence and Main next-turn updates are verified. Existing native Worker threads are not guaranteed to reload instructions; Worker hot reload remains deferred. Existing sandbox sessions may retain their prior Worker image until a new session is created. This PR does not publish or deploy the companion Runtime.

@moidream
moidream force-pushed the feat/from-upstream-main-20261020 branch from 8f9911b to 9ab0ef2 Compare October 21, 2026 10:13
zhangmengqiu.zmq added 3 commits October 22, 2026 17:31
2、新增协作agent注册
Add A2A space creation, registration, member actions and aliases. Support independent Runtime and Worker image updates with manual or public repository versions and verified latest previews for Volcengine and BytePlus. Include bilingual designs, regression tests and bundled Studio assets.
@moidream
moidream force-pushed the feat/from-upstream-main-20261020 branch from 9ab0ef2 to 46f60e1 Compare October 22, 2026 10:12
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