Repository navigation
test(control-plane): per-field CP-02 regressions + README count fix - #110
Merged
Merged
Conversation
…1989 CP-01/02/03 are fixed on main, but CP-02 had one combined regression for merchant, address and currency, so a regression in one field could hide behind the other two. Add one focused test per field. Those three tests move the CI-measured suite from 1986 to 1989, so the snapshot and every live doc claim are derived to the new total. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
EslaM-X
force-pushed
the
fix/cp-02-per-field-tests
branch
from
November 23, 2026 14:48
a2e7584 to
c32e1fe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CP-01, CP-02 and CP-03 are already fixed on main (#103, refined by #104/#105). This PR closes the one gap left in the request: CP-02 had a single combined test for merchant, address and currency, so a regression in one field could hide behind the other two.
Adds three focused tests, one per field, each asserting the named refusal (
MERCHANT_MISSING,ADDRESS_MISSING,CURRENCY_MISSING) against a policy that pins only that field, then a commit that supplies it and succeeds.AMOUNT_REQUIRED(CP-01) and the expiry behaviour (CP-03) already have their own tests; the control-plane file is now 22/22.Also fixes a pre-existing red on main: the daily content sync left
README.md:295at "1724/1724 tests" while the snapshot pins 1972, sodoc-numbersfailed onb0b3fb2. The line now matches the snapshot.Checks: control-plane suite 22/22;
doc-numbers+status-truth14/14. The fullnpm testcannot run in this environment (workspace packages such as@coreguard/canonicalare not installed), so the suite total was not re-measured; it stays at the CI-measured 1972 and will need a refresh on the next full run.