Skip to content

ci: add trusted ephemeral Ascend runner - #26

Merged
ShuhaoZhangTony merged 1 commit into
mainfrom
codex/issue-8-ascend-ephemeral-ci
Aug 15, 2026
Merged

ci: add trusted ephemeral Ascend runner#26
ShuhaoZhangTony merged 1 commit into
mainfrom
codex/issue-8-ascend-ephemeral-ci

Conversation

@ShuhaoZhangTony

Copy link
Copy Markdown
Contributor

What changed

  • add a main-only manual Ascend host regression workflow with read-only permissions
  • require a selected-workflow organization runner group, main-only environment, and one-job ephemeral ARM64 runner
  • add non-destructive NPU/device-node, npu-smi, Docker binding, graph-mode, app-health, cleanup, and report checks
  • add an operator wrapper that downloads and verifies the latest runner, registers it once, dispatches the job, watches it, and verifies deregistration
  • document the public-repository trust boundary and release v4.6.31

Security boundary

Normal pull requests remain on GitHub-hosted runners. The NPU host workflow has no pull_request or push trigger, checks the exact trusted main SHA, uses a workflow-restricted group and main-only environment, and never starts/replaces the managed model service.

Validation

  • workflow YAML and shell syntax passed
  • Ruff passed
  • focused deployment/security tests: 42 passed
  • full suite: 726 passed, 28 skipped
  • direct non-destructive host probe: 8 NPU nodes, control devices, npu-smi, container binding, graph contract, app v4.6.30 health all passed
  • failure artifact path verified

Closes #8

@ShuhaoZhangTony
ShuhaoZhangTony merged commit 3c27c79 into main Aug 15, 2026
5 checks passed
@ShuhaoZhangTony
ShuhaoZhangTony deleted the codex/issue-8-ascend-ephemeral-ci branch August 15, 2026 10:42
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.

恢复 Ascend 自托管 CI runner 并纳入 NPU 部署回归

1 participant