Skip to content

Commit 97cc61c

Browse files
committed
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
1 parent 2d9f28c commit 97cc61c

File tree

11 files changed

+40
-40
lines changed

11 files changed

+40
-40
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
lint:
1313
name: lint
14-
runs-on: ubuntu-latest
14+
runs-on: hanzo-build
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -32,7 +32,7 @@ jobs:
3232

3333
test:
3434
name: test
35-
runs-on: ubuntu-latest
35+
runs-on: hanzo-build
3636

3737
steps:
3838
- uses: actions/checkout@v4

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222

2323
jobs:
2424
build:
25-
runs-on: ubuntu-latest
25+
runs-on: hanzo-build
2626
steps:
2727
- uses: actions/checkout@v4
2828
with:
@@ -56,7 +56,7 @@ jobs:
5656
environment:
5757
name: github-pages
5858
url: ${{ steps.deployment.outputs.page_url }}
59-
runs-on: ubuntu-latest
59+
runs-on: hanzo-build
6060
needs: build
6161
steps:
6262
- name: Deploy to GitHub Pages

.github/workflows/generate-api-providers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
generate:
20-
runs-on: ubuntu-latest
20+
runs-on: hanzo-build
2121
permissions:
2222
contents: write
2323
pull-requests: write

.github/workflows/hanzo-packages-ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ on:
4040
jobs:
4141
test-hanzo-network:
4242
name: Test hanzo-network
43-
runs-on: ubuntu-latest
43+
runs-on: hanzo-build
4444
timeout-minutes: 5
4545
defaults:
4646
run:
@@ -66,7 +66,7 @@ jobs:
6666
6767
test-hanzo-mcp:
6868
name: Test hanzo-mcp
69-
runs-on: ubuntu-latest
69+
runs-on: hanzo-build
7070
timeout-minutes: 5
7171
defaults:
7272
run:
@@ -97,7 +97,7 @@ jobs:
9797
9898
test-hanzo-aci:
9999
name: Test hanzo-aci
100-
runs-on: ubuntu-latest
100+
runs-on: hanzo-build
101101
timeout-minutes: 5
102102
defaults:
103103
run:
@@ -126,7 +126,7 @@ jobs:
126126

127127
test-hanzo-memory:
128128
name: Test hanzo-memory
129-
runs-on: ubuntu-latest
129+
runs-on: hanzo-build
130130
timeout-minutes: 5
131131
defaults:
132132
run:
@@ -153,7 +153,7 @@ jobs:
153153
integration-test:
154154
name: Integration Test
155155
needs: [test-hanzo-network, test-hanzo-mcp, test-hanzo-aci, test-hanzo-memory, test-hanzo, test-hanzo-repl]
156-
runs-on: ubuntu-latest
156+
runs-on: hanzo-build
157157

158158
steps:
159159
- uses: actions/checkout@v4
@@ -182,7 +182,7 @@ jobs:
182182
183183
lint:
184184
name: Lint Hanzo Packages
185-
runs-on: ubuntu-latest
185+
runs-on: hanzo-build
186186

187187
steps:
188188
- uses: actions/checkout@v4
@@ -237,7 +237,7 @@ jobs:
237237
238238
test-hanzo:
239239
name: Test hanzo (main package)
240-
runs-on: ubuntu-latest
240+
runs-on: hanzo-build
241241
timeout-minutes: 5
242242
defaults:
243243
run:
@@ -267,7 +267,7 @@ jobs:
267267
268268
test-hanzo-repl:
269269
name: Test hanzo-repl
270-
runs-on: ubuntu-latest
270+
runs-on: hanzo-build
271271
timeout-minutes: 5
272272
defaults:
273273
run:
@@ -303,7 +303,7 @@ jobs:
303303
name: Auto-Publish New Versions
304304
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
305305
needs: [test-hanzo-network, test-hanzo-mcp, test-hanzo-aci, test-hanzo-memory, test-hanzo, test-hanzo-repl, integration-test]
306-
runs-on: ubuntu-latest
306+
runs-on: hanzo-build
307307

308308
steps:
309309
- uses: actions/checkout@v4
@@ -326,7 +326,7 @@ jobs:
326326
name: Publish to PyPI (Tag)
327327
if: startsWith(github.ref, 'refs/tags/')
328328
needs: [test-hanzo-network, test-hanzo-mcp, test-hanzo-aci, test-hanzo-memory, test-hanzo, test-hanzo-repl, integration-test]
329-
runs-on: ubuntu-latest
329+
runs-on: hanzo-build
330330

331331
steps:
332332
- uses: actions/checkout@v4

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
publish-all-packages:
3030
name: Publish All Python Packages
31-
runs-on: ubuntu-latest
31+
runs-on: hanzo-build
3232
needs: test # Only publish if tests pass
3333
if: always() && !cancelled()
3434

.github/workflows/quality-gate.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
block-todo-stub-code:
1818
name: "🚫 Block TODO/STUB/FAKE Code"
19-
runs-on: ubuntu-latest
19+
runs-on: hanzo-build
2020
steps:
2121
- uses: actions/checkout@v4
2222

