Skip to content

test: FR-007 Eventually tests + full CI/CD + v0.5.0 release#17

Open
ZoneCNH wants to merge 4 commits into
mainfrom
ci/sre-cicd-pools-20260618
Open

test: FR-007 Eventually tests + full CI/CD + v0.5.0 release#17
ZoneCNH wants to merge 4 commits into
mainfrom
ci/sre-cicd-pools-20260618

Conversation

@ZoneCNH

@ZoneCNH ZoneCNH commented Jun 18, 2026

Copy link
Copy Markdown
Owner

[module: testkitx]

Changes

  • test: add pkg/testkitx/eventually_test.go — FR-007 Eventually unit tests (8 subtests, coverage 0%→100%). Signature *testing.Ttesting.TB (backward compatible) to make the fail path testable. Closes the AC-007/TC-007 gap.
  • ci: deploy full CI/CD (.github/workflows/ci.yml) — preflight/build/test/lint/boundary/testkitx-gates (no-production-import / contract / golden-update-guard / coverage-threshold / deps-tidy / gitleaks) / integration / secret-scan / evidence / release pipeline, all on sre/foundation-l1 (CI) / sre/deploy (CD). Removed duplicate integration.yml.
  • chore: release v0.5.0 — version.go / .repo-contract.yaml v0.4.0→v0.5.0, CHANGELOG.

Verification

  • go build ./... / go vet ./... / go test ./... -race -count=1: all exit=0
  • Total coverage: 92.6% (NFR-002 ≥80% met)
  • eventually.go Eventually: 100% (was 0%)

Release

Tag v0.5.0 pushed; release CI (release.yml + ci.yml release-publish) will create the GitHub release.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

ZoneCNH and others added 4 commits June 18, 2026 10:13
Align CI/CD execution with the shared SRE pool contract and keep release jobs on deployment capacity.

Constraint: Base modules must run CI/CD on sre/* machine pools.

Confidence: high

Scope-risk: moderate

Directive: Keep module CI jobs pinned to their module-specific sre/* pool and release jobs on sre/deploy.

Tested: YAML parse and runner policy scan across present base modules; git diff --check across present base modules; targeted Go checks for kernel, bootstrap, ossx, clickhousex, and postgresx.

Not-tested: Full Go test/vet was not rerun for every unchanged-code module; xlib-harness and xlib-evidence are absent locally.
Eventually signature *testing.T→testing.TB (backward compatible: *testing.T
implements testing.TB) to make the fail path testable. Adds 8 subtests covering
all AC-007 branches: success within timeout, timeout failure, zero/negative
timeout single-check, nil predicate, default interval.

Closes the FR-007 / AC-007 / TC-007 coverage gap (eventually.go was 0%).

Co-Authored-By: Claude <noreply@anthropic.com>
Replace minimal ci.yml with the complete template (module/testkitx/ci-workflow.yaml):
preflight, build, test, lint, boundary (xlibgate trust), testkitx-gates
(no-production-import / contract / golden-update-guard / coverage-threshold /
deps-tidy), integration, secret-scan, evidence, release pipeline — all on
sre/foundation-l1 (CI) / sre/deploy (CD) pools. Remove duplicate integration.yml.

Co-Authored-By: Claude <noreply@anthropic.com>
- version.go / .repo-contract.yaml: v0.4.0 → v0.5.0
- CHANGELOG v0.5.0: Eventually tests (FR-007), full CI/CD, acceptance evidence
  (build/vet/race exit=0, coverage 92.6%, AC/TC 001-010 all passing)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant