Skip to content

feat: migrate AKernel deployment to Python YuanRong CLI - #19

Draft
mhsong1998-dot wants to merge 1 commit into
inclusionAI:mainfrom
mhsong1998-dot:smh/python-cli-migration
Draft

feat: migrate AKernel deployment to Python YuanRong CLI#19
mhsong1998-dot wants to merge 1 commit into
inclusionAI:mainfrom
mhsong1998-dot:smh/python-cli-migration

Conversation

@mhsong1998-dot

@mhsong1998-dot mhsong1998-dot commented Aug 7, 2026

Copy link
Copy Markdown

Summary

  • migrate master, frontend, node, and standalone startup to the Python openYuanRong CLI
  • upgrade core, SDK, and sandbox dependencies to 0.9.8 and lock the Python 3.12 dependency closure
  • preserve etcd discovery, resource reporting, sandbox networking, metrics, and Traefik behavior across cloud profiles

Review fixes

  • render standalone node IP and embedded-etcd client/peer ports consistently
  • keep external resource collection for node and standalone roles
  • derive sandbox DNS from node.sandboxIPRange
  • fail image builds if either wheel safety patch no longer matches
  • use complete amd64/arm64-resolved Python constraints
  • wait for sandbox0 readiness, but advertise the routable node Pod IP for frontend-to-function-proxy RPC

Validation

Current HEAD: 1e30b39e66fb487e47ddc011e499c4db132b7287, one signed Conventional Commit on current main.

  • deployment script syntax, Helm lint/template, diff checks, and Python 3.12 constraints validation passed
  • Python SDK gate passed: 110 unit tests and pip check
  • standalone config rendered as valid TOML with explicit embedded-etcd ports and external metrics collection
  • native x86 CCE cn-north-4/akernel-cce, namespace akernel, was reconciled through the repository's Huawei Cloud Terraform profile without changing CCE infrastructure
  • Helm revision 6 is deployed; etcd, master, frontend, Traefik, and both node Pods are Ready
  • validation image digest: sha256:971c2bd55c6b7911bff2e2d4c20c57656ca7d01d19a080bb8b0bd324db5ef193 (0.9.8 base plus the exact final yr_node_bootstrap.sh)
  • both function proxies advertise their unique Pod IPs; Traefik HTTPS health returns 200
  • basic_usage.py, command_stdin.py, and named_sandbox.py passed, including sandbox termination through Traefik

No temporary URL, registry alias, test/plan file, credential, or local validation fixture is committed.

@mhsong1998-dot
mhsong1998-dot force-pushed the smh/python-cli-migration branch 9 times, most recently from b7de90a to 7e5c006 Compare August 10, 2026 11:31
Comment thread builder/config/yr/config.toml.jinja Outdated
Comment thread builder/config/yr/config.toml.jinja Outdated
Comment thread deploy/akernel/charts/core/values.yaml
Comment thread builder/node.Dockerfile
Comment thread builder/node.Dockerfile
@mhsong1998-dot
mhsong1998-dot force-pushed the smh/python-cli-migration branch from 7e5c006 to 6a7e84d Compare August 11, 2026 12:36
@tianyuzhou95

Copy link
Copy Markdown
Collaborator

One remaining process issue before merge: the current commit body contains only the Signed-off-by trailer. The repository's AGENTS.md requires a Conventional Commit with a prose body explaining what changed and why, followed by the DCO sign-off. Please amend the commit message accordingly.

Also, GitHub currently reports no checks for this branch. The validation documented in the PR is extensive, but there is no automated status attached to the commit. Please ensure the expected CI checks are configured and passing before merge, or explicitly confirm that this repository does not currently provide PR checks.

@mhsong1998-dot
mhsong1998-dot force-pushed the smh/python-cli-migration branch 3 times, most recently from 3d195f7 to 317abec Compare August 18, 2026 08:38
Comment thread .dockerignore Outdated
@mhsong1998-dot
mhsong1998-dot force-pushed the smh/python-cli-migration branch from 317abec to ae77634 Compare August 20, 2026 01:56
Replace legacy YuanRong binary startup for master, frontend, node, and
standalone roles with the packaged Python CLI and a shared rendered config.

Upgrade core, SDK, and sandbox dependencies to 0.9.8, lock the Python 3.12
dependency closure, and preserve etcd discovery, resource reporting, sandbox
networking, metrics, and Traefik behavior across cloud profiles.

Signed-off-by: mhsong1998-dot <258010372+mhsong1998-dot@users.noreply.github.com>
@mhsong1998-dot
mhsong1998-dot force-pushed the smh/python-cli-migration branch from ae77634 to 1e30b39 Compare August 20, 2026 05:02
@mhsong1998-dot

Copy link
Copy Markdown
Author

Process items are addressed in current HEAD 1e30b39: the branch contains one lowercase Conventional Commit with a prose body, and its author, committer, and Signed-off-by trailer all match mhsong1998-dot. GitHub created CI run 32334113441 for this head, but currently marks it action_required, so a maintainer must approve the fork workflow before the checks can execute. The previously approved head passed all eight CI jobs.

@mhsong1998-dot
mhsong1998-dot marked this pull request as draft August 20, 2026 08:34
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