Skip to content

fix(ci): fail-to-pass needs no proof when a gate check is deleted #6456

Closed

Description

@dan-petty

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:

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

  1. Check out a branch whose only change under tests/gate/*_checks/ deletes one check_* function, with no change under src/.
  2. 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 k8s row 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-pass exits 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) and docs/TESTING.md state 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.

Source: https://github.com/dan-petty/devops-cli/blob/fda047828/src/devops_cli/ci/fail_to_pass.py#L289-L299

Activity

  1. added
    type/bug
    scope/ci
    source/agent
    on Nov 19, 2026
  2. dan-petty commented on Nov 19, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. The bug blocks a valid fix pull request from passing CI, but it affects only the narrow case of deleting a gate check function.
    • Related: fix(ci): Ask for a fail-to-pass proof only for source code #6207, which asks for a different change. 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.
  3. added
    status/new
    value/medium
    effort/medium
    priority/p1-high
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 19, 2026
  4. added
    status/in-review
    and removed
    status/in-progress
    on Nov 19, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 19, 2026
  6. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-20 00:02 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p1-highscope/cisource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions