Skip to content

fix(roadmap): a gate test fails with the self-acceptance rule #3736

Closed

Description

@dan-petty

Problem or Motivation

tests/roadmap/test_roadmap_stage_gates.py::test_a_stage_check_change_with_no_replay_task_is_a_problem_of_the_gate_eval_replay fails on main (Tests & Coverage, shard 2). Two pull requests merged in turn. #3641 made content_problems refuse a behavior group that changes src/devops_cli/roadmap/stage_change.py and holds no self-acceptance test. #3732 added the gate test, in which the sample group changes stage_change.py with no such test. Each pull request passed its own checks. Together they fail: the gate content also finds a problem, so the test sees two gates and not only eval-replay.

Proposed Solution & Architectural Design

Give the changed group in that test a task test that holds StageProposal, content_problems and no problem, so only the gate eval-replay refuses the plan.

Target Subsystem

tests/roadmap/test_roadmap_stage_gates.py

Existing Tool Considered

None needed: a one-line change of a test fixture. Cost: about 2,000 tokens to change and check, about 0 to keep, and about 15 minutes elapsed.

Source: #3668

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/low
    on Nov 6, 2026
  2. dan-petty commented on Nov 6, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/roadmap. The (roadmap) scope of the title gives the scope.
    • Priority: P1-High. A test fails on main, which leaves CI red and blocks merges.
    • Value: Medium. It restores a green CI signal but does not change user-facing behaviour.
    • Effort: Low. The fix is a one-line change to a test fixture, about 15 minutes of work.
    • Related: feat(roadmap): the plan check requires a new rule to accept its own plan #3404, which asks for a different change. Both concern the self-acceptance rule, but #3404 adds the rule while this candidate fixes a test fixture that the rule now breaks.
  3. added
    priority/p1-high
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 6, 2026
  4. removed
    status/in-review
    on Nov 6, 2026
  5. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    Contributor
  6. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-06 06:16 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/lowpriority/p1-highscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions