Repository navigation
Description
Problem Description
src/devops_cli/roadmap/refine/refine.py:3493 calls _repeated_at(item) inside _has_trusted_comment_since_last_round, causing NameError at runtime and breaking lint, typecheck, and uv-check on main.
Commit 44fb86a04 (#7144, closes #6371) removed _repeated_at and replaced it with _read_at(item) (RefineRecordKey.READ_AT). Commit 3bb8a4891 (#7178, closes #6452) merged after 44fb86a04 and introduced _has_trusted_comment_since_last_round, which still references _repeated_at(item) (along with test_roadmap_refine_ready_edits.py using RefineRecordKey.REPEATED_AT and openspec/specs/roadmap-refine/selection/spec.md naming refine.repeated_at).
Reproduction Steps
- Run
uv run devops ci --check --no-cache --only lint,typecheck,uv-checkonorigin/main(ac8bdebdb). - Run
uv run pytest -q tests/roadmap/refine/test_roadmap_refine_ready_edits.py -k trusted_comment.
Expected vs Actual Behavior
Expected: _has_trusted_comment_since_last_round reads RefineRecordKey.READ_AT (_read_at(item) / _since_wait_start), and lint, typecheck, uv-check, and all test_roadmap_refine_ready_edits.py tests pass.
Actual: ruff check fails with undefined-name: Undefined name _repeated_at, mypy fails with Name "_repeated_at" is not defined, uv check fails with unresolved-reference, and test_roadmap_refine_ready_edits.py raises NameError at runtime.
Environment Diagnostics
- DevOps CLI Version:
mainatac8bdebdb - Python Version:
3.14.10 - OS & Architecture: Linux (
x86_64) - Execution Environment: DevContainer
Logs, Traces, or Terminal Output
undefined-name: Undefined name `_repeated_at`
--> src/devops_cli/roadmap/refine/refine.py:3493:16
|
3493 | repeated = _repeated_at(item)
| ^^^^^^^^^^^^
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.
Source
Source: 3bb8a48
Activity
dan-petty commentedon Nov 25, 2026
CI on main is failing for lint, typecheck, and uv-check, which blocks all merges.The regression commit 3bb8a48 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.Both involve refine.repeated_at/read_at in the refine module, but #6378 fixes the wait timing logic and spec alignment while this candidate fixes a NameError from a removed function reference.chore(main): release 0.219.0 (#7177)
devops-cli-service commentedon Nov 25, 2026
Released in v0.219.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.219.0
devops-cli-service commentedon Nov 25, 2026
Live since 2026-11-25 17:09 UTC