Repository navigation
Trim comments in the Studio backend tests - #13874
Merged
Merged
Conversation
Comment and docstring changes only, in test files. Taken from #12967 so the test-only part can merge on its own.
Codex Review SummaryThis 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.
Trims verbose and obvious comments and docstrings in the Studio backend tests only. This is the test-only part of #12967, split out so it can merge first, like #13844 and #13859: nothing here ships to users, and the only way a test-comment change can break anything is by failing a test.
Scope
1,220 files: 1,207 under
studio/backend/testsand 13 understudio/backend/hub/tests. 13,767 insertions, 70,284 deletions. No source file outside those test directories changes.studio/backend/hub/tests/test_model_services.pyis left out:mainedited it after #12967 was last verified, so it stays in #12967.How it was checked
comment_tools.py check --changed --strict-ext --allow-docstring-editsagainstmain: 1220/1220 files OK, so code is unchanged in every file and only comments and docstrings differ..find,in,indexOf, regex fragments) that were present in a changed file onmainand are gone here. Every hit was traced; none of the reading files opens a changed test file.scripts/lint_av_shapes.py: 0 new errors.main.mainand on this branch at the same commit (CPU only, so GPU tests skip identically on both), failing test IDs compared:mainstudio/backend/tests+hub/tests(full,-n 16)No test fails on this branch that does not also fail on
main. The failures on both sides come from optional packages missing on the test host and GPU tests with no GPU; the 9 extra passes on this branch are timing-sensitive sandbox and tool-streaming tests that failed on themainrun only.After
mainmoved during that run, it was merged into this branch (mainwins on overlapping lines). The 11 test filesmainhad touched were re-checked against the newmain: comment check 11/11 OK, and those files give 2,072 passed with the same 5 failures on both sides.Comment accuracy was reviewed as part of #12967: every shortened comment was compared with the original text, and lines that lost or changed meaning were corrected before the split.
#12967 keeps the shipped backend part. Once this merges, the same test changes are already on
main, so #12967 shrinks to that part with no conflicts from these files.