Skip to content

ci: make test planning fail closed and checks non-mutating#64

Merged
loadingalias merged 2 commits into
mainfrom
ci-fail-closed-test-planning
Jul 22, 2026
Merged

ci: make test planning fail closed and checks non-mutating#64
loadingalias merged 2 commits into
mainfrom
ci-fail-closed-test-planning

Conversation

@loadingalias

Copy link
Copy Markdown
Owner

Summary

  • validate Cargo-rail plan and scope contracts before selecting changed-test coverage
  • run workspace tests for planner failures or ambiguous state; only a valid explicit empty scope may skip
  • make workflow consumers run the suite after planner failure and reject unvalidated skips
  • make check and check-all report formatting or lockfile drift without changing the worktree
  • add focused command-selection and dirty-worktree regression coverage

Verification

  • scripts/ci/changed-test-planning-test.sh
  • scripts/ci/check-worktree-test.sh
  • scripts/ci/pre-push-test.sh
  • scripts/ci/check-ci-ownership-test.sh
  • just check-actions
  • just check
  • just test --all (1,675 tests and 210 doctests passed)
  • scripts/test/test-feature-matrix.sh (38/38 profiles passed)
  • just check-all --skip-feature-matrix
  • just push

Only a validated explicit empty scope may skip tests. Planner errors or ambiguous scope data conservatively select workspace coverage across local and workflow consumers.
Use reporting-only formatting and locked Cargo commands so successful and failing validation paths leave pre-existing source and lockfile changes untouched.
@loadingalias
loadingalias merged commit f94e6ef into main Jul 22, 2026
15 checks passed
@loadingalias
loadingalias deleted the ci-fail-closed-test-planning branch July 22, 2026 23:18
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