Repository navigation
Description
Is there an existing issue for this?
I searched open and closed issues and PRs. #12 introduced the classifier and tests; #124 automated a different release-validator suite. Manual runs in later PRs do not provide required automation for this suite.
Current behaviour
At 70fea84f5becfb57463247af09790df5ddd424f8, ci/checks/test_classify_merge_profile.py:56 contains 24 test methods. The classifier selects the validation profile and whether source validation is required.
The required workflows and CI scripts contain no invocation or generic test discovery that runs this suite. core-checks.yml:154 invokes the adjacent test_libbitcoinpqc_build_policy.py suite instead. Relevant PR descriptions show manual classifier-test runs, so the gap is missing automation, not never-tested code.
A classifier regression could route a change to insufficient validation while tests intended to catch that regression remain idle.
Expected behaviour
Required CI executes the existing classifier suite for changes that can affect classification, and a failure blocks the required gate.
Steps to reproduce
- Read the pinned classifier and its test module.
- Search
.github/workflows,ciand test-discovery entry points for invocations oftest_classify_merge_profile.pyor discovery that includes it. - Compare the adjacent suite invocation linked above with the absence of a classifier-suite invocation.
These are source-review steps. No tests were executed during the research sweep.
Proposed change
Invoke python3 ci/checks/test_classify_merge_profile.py in an appropriate required source-validation path and preserve failure propagation to the required gate. Keep this scoped to wiring the existing suite.
Acceptance
- Required CI executes all 24 current classifier test methods.
- An intentionally failing assertion in the classifier suite causes the required gate to fail.
- Existing classification behavior and unrelated lightweight profiles remain unchanged.
Verify the real workflow's failure propagation; do not assume that a particular allowlist edit fails a particular assertion.
Consensus implications
None. CI wiring only.
How did you obtain qbit?
Other — source review.
What version of qbit are you using?
70fea84f5becfb57463247af09790df5ddd424f8.
Operating system and version
Not applicable; source review without a runtime reproduction.
Activity
kiwidream commentedon Sep 18, 2026
Done on
1.x.xby #160 (mergea2efbc19d6), which did not auto-close this because it targets a non-default branch. Theclassify-changesjob now runspython3 ci/checks/test_classify_merge_profile.py -vbefore producing routing outputs, so a failing suite fails that job and therefore the Required Merge Gate (needs: classify-changesplus the explicit result check). The gate run fora2efbc19d6logged all 24 classifier tests and the 5 workflow-contract tests passing. Failure propagation is proved byci/checks/test_classifier_ci_contract.pyagainst the real step and gate shell; a hosted red-assertion demonstration was not run. Closing.