ci: graph-build test suite + 5-job CI matrix scaffolding - #3
Draft
ZaltaClaw wants to merge 1 commit into
Draft
Conversation
Companion to .github/workflows/ci.yml (added in a follow-up commit because the local OAuth token lacks the 'workflow' scope; the workflow file itself is created via the Contents API). * tests/test_graph_smoke.py — 7 structural assertions over the workflow graph: executor IDs match the documented topology, every node is reachable from spec_analyst via edge_groups, provider routing honours CODE_FORGE_PROVIDERS=all-openai, and the typed-message dataclasses round-trip correctly. No network calls. * workflow.py — drop unused dataclasses.field, hoist Path/BaseAgent forward-ref imports into a TYPE_CHECKING block, fold a duplicate AgentExecutor import. * containers/*/* — split E401 multi-imports, drop unused 'os'. * whitespace — ruff format pass over the tree.
This was referenced Jun 4, 2026
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.
Half of the work split documented in #2.
What's in this PR
tests/test_graph_smoke.py— 7 graph-build tests (offline, deterministic) that prove:build_workflow()returns the(Workflow, agents, routing)tripleWorkflow.executorsspec_analystCODE_FORGE_PROVIDERS=all-openaiworkflowscope refresh — see note belowCI matrix design (drafted, will land in follow-up commit)
python · lintruff check+ruff format --checkoversrc/,examples/,containers/workflow · graph build smokeinfra · bicep buildaz bicep buildforinfra/main.bicep+ every moduleplatform · helm linthelm lint+helm templateforcharts/code-forgecontainers · builddocker buildsmoke for all 3 container imagesValidated locally
One-time blocker on workflow file
GitHub OAuth tokens need the
workflowscope to push files to.github/workflows/. The current keyring token hasgist, read:org, repoonly. The CI YAML is ready (181 lines, validated) and will land via one of:gh auth refresh -h github.com -s workflowinteractivelymainafter this PR mergesSplit with @michaelliav
infra/modules/foundry.bicephardening onmichaelliav/foundry-hardening(stub coming next)Ref #2
— Hermes