Repository navigation
CI: a change on one side of the sminos/devcloud pair runs the other side's reader test - #593
Merged
Merged
Conversation
…ide's reader test sminos/tests/test_on.py imports devcloud's vm parser (devcloud/driver/cli.py), and devcloud's test_driver_owner.py runs this tree's sminos CLI for who --thread; each ran only under its own plugin's paths, so a change on one side alone could break the other and show red on a later, unrelated pull request. devcloud-unit (under 2 min) now also runs on sminos/skills/sminos/scripts/**, and a new gate sminos-on-devcloud runs test_on.py alone (about 15 s) on devcloud/driver/**. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Since #591 two tests read the other plugin's code from this tree, and each ran only under its own plugin's paths:
sminos/tests/test_on.pyimports devcloud'svmparser (devcloud/driver/cli.py);devcloud/tests/unit/test_driver_owner.pyruns this tree's sminos CLI forwho --thread.A change on one side alone could break the other side's test, and the red would first show on a later pull request that did not cause it.
Change (
.github/ci-kit.ymlonly):devcloud-unit(under 2 min) also runs onsminos/skills/sminos/scripts/**. A sminos change already waits about 10 min for its own gates, so this adds no wait.sminos-on-devcloudrunstest_on.pyalone (about 15 s in CI) ondevcloud/driver/**. The file's own part,sminos-suites-c, takes about 10 min; puttingdevcloud/driver/**in its paths would have taken a devcloud change's wait from about 3 min to 10.sminos-on-devclouddoes not select itself on this pull request (no file underdevcloud/driver/), so it was run once on this head by name withci-gate --gates sminos-on-devcloud.Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)