Repository navigation
fix(roadmap): a step may not lose a test that existed - #2807
Merged
Merged
Conversation
…2804) A test that moved to another file excused its loss by name. A file that pytest does not collect could hide the loss. Now every test stays in its own file, as the issue asks. A byte order mark at the start of a file no longer makes the check skip the file.
Owner
Author
|
Test results (worktree, after rebase on origin/main):
Review findings:
|
dan-petty
marked this pull request as ready for review
October 31, 2026 00:20
dan-petty
pushed a commit
that referenced
this pull request
Oct 31, 2026
🤖 I have created a release *beep* *boop* --- ## [0.23.0](v0.22.7...v0.23.0) (2026-10-31) ### Features * **review:** confirm finding on human VERIFIED verdict ([#2813](#2813)) ([26203af](26203af)), closes [#2414](#2414) * **roadmap:** intake runs in triage lane on devops-triage model ([#2816](#2816)) ([35e6172](35e6172)), closes [#1534](#1534) * **roadmap:** link candidate from source as a sub-issue ([#2812](#2812)) ([aee2c85](aee2c85)), closes [#2035](#2035) * **service:** each subscribed webhook event runs its scoped update ([#2811](#2811)) ([0564c08](0564c08)), closes [#1533](#1533) ### Bug Fixes * **k8s:** bound the test workers and log the command of a step ([#2809](#2809)) ([2314ef9](2314ef9)), closes [#2806](#2806) * **roadmap:** a step may not lose a test that existed ([#2807](#2807)) ([7d104a5](7d104a5)), closes [#2804](#2804) * **security:** lock graphql-core at 3.3.1 and pyasn1 at 0.6.5 ([#2814](#2814)) ([8234a83](8234a83)), closes [#2808](#2808) ### Code Refactoring * **ai:** seams and fakes for Valkey, Qdrant and embedder ([#2815](#2815)) ([1e03417](1e03417)), closes [#1317](#1317) --- 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 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.
A step of
devops roadmap implementkept no check on the tests of a file. In #2801 the agent replaced a test file and deleted seven tests. All checks passed, because a deleted test cannot fail.This change adds an exit check. For each test file that the step changed, every test that the file held at the start must still be in that file, by qualified name (
test_xorClass.test_x). The standard libraryastlists the names. When a test is lost, the step stops. The reason names the file and the tests. A rename, a deletion and a move to another file all count as a loss. A new file and a file that does not parse do not crash the check. The agent instructions, the help text and theroadmap-implement-stepspec state the rule.Closes #2804