Repository navigation
fix(roadmap): type-check in the step as the gate does - #3100
Merged
Merged
Conversation
…3090) The step type-checked every changed Python file with mypy --strict, so a step that changed a test file stopped on old errors of the test tree. It now takes the paths and options from src/devops_cli/ci/typecheck.py, the definition that the typecheck row of devops ci uses.
The prompt, the help text of devops roadmap implement and k8s/README.md now say that a step runs mypy on the changed files under src, as the gate does, and no type check on a test file.
…e-gate-type-check
Owner
Author
|
Fail-to-pass: Tests on the branch:
Review findings:
|
dan-petty
marked this pull request as ready for review
November 1, 2026 20:25
dan-petty
pushed a commit
that referenced
this pull request
Nov 1, 2026
🤖 I have created a release *beep* *boop* --- ## [0.37.4](v0.37.3...v0.37.4) (2026-11-01) ### Bug Fixes * **roadmap:** type-check in the step as the gate does ([#3100](#3100)) ([6e8b4ca](6e8b4ca)), closes [#3090](#3090) ### Code Refactoring * **cli:** delete five unused definitions from src ([#3086](#3086)) ([3e23dd9](3e23dd9)) --- 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>
This was referenced Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The implement step ran
mypy --stricton every changed Python file. A step that changed a test file stopped on old errors of the test tree. The gate (devops ci) type-checkssrconly.Now one module,
src/devops_cli/ci/typecheck.py, defines the type check of the gate: the paths, the options and the command line. The rowtypecheckofdevops ciand the implement step both build their command from it. The step runsmypywith the options of the gate on the changed files undersrc/. It runs no type check on a test file.ruff checkandruff formatstay on every changed Python file.The prompt, the help text,
k8s/README.mdand the generated documents say what the step type-checks. A drift test fails if the step and the gate differ.Closes #3090