@@ -57,7 +57,7 @@ jobs:
5757
5858
test-no-stubs:
5959
name: "🧪 Anti-Stub Tests"
60-
runs-on: ubuntu-latest
60+
runs-on: hanzo-build
6161
steps:
6262
- uses: actions/checkout@v4
6363

@@ -87,7 +87,7 @@ jobs:
8787
8888
all-tests-must-pass:
8989
name: "✅ ALL Tests Must Pass"
90-
runs-on: ubuntu-latest
90+
runs-on: hanzo-build
9191
strategy:
9292
fail-fast: true # Stop immediately if any test fails
9393
matrix:
@@ -142,7 +142,7 @@ jobs:
142142
143143
code-quality:
144144
name: "🎯 Code Quality Check"
145-
runs-on: ubuntu-latest
145+
runs-on: hanzo-build
146146
steps:
147147
- uses: actions/checkout@v4
148148

@@ -174,7 +174,7 @@ jobs:
174174
175175
function-implementation-check:
176176
name: "🔨 Verify Functions Are Implemented"
177-
runs-on: ubuntu-latest
177+
runs-on: hanzo-build
178178
steps:
179179
- uses: actions/checkout@v4
180180

@@ -213,7 +213,7 @@ jobs:
213213
- all-tests-must-pass
214214
- code-quality
215215
- function-implementation-check
216-
runs-on: ubuntu-latest
216+
runs-on: hanzo-build
217217
if: github.event_name == 'release' || github.ref == 'refs/heads/main'
218218

219219
steps:
@@ -235,7 +235,7 @@ jobs:
235235
name: "📦 Publish to PyPI"
236236
needs: [block-deployment]
237237
if: github.event_name == 'release'
238-
runs-on: ubuntu-latest
238+
runs-on: hanzo-build
239239

240240
steps:
241241
- uses: actions/checkout@v4

.github/workflows/release-doctor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
release_doctor:
1010
name: release doctor
11-
runs-on: ubuntu-latest
11+
runs-on: hanzo-build
1212
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')
1313

1414
steps:

.github/workflows/test-auto-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
test-version-check:
1818
name: Test Version Check
19-
runs-on: ubuntu-latest
19+
runs-on: hanzo-build
2020

2121
steps:
2222
- uses: actions/checkout@v4

.github/workflows/test-hanzo-mcp.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121

2222
jobs:
2323
test:
24-
runs-on: ubuntu-latest
24+
runs-on: hanzo-build
2525
env:
2626
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
2727
strategy:
@@ -77,7 +77,7 @@ jobs:
7777
7878

7979
integration-tests:
80-
runs-on: ubuntu-latest
80+
runs-on: hanzo-build
8181
if: |
8282
github.event_name == 'workflow_dispatch' &&
8383
github.event.inputs.run_integration_tests == 'true'
@@ -118,27 +118,27 @@ jobs:
118118
# Test agent tool import and basic functionality
119119
echo "Testing Agent tools..."
120120
uv run python -c "
121-
from hanzo_tools.agent import AgentTool, IChingTool, ReviewTool, TOOLS
122-
121+
from hanzo_tools.agent import AgentTool, ZenTool, ReviewTool, TOOLS
122+
123123
# Verify all tools are available
124124
tool_names = [t.__name__ for t in TOOLS]
125125
assert 'AgentTool' in tool_names
126-
assert 'IChingTool' in tool_names
126+
assert 'ZenTool' in tool_names
127127
assert 'ReviewTool' in tool_names
128-
128+
129129
# Create tool instances
130130
agent = AgentTool()
131-
iching = IChingTool()
131+
zen = ZenTool()
132132
review = ReviewTool()
133-
133+
134134
print(f'Agent tool name: {agent.name}')
135-
print(f'IChing tool name: {iching.name}')
135+
print(f'Zen tool name: {zen.name}')
136136
print(f'Review tool name: {review.name}')
137137
print('All agent tools created successfully!')
138138
"
139139
140140
release-check:
141-
runs-on: ubuntu-latest
141+
runs-on: hanzo-build
142142
needs: [test]
143143
if: github.ref == 'refs/heads/main'
144144

@@ -175,7 +175,7 @@ jobs:
175175
176176
# Test that agent tools can be imported from hanzo_tools.agent
177177
python -c "
178-
from hanzo_tools.agent import AgentTool, IChingTool, ReviewTool, TOOLS
178+
from hanzo_tools.agent import AgentTool, ZenTool, ReviewTool, TOOLS
179179
print(f'Agent tools available: {[t.__name__ for t in TOOLS]}')
180180
print('All agent tools importable!')
181181
"

.github/workflows/test-hanzo-tools.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
test:
18-
runs-on: ubuntu-latest
18+
runs-on: hanzo-build
1919
timeout-minutes: 10
2020
strategy:
2121
matrix:
@@ -73,7 +73,7 @@ jobs:
7373
('hanzo_tools.database', 9),
7474
('hanzo_tools.jupyter', 1),
7575
('hanzo_tools.editor', 3),
76-
('hanzo_tools.agent', 3), # agent, iching, review
76+
('hanzo_tools.agent', 3), # agent, zen, review
7777
]
7878
7979
# Shell tool count depends on detected shell, but core tools are fixed.

0 commit comments

Comments
 (0)