Repository navigation
Description
Problem Description
devops ci fail-to-pass asks for proof when a fix changes a check module under tests/gate/*_checks/, also when the change only deletes a check_* function. A deleted check has no case on the head, so no case can fail on the base and pass on the head. FailToPassReport.satisfied (src/devops_cli/ci/fail_to_pass.py:289-299) then returns false, and the Fail-to-Pass Check of a fix pull request fails.
The documents say that such a change needs no proof:
docs/TESTING.md:65: a deletion gets no test.docs/TESTING.md:219: no Fail-to-Pass rule asks for a test of a manifest or a config value (fix(roadmap): Stop plan rules that ask for config value tests #6080).
The check and the documents disagree for this case. A fix that removes a manifest rule must also delete the gate check that asserted that rule, so the fix cannot get a green Fail-to-Pass Check.
Found on the branch of #6439. That fix removes two labeldrop rules from k8s/llm/gateway/servicemonitor.yaml. It deletes check_the_gateway_endpoint_drops_the_caller_labels, which asserts values of that manifest, from tests/gate/k8s_checks/llm_gateway.py. It adds no check, changes no check and changes no file under src/.
Reproduction Steps
- Check out a branch whose only change under
tests/gate/*_checks/deletes onecheck_*function, with no change undersrc/. - Run
uv run devops ci fail-to-pass --base origin/main.
Expected vs Actual Behavior
- Expected: a changed gate check module with no added or changed case on the head needs no proof, as a change of manifests only needs none (fix(ci): Ask for a fail-to-pass proof only for source code #6207). The command exits 0 and says why.
- Actual: the command replays the
k8srow on the base and on the head, finds no case that fails on the base, and exits 1.
Environment Diagnostics
- DevOps CLI Version: origin/main fda0478
- Branch:
fix/6439-exclude-gateway-caller-labels
Logs, Traces, or Terminal Output
k8s gate row: 0 of 177 cases failed on base, 0 of 177 on head (tests/gate/k8s_checks/llm_gateway.py).
No case of a changed gate check fails on base and passes on head (tests/gate/k8s_checks/llm_gateway.py).Exit status 1.
Pre-Submission Checklist
- I have verified that no sensitive credentials, private keys, or internal tokens are contained in this issue report.
- I have checked existing issues and pull requests to ensure this is not a duplicate.
Acceptance Criteria
- A fix that changes no source code, and whose changed gate check modules only lose
check_*functions (no case is added or changed, by syntax tree), needs no proof.devops ci fail-to-passexits 0 and names the deleted checks. - A fix that adds or changes a gate case still needs a case that fails on the base and passes on the head.
CONTRIBUTING.md(Fail-to-Pass Evidence) anddocs/TESTING.mdstate the rule.
Dependencies
None. Related: #4554 (the replay of the gate row), #6207 (proof only for source code), #6080. The pull request of #6439 shows a red Fail-to-Pass Check until this item is fixed.
Activity
dan-petty commentedon Nov 19, 2026
The bug blocks a valid fix pull request from passing CI, but it affects only the narrow case of deleting a gate check function.Both concern the fail-to-pass proof requirement, but #6207 scopes proof to source code changes while the candidate fixes the case where a gate check deletion still triggers the proof check.fix(ci): a call in the arguments of a left-out decorator needs proof
devops-cli-service commentedon Nov 20, 2026
Released in v0.182.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.182.0
devops-cli-service commentedon Nov 20, 2026
Live since 2026-11-20 00:02 UTC