Skip to content

ci: run the CI/CD caller from .hanzo/workflows so the forge sees it - #124

Merged
Darkhorse7stars merged 1 commit into
mainfrom
ci/forge-cicd-caller
Nov 20, 2026
Merged

Darkhorse7stars merged 1 commit into
mainfrom
ci/forge-cicd-caller

Conversation

@Darkhorse7stars

Copy link
Copy Markdown
Member

Follow-up to #119 (hanzo-inc/cloud#799). Makes the hanzo.yml gates, kv-isolation included, actually run.

Why nothing ran

Actions is now enabled for the hanzoai/engine mirror on git.hanzo.ai, but enabling it was not enough. Hanzo Git reads workflows from the first of .hanzo/workflows and .github/workflows that exists (WORKFLOW_DIRS in hanzoai/git modules/setting/actions.go), not from both. This repo has .hanzo/workflows/release.yml, so the forge never saw .github/workflows/cicd.yml, and its Actions tab lists only "Release Hanzo Engine". github.com has Actions off and no runner for these labels, so the caller ran nowhere.

Change

  • Move cicd.yml to .hanzo/workflows/, next to release.yml. Triggers are unchanged: main, v* tags, dispatch.
  • Pin hanzoai/ci build.yml at v2.1.21, the release hanzo-inc/cloud's forge caller runs, in place of @v1. Its inputs are the ones @v1 had, it provisions the Rust toolchain when Cargo.toml exists, and it refuses a gate whose test runner reports zero results.
  • class: xl for the gates. They compile hanzo-engine's tests and type-check the workspace, which is too slow for a shared 1.5-core slot. xl takes a 32-core node of its own.
  • LLM.md: the release section said nothing builds on a push or a tag. It now says where CI runs.

What a main sync does after this

  1. The hanzo.yml gates in order: v1-only, fmt, kv-isolation, check.
  2. If they pass, the image is built through the build door. Tags are sha-<commit>-amd64 and the Cargo.toml version, or the next patch if that version is already published. A main build never writes latest or overwrites a published version tag.

Nothing deploys: hanzo.yml declares no site or deploy, and production keeps its digest pin in universe.

release.yml is untouched and still runs on vX.Y.Z tags and dispatch. On a v* tag both workflows run, as they were written to.

PRs live on GitHub and the forge pulls the mirror, so this gates main after merge, not PRs before it.

Hanzo Git reads workflows from the first of .hanzo/workflows and
.github/workflows that exists. This repo has .hanzo/workflows/release.yml,
so .github/workflows/cicd.yml was never read and no hanzo.yml gate ran.
Move the caller next to release.yml, pin hanzoai/ci build.yml at v2.1.21
(the release hanzo-inc/cloud's forge caller runs), and give the gates an
xl runner.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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