Repository navigation
Closed
Labels
effort/mediumEffort Mediumpriority/p0-criticalPriority P0: a release blocker or a critical defectscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/highValue High: the delivery of the item matters much
Description
Problem
Owner, 2026-11-17: "make sure you aren't writing tests for changes that aren't to src and fix fail to pass accordingly".
A test that fails on base is a proof only for a change of code. Today three places ask for one when the change is no code:
.github/workflows/fail-to-pass.ymlruns for a fix pull request that changes any path undersrc/outside the knowledge base. Prompts (src/devops_cli/ai/tasks/*.md), tool lockfiles and pins (src/devops_cli/tools_lock/), templates, design tokens, persona files and rule data are undersrc/and are no code, so a fix that changes only them must bring a test that fails on base: a test of a value.devops ci fail-to-passreads no changed path outsidetests/, so a local run or a job run asks for the same proof.- The stage rule
changes_source(stage_change.py:588) lets abehaviorgroup change only a non-code path undersrc/, such as a prompt, and the implement step then asks that group for a test that fails on base.plan_read.py:491and the tuicr follow-up section (stage_change.py:3349) read the same rule.
Expected behavior
- One definition of source code: a
.pyfile undersrc/outsidesrc/devops_cli/ai/knowledge_base/. - The Fail-to-Pass workflow runs for a fix pull request that changes source code or a gate check module (
tests/gate/*_checks/), and for no other. devops ci fail-to-passpasses, and says why, when the diff changes no source code and no gate check.- A
behaviorgroup changes source code. A group that changes only a prompt, a lockfile, a template or other data undersrc/isother(ormanifestfor a rule, dashboard or case file), with a validator command or a check command as its proof and no test that reads the file. - docs/TESTING.md and the stage prompt say the same.
Related
- test(k8s): Drop the tests that repeat third-party version pins #6060 (no tests of manifest or config values), fix(roadmap): Stop plan rules that ask for config value tests #6091.
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p0-criticalPriority P0: a release blocker or a critical defectscope/ciGitHub Actions workflows, pre-commit hooks, CI gates, and runnerssource/agentFiled by an agenttype/bugType bug: the code does not do what it mustvalue/highValue High: the delivery of the item matters much
Activity
dan-petty commentedon Nov 17, 2026
The check fails for valid non-code pull requests, causing CI to fail and blocking merges.Both fix the fail-to-pass check triggering on non-code files under src/; the candidate broadens the scope to all non-code files and three code paths, while #5585 addresses only tools.lock.fix(ci): Ask for a fail-to-pass proof only for source code (#6207)
fix(ci): Keep the recorded kind message and read the source rule in t…
fix(ci): Ask for a fail-to-pass proof only for source code (#6207)
fix(ci): Keep the recorded kind message and read the source rule in t…
fix(ci): Leave the stage prompts unchanged; the validator message sta…
devops-cli-service commentedon Nov 17, 2026
Released in v0.173.3: https://github.com/dan-petty/devops-cli/releases/tag/v0.173.3
devops-cli-service commentedon Nov 17, 2026
Live since 2026-11-17 19:36 UTC
fix(roadmap): Tell the stage planner what counts as source code (#6335)