Skip to content
edgesync Check-in [3f4035e5e2]
Login

Check-in [3f4035e5e2]

Overview
Comment:fix(make): ci-fast also tests leaf and bridge sub-modules

leaf/ and bridge/ are separate Go modules (each has go.mod), so 'go test ./...' from repo root does not descend into them. Without this fix, both pre-commit and pre-push hooks would pass even when leaf or bridge is broken — exactly the class of bug the old pre-commit was trying to catch.

Reuse ci-vet (which already runs vet across all three modules) as a dependency, then run -short tests in root, leaf, and bridge sequentially. Sub-module tests run in ~2s each on a dev box; total ci-fast runtime approximately doubles to ~12s (still well under the 60s pre-push budget).

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3f4035e5e2ed8c9f9423d3e8360ef0a3c3dae1fc08574b2cc40017d5223af64f
User & Date: [email protected] on 2026-04-30 13:15:59.000
Other Links: manifest | tags
Context
2026-04-30
13:22
Merge pull request #89 from danmestas/chore/local-dev-hygiene

chore: add local dev hygiene targets and pre-push hook check-in: 5ea1ad56be user: [email protected] tags: trunk

13:15
fix(make): ci-fast also tests leaf and bridge sub-modules

leaf/ and bridge/ are separate Go modules (each has go.mod), so 'go test ./...' from repo root does not descend into them. Without this fix, both pre-commit and pre-push hooks would pass even when leaf or bridge is broken — exactly the class of bug the old pre-commit was trying to catch.

Reuse ci-vet (which already runs vet across all three modules) as a dependency, then run -short tests in root, leaf, and bridge sequentially. Sub-module tests run in ~2s each on a dev box; total ci-fast runtime approximately doubles to ~12s (still well under the 60s pre-push budget). check-in: 3f4035e5e2 user: [email protected] tags: trunk

13:09
fix(hooks): replace broken pre-commit with make ci-fast

The previous pre-commit ran 'go test ./leaf/agent/' from repo root, which fails because leaf is a separate Go module. The hook had been masked by a global core.hooksPath override; activating local .githooks/ via 'make setup-hooks' (added in this PR) exposed the breakage.

Replace with the same pattern as pre-push: 'make ci-fast' (~6s in this repo). Skip with: git commit --no-verify. check-in: 9197f23350 user: [email protected] tags: trunk

Changes