FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(studio): add GitHub CI/CD delivery for Studio-generated agents by CatherineKu · Pull Request #815 · volcengine/veadk-python · GitHub

feat(studio): add GitHub CI/CD delivery for Studio-generated agents - #815

Draft
CatherineKu wants to merge 3 commits into
volcengine:mainfrom
CatherineKu:feat/studio-github-cicd
Draft

feat(studio): add GitHub CI/CD delivery for Studio-generated agents#815
CatherineKu wants to merge 3 commits into
volcengine:mainfrom
CatherineKu:feat/studio-github-cicd

Conversation

Copy link
Copy Markdown

Adds a GitHub-backed continuous delivery path for Studio-generated Agent
projects. Instead of pushing images directly, Studio can now open (or update)
a pull request in the user's GitHub repo carrying the generated Agent source,
and bind that pipeline to an AgentKit Runtime.

The existing veadk pipeline command assumes a specific Volcengine account
and region (hardcoded CR instance name, VPC tunnel region, and template image),
so it is not portable across accounts. This PR introduces a GitHub-PR-centric
flow driven only by a repo URL + token, keeping delivery in the user's own
repository and CI.

Changes

Backend

  • New veadk github-cicd-pipeline CLI command
    (veadk/cli/cli_github_cicd_pipeline.py): takes --github-url,
    --github-branch, --github-token, --project-json, --region.
  • New orchestration module veadk/cli/github_cicd.py:
    • Parses GitHub HTTPS/SSH URLs, validates repo access.
    • Creates/reuses a studio/<agent> branch, commits the project files,
      and creates or updates the PR.
    • Runtime binding + config re-sync (bind / sync), with pipeline state
      persisted under ~/.veadk/github-cicd-pipelines.json.
    • Credentials are redacted from all error/log output.
  • New Studio APIs in veadk/cli/cli_frontend.py:
    • POST /web/github-cicd/pipelines
    • GET/POST /web/github-cicd/runtime-binding
    • POST /web/github-cicd/runtime-sync

Frontend

  • New GithubCicdPanel in Studio project preview, with API client wrappers.
  • Rebuilt static assets under veadk/webui/.

Tests

  • Backend tests: tests/cli/test_github_cicd.py
  • Frontend test: frontend/tests/githubCicdPanel.test.mjs

Notes

  • Guardrails on project payload: max 800 files, 2 MB/file, 25 MB total.
  • The frontend build output (veadk/webui/) is committed separately as a
    chore commit.

How to test

veadk github-cicd-pipeline \
  --github-url https://github.com/<owner>/<repo> \
  --github-branch main \
  --github-token <token> \
  --project-json ./project.json

CatherineKu force-pushed the feat/studio-github-cicd branch from 8b88d17 to 29e2974 Compare August 13, 2026 15:47
Add CLI/API backend for the Studio GitHub CI/CD pipeline, including
AgentKit deploy automation, and cover it with unit tests.
Add the GitHub CI/CD panel and wire the delivery flow into the agent
workspace and project preview, with accompanying frontend tests.
Rebuild the bundled webui assets for the GitHub CI/CD delivery UI.
CatherineKu force-pushed the feat/studio-github-cicd branch from 29e2974 to 22b9317 Compare August 14, 2026 07:16
CatherineKu marked this pull request as draft August 14, 2026 07:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL