Repository navigation
ci: run the CI/CD caller from .hanzo/workflows so the forge sees it - #124
Merged
Merged
Conversation
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]>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #119 (hanzo-inc/cloud#799). Makes the
hanzo.ymlgates,kv-isolationincluded, actually run.Why nothing ran
Actions is now enabled for the
hanzoai/enginemirror on git.hanzo.ai, but enabling it was not enough. Hanzo Git reads workflows from the first of.hanzo/workflowsand.github/workflowsthat exists (WORKFLOW_DIRSin hanzoai/gitmodules/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
cicd.ymlto.hanzo/workflows/, next torelease.yml. Triggers are unchanged: main,v*tags, dispatch.hanzoai/cibuild.ymlatv2.1.21, the release hanzo-inc/cloud's forge caller runs, in place of@v1. Its inputs are the ones@v1had, it provisions the Rust toolchain whenCargo.tomlexists, and it refuses a gate whose test runner reports zero results.class: xlfor 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
hanzo.ymlgates in order:v1-only,fmt,kv-isolation,check.sha-<commit>-amd64and theCargo.tomlversion, or the next patch if that version is already published. A main build never writeslatestor overwrites a published version tag.Nothing deploys:
hanzo.ymldeclares no site or deploy, and production keeps its digest pin in universe.release.ymlis untouched and still runs onvX.Y.Ztags and dispatch. On av*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.