ci: switch all workflows to hanzo-build ARC runners, fix stale iching refs

- Replace ubuntu-latest with hanzo-build across all 11 workflow files
- Fix IChingTool → ZenTool references in test-hanzo-mcp and test-hanzo-tools
This commit is contained in:
2026-03-06 14:42:06 -08:00
parent d63f961a42
commit 4c8b36fab9
11 changed files with 40 additions and 40 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ on:
jobs:
lint:
name: lint
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
@@ -32,7 +32,7 @@ jobs:
test:
name: test
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
+2 -2
View File
@@ -22,7 +22,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
with:
@@ -56,7 +56,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: hanzo-build
needs: build
steps:
- name: Deploy to GitHub Pages
+1 -1
View File
@@ -17,7 +17,7 @@ on:
jobs:
generate:
runs-on: ubuntu-latest
runs-on: hanzo-build
permissions:
contents: write
pull-requests: write
+10 -10
View File
@@ -40,7 +40,7 @@ on:
jobs:
test-hanzo-network:
name: Test hanzo-network
runs-on: ubuntu-latest
runs-on: hanzo-build
timeout-minutes: 5
defaults:
run:
@@ -66,7 +66,7 @@ jobs:
test-hanzo-mcp:
name: Test hanzo-mcp
runs-on: ubuntu-latest
runs-on: hanzo-build
timeout-minutes: 5
defaults:
run:
@@ -97,7 +97,7 @@ jobs:
test-hanzo-aci:
name: Test hanzo-aci
runs-on: ubuntu-latest
runs-on: hanzo-build
timeout-minutes: 5
defaults:
run:
@@ -126,7 +126,7 @@ jobs:
test-hanzo-memory:
name: Test hanzo-memory
runs-on: ubuntu-latest
runs-on: hanzo-build
timeout-minutes: 5
defaults:
run:
@@ -153,7 +153,7 @@ jobs:
integration-test:
name: Integration Test
needs: [test-hanzo-network, test-hanzo-mcp, test-hanzo-aci, test-hanzo-memory, test-hanzo, test-hanzo-repl]
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
@@ -182,7 +182,7 @@ jobs:
lint:
name: Lint Hanzo Packages
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
@@ -237,7 +237,7 @@ jobs:
test-hanzo:
name: Test hanzo (main package)
runs-on: ubuntu-latest
runs-on: hanzo-build
timeout-minutes: 5
defaults:
run:
@@ -267,7 +267,7 @@ jobs:
test-hanzo-repl:
name: Test hanzo-repl
runs-on: ubuntu-latest
runs-on: hanzo-build
timeout-minutes: 5
defaults:
run:
@@ -303,7 +303,7 @@ jobs:
name: Auto-Publish New Versions
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: [test-hanzo-network, test-hanzo-mcp, test-hanzo-aci, test-hanzo-memory, test-hanzo, test-hanzo-repl, integration-test]
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
@@ -326,7 +326,7 @@ jobs:
name: Publish to PyPI (Tag)
if: startsWith(github.ref, 'refs/tags/')
needs: [test-hanzo-network, test-hanzo-mcp, test-hanzo-aci, test-hanzo-memory, test-hanzo, test-hanzo-repl, integration-test]
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
publish-all-packages:
name: Publish All Python Packages
runs-on: ubuntu-latest
runs-on: hanzo-build
needs: test # Only publish if tests pass
if: always() && !cancelled()
+7 -7
View File
@@ -16,7 +16,7 @@ concurrency:
jobs:
block-todo-stub-code:
name: "🚫 Block TODO/STUB/FAKE Code"
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
@@ -57,7 +57,7 @@ jobs:
test-no-stubs:
name: "🧪 Anti-Stub Tests"
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
@@ -87,7 +87,7 @@ jobs:
all-tests-must-pass:
name: "✅ ALL Tests Must Pass"
runs-on: ubuntu-latest
runs-on: hanzo-build
strategy:
fail-fast: true # Stop immediately if any test fails
matrix:
@@ -142,7 +142,7 @@ jobs:
code-quality:
name: "🎯 Code Quality Check"
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
@@ -174,7 +174,7 @@ jobs:
function-implementation-check:
name: "🔨 Verify Functions Are Implemented"
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
@@ -213,7 +213,7 @@ jobs:
- all-tests-must-pass
- code-quality
- function-implementation-check
runs-on: ubuntu-latest
runs-on: hanzo-build
if: github.event_name == 'release' || github.ref == 'refs/heads/main'
steps:
@@ -235,7 +235,7 @@ jobs:
name: "📦 Publish to PyPI"
needs: [block-deployment]
if: github.event_name == 'release'
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
+1 -1
View File
@@ -8,7 +8,7 @@ on:
jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
runs-on: hanzo-build
if: github.repository == 'hanzoai/python-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
steps:
+1 -1
View File
@@ -16,7 +16,7 @@ on:
jobs:
test-version-check:
name: Test Version Check
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4
+11 -11
View File
@@ -21,7 +21,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: hanzo-build
env:
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
strategy:
@@ -77,7 +77,7 @@ jobs:
integration-tests:
runs-on: ubuntu-latest
runs-on: hanzo-build
if: |
github.event_name == 'workflow_dispatch' &&
github.event.inputs.run_integration_tests == 'true'
@@ -118,27 +118,27 @@ jobs:
# Test agent tool import and basic functionality
echo "Testing Agent tools..."
uv run python -c "
from hanzo_tools.agent import AgentTool, IChingTool, ReviewTool, TOOLS
from hanzo_tools.agent import AgentTool, ZenTool, ReviewTool, TOOLS
# Verify all tools are available
tool_names = [t.__name__ for t in TOOLS]
assert 'AgentTool' in tool_names
assert 'IChingTool' in tool_names
assert 'ZenTool' in tool_names
assert 'ReviewTool' in tool_names
# Create tool instances
agent = AgentTool()
iching = IChingTool()
zen = ZenTool()
review = ReviewTool()
print(f'Agent tool name: {agent.name}')
print(f'IChing tool name: {iching.name}')
print(f'Zen tool name: {zen.name}')
print(f'Review tool name: {review.name}')
print('All agent tools created successfully!')
"
release-check:
runs-on: ubuntu-latest
runs-on: hanzo-build
needs: [test]
if: github.ref == 'refs/heads/main'
@@ -175,7 +175,7 @@ jobs:
# Test that agent tools can be imported from hanzo_tools.agent
python -c "
from hanzo_tools.agent import AgentTool, IChingTool, ReviewTool, TOOLS
from hanzo_tools.agent import AgentTool, ZenTool, ReviewTool, TOOLS
print(f'Agent tools available: {[t.__name__ for t in TOOLS]}')
print('All agent tools importable!')
"
+2 -2
View File
@@ -15,7 +15,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: hanzo-build
timeout-minutes: 10
strategy:
matrix:
@@ -73,7 +73,7 @@ jobs:
('hanzo_tools.database', 9),
('hanzo_tools.jupyter', 1),
('hanzo_tools.editor', 3),
('hanzo_tools.agent', 3), # agent, iching, review
('hanzo_tools.agent', 3), # agent, zen, review
]
# Shell tool count depends on detected shell, but core tools are fixed.
+2 -2
View File
@@ -9,7 +9,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: hanzo-build
strategy:
matrix:
python-version: ["3.12", "3.13"]
@@ -40,7 +40,7 @@ jobs:
hanzo node --help
lint:
runs-on: ubuntu-latest
runs-on: hanzo-build
steps:
- uses: actions/checkout@v4