Skip to content

ci: single test:acceptance aggregate so CI and release cannot drift (#81) - #97

Merged
huiyu merged 1 commit into
3.0from
fix/10-release-test-aggregate
Aug 25, 2026
Merged

ci: single test:acceptance aggregate so CI and release cannot drift (#81)#97
huiyu merged 1 commit into
3.0from
fix/10-release-test-aggregate

Conversation

@huiyu

@huiyu huiyu commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Campaign-3 fix #2 — release-workflow suite coverage (from the third review pass).

The release tag gate ran project-context/registry/cross-review but not test:github-first, test:profiles, or test:regression-judge — so a release could pass while the profile-composition and judge contracts regressed. (CI also omitted test:github-first.)

Fix

  • New package.json test:acceptance aggregate lists every required suite.
  • Both ci.yml and release.yml now delegate to npm run test:acceptanceone source of truth, no drift.
  • A new workflow test asserts test:acceptance covers every required suite and that both workflows call it (so the anti-drift guarantee is itself tested).

Verification

npm run test:acceptance green end-to-end (exit 0), including the three previously-omitted suites.

🤖 Generated with Claude Code

 release-suites)

The release tag gate omitted test:github-first, test:profiles, and
test:regression-judge (and CI omitted test:github-first), so a release could pass
while the profile-composition and judge contracts regressed. Introduce a
package.json `test:acceptance` aggregate listing every required suite; both
ci.yml and release.yml now delegate to it — one source of truth, no drift.

A new workflow test asserts test:acceptance covers every required suite and that
both workflows call it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KwyFyRC6pepaK6DuMK7YeT
@huiyu
huiyu merged commit 22cdf48 into 3.0 Aug 25, 2026
1 check passed
@huiyu
huiyu deleted the fix/10-release-test-aggregate branch August 25, 2026 03:00
huiyu added a commit that referenced this pull request Aug 25, 2026
…docs to the test:acceptance aggregate

- readiness doc: the "Residual risks" section was stale (missing R5, pre-campaign-3
  descriptions, and a stale "CI runs five / release runs three" line contradicting
  #97). Rewritten as R1–R5 plus explicit post-3.0 deferrals (#47, the PRD→registry→
  scope runtime harness), and the CI/release line now states both use test:acceptance.
- docs/testing.md + docs/testing_cn.md: the "Fast Deterministic Checks" block listed
  a stale subset of suites. Replaced with the single `npm run test:acceptance`
  aggregate (matching the doc's own "don't copy directory listings" philosophy),
  noting the binary-gated live tests skip when the model binary is absent. CN twin
  updated in the same commit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KwyFyRC6pepaK6DuMK7YeT
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