Repository navigation
Description
Problem Description
test_suppressions_stay_under_their_ceilings tells the reader to "raise the ceiling in src/devops_cli/config/defaults.py" (tests/invariants/test_architectural_invariants.py:1416). The ceilings are not in that file. DEFAULT_SUPPRESSION_CEILINGS is at tests/invariants/test_architectural_invariants.py:121-145, and src/devops_cli/config/defaults.py has no suppression ceiling.
The message also offers a higher ceiling as the first other fix. A higher ceiling lowers a quality threshold, and only the owner can allow that (AGENTS.md rule 5). A repair turn of the implement job reads this message: on #1928 (plan PR #5140) the fix was a stub under typings/, not a higher ceiling.
Reproduction Steps
- Add a second
[[tool.mypy.overrides]]entry topyproject.toml. - Run
uv run devops ci test tests/invariants/test_architectural_invariants.py -k suppressions. - Read the assertion text.
Expected vs Actual Behavior
Expected: the message names the file and line of the ceilings, and it names the usual fix for each kind first (for [[tool.mypy.overrides]]: a stub under typings/, as typings/jq.pyi does). It says that only the owner can allow a higher ceiling.
Actual: "[[tool.mypy.overrides]]: 2 > ceiling 1 in [pyproject.toml]. Fix the cause, or raise the ceiling in src/devops_cli/config/defaults.py with a reason recorded in the proposal of the change".
Environment Diagnostics
Main at 0a14161 (release 0.123.0).
Logs, Traces, or Terminal Output
CI of plan PR #5140: job 131340584400 (Tests & Coverage shard 3 of 4) and job 131342060289 (Service Image Tests shard 3 of 6) fail with the text above.
Source: #5140
Activity
dan-petty commentedon Nov 12, 2026
Both concern the suppression ceiling tests, but #849 adds the tests while the candidate fixes the assertion message text within an existing test.test(invariants): name the ceiling file and the usual fix (#5253)
devops-cli-service commentedon Nov 15, 2026
Released in v0.153.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.153.0
devops-cli-service commentedon Nov 15, 2026
Live since 2026-11-15 13:55 UTC