Repository navigation
fix(ci): devops ci test expands or refuses a path argument - #2879
Merged
Merged
Conversation
A mistyped or renamed path mapped to no test and gave a green exit. The command now exits 1 and names the path. A trigger file that is gone still forces the full run.
Owner
Author
|
Test results
Review findings
|
…ctory-verifies # Conflicts: # tests/commands/test_ai_cmd.py
Main fails this test: the second read of capsys is empty after the first. The merge of two pull requests made this. The test reads the output once.
Owner
Author
|
Main fails |
dan-petty
marked this pull request as ready for review
October 31, 2026 15:45
…ctory-verifies # Conflicts: # tests/commands/test_ai_cmd.py
Owner
Author
|
Main fixed the chat helper test in #2876. This branch took the main version after a merge, so it carries no change to that test now. |
dan-petty
pushed a commit
that referenced
this pull request
Oct 31, 2026
🤖 I have created a release *beep* *boop* --- ## [0.28.0](v0.27.0...v0.28.0) (2026-10-31) ### Features * **ai:** preview requests in dry run for rag ingest analyze ([#2873](#2873)) ([c53bcec](c53bcec)), closes [#2244](#2244) * **ai:** preview requests in dry run for runs cost cache ([#2884](#2884)) ([0df9777](0df9777)) * **roadmap:** the Service marks green stage drafts ready ([#2882](#2882)) ([63fae06](63fae06)), closes [#2865](#2865) * **roadmap:** tool log names the reason of a retried call ([#2875](#2875)) ([03d3dc5](03d3dc5)), closes [#2866](#2866) ### Bug Fixes * **ci:** devops ci test expands or refuses a path argument ([#2879](#2879)) ([884a80b](884a80b)), closes [#2868](#2868) * **roadmap:** cap output and deadline of a step model call ([#2881](#2881)) ([0c4bd3a](0c4bd3a)), closes [#2869](#2869) --- 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.
devops ci testnow checks each path before it selects tests.tests/runs the test modules inside it, at any depth. A directory ofsrc/runs the tests that cover the modules inside it.src/andtests/, and a path that does not exist exit with status 1. The error names the path, and no pytest starts.--fallbackdoes not change this.conftest.py, still forces the full run. A file that exists and maps to no test, such asREADME.md, still exits 0 with a note.ci.ymlrunsuv run devops ci test tests/invariants.Before this change,
devops ci test tests/invariantsprinted that nothing was to verify and exited 0. A green exit now means that a test ran.The change is planned and archived as
ci-test-selectioninopenspec/.Closes #2868