Repository navigation
Description
Split from #5148.
Problem: _VERSION_RANGE_MARKERS and _VERSION_WILDCARD in src/devops_cli/ai/review/pipeline.py, _VAULT_AUTH_LOGIN_PATH in src/devops_cli/security/vault_lease.py, and EmbeddingCost and EmbeddingResult in src/devops_cli/ai/rag/embeddings.py lose their last callers when #4849 merges. Why deferred: #4849 has not merged, so the callers still exist and a deletion now breaks the build. Acceptance criteria: each of the five names is absent from src; a test imports each module and asserts that hasattr is False; uv run pytest tests/ai/agents/test_ai_agent_capabilities.py passes after the rows at lines 73-100 that use the two embedding models go. The work waits on #4849.
Proposed design
Problem statement
Delete the five names that #4849 leaves dead, after #4849 merges. The names are _VERSION_RANGE_MARKERS and _VERSION_WILDCARD in src/devops_cli/ai/review/pipeline.py, _VAULT_AUTH_LOGIN_PATH in src/devops_cli/security/vault_lease.py, and EmbeddingCost and EmbeddingResult in src/devops_cli/ai/rag/embeddings.py. Remove the rows at lines 73-100 of tests/ai/agents/test_ai_agent_capabilities.py that use the two embedding models. The work waits on #4849.
Acceptance criteria
Requirement: Dead names removed
The five dead names SHALL be absent from src.
Scenario: Import checks
- WHEN a test imports
devops_cli.ai.review.pipeline,devops_cli.security.vault_leaseanddevops_cli.ai.rag.embeddings - THEN
hasattrreturnsFalsefor_VERSION_RANGE_MARKERS,_VERSION_WILDCARD,_VAULT_AUTH_LOGIN_PATH,EmbeddingCostandEmbeddingResult.
Requirement: Capability test updated
The capability test file SHALL drop the rows at lines 73-100 that use the two embedding models and pass its test run.
Scenario: Capability test passes
- WHEN
uv run pytest tests/ai/agents/test_ai_agent_capabilities.pyruns after the rows at lines 73-100 are removed - THEN the command exits 0.
Existing Tool Considered
No alternatives check has run. The item is a refactor that deletes five private names. No open, maintained tool or library covers the need, and the item builds no new code.
Key questions
None.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 20, 2026
Both delete dead code in src, but the candidate targets five names blocked by #4849 while #5148 covers the broader set left by #1910.devops-cli-service commentedon Nov 20, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.