Repository navigation
Closed
Description
Problem
ci.yaml covers core, the cmd/* binaries, plugin profiles, iptables rules, tests/ (Python) and the shell scripts. Several parts of the repo still have no CI coverage, and some existing checks can't fail. A regression in any of these areas merges without a signal.
Gaps found (audited against main, 2026-10-29)
Tests that exist but never run in CI
-
core/storage/redis: a separate Go module, listed ingo.work, with a miniredis-backed test (TestGetSet, …).go-ci-corerunsgo test ./...insidecore/, and that skips nested modules, so no job runs these tests. Onlygo-tidy-checklooks at this module. -
deploy/sparc-service: 6 pytest files (test_api.py,test_engine.py,test_providers.py, …). Thepython-testjob only runspytest tests/.build.yamlbuilds the image onmain/tag pushes but doesn't run the tests. -
deploy/lineage-attach/test/propagation: a propagation harness (run.sh,driver.py, …). No workflow references it.
Code no CI job builds
-
demos/echo,demos/finance-sparc,demos/ibac: Go modules with no build or vet step. Onlygo mod tidy -difftouches them, so they can break silently againstcoreAPI changes. - Container images:
build.yamltriggers only on pushes tomain/tags and onworkflow_dispatch. A Dockerfile break (authbridge, authbridge-envoy, authbridge-lite, authbridge-cpex, proxy-init, sparc-service) shows up only after merge. A PR-timedocker buildwith no push would catch it earlier.
Checks that can't fail
-
pre-commitruns withcontinue-on-error: true(TODO: Remove continue-on-error after fixing pre-existing style issues repo-wide), so lint and style findings never block a PR. -
security-scans.yamlhas acontinue-on-error: truestep too (waiting on Dependency Graph).
Platform and coverage
- macOS:
go-ci-core-macosruns onlypeerprocand part oftlsbridge.cmd/cortexandcmd/agentopare laptop tools, but nothing builds or tests them on macOS. - No coverage reporting or ratchet: tests run with
-cover, but no job reports the numbers or enforces a floor. test: CI coverage gate for abctl and authbridge-proxy #958 tracks this, but it namescmd/abctlandcmd/authbridge-proxy, which no longer exist. It should be retargeted tocmd/cortex,cmd/agentopandcore.
Proposed approach
- Add the cheap wins first: a
go testjob forcore/storage/redis, a pytest job fordeploy/sparc-service(skipping or marking the watsonx integration test that needs credentials), andgo build/go vetfordemos/*. - Add a PR-time
docker buildmatrix (no push), path-filtered the same waygo-ci-cpexis. - Fix the pre-existing pre-commit findings, then drop
continue-on-error. - Widen the macOS job to build and test
cmd/cortexandcmd/agentop. - Retarget test: CI coverage gate for abctl and authbridge-proxy #958 and add coverage reporting on PRs.
A guard would also help: a test that fails when a go.mod or test directory exists that no workflow references. ci.yaml already records that cortex-praxis "was in no workflow at all, which is how it ended up broken". This would stop the next module from drifting the same way.
Related
- test: CI coverage gate for abctl and authbridge-proxy #958: CI coverage gate (stale paths)
- test: release smoke test on Linux CI runners #957: release smoke test on Linux CI runners (closed)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
ci: close CI coverage gaps (#1557)