Repository navigation
Restore the facts the frontend comment trim reworded away - #10292
Conversation
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. |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Some tests locate a region of the frontend by indexing on a comment's exact text, so to them a comment is an identifier and deleting one is deleting a symbol. #10114 trimmed ten of them, and 71 tests in tests/studio have been failing on main since it merged. Restored verbatim from 7580935^, comments only. Reflowing counts as deleting here. Most of these were not removed, they were rewrapped onto one line or had a second line dropped, which reads as harmless and breaks the lookup exactly the same way. One was failing silently, which is worse. The deep research contract splits the adapter on "// Project sources auto-scope" rather than indexing it, and split does not raise when the marker is gone, it returns the whole remainder. Four assertions were being checked against about two thousand lines of unrelated source and passing. The suite was green and proving nothing. tests/studio: 7475 passed, 0 failed, from 7404 passed and 71 failed.
|
Pushed main is currently broken and has been since #10114 merged. 71 tests in The cause is that some tests locate a region of a frontend file by indexing on a comment's exact text, for example Ten anchors across three files, restored verbatim from
Most were not deleted outright, they were rewrapped onto one line or lost a second line. That reads as harmless and breaks the lookup identically. One was failing open rather than loud.
I have not audited the other trim PRs for the same class yet. #10113 is clean on it, but #10112, #10115, #10116 and #10118 are not checked. |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
#10297 fixed this properly: the studio slice tests now anchor on the declaration each comment sat above, and slice_between refuses a comment anchor outright rather than failing several frames later. Restoring the comment text only re-synced the literals, which goes red again on the next trim, as that PR sets out. This returns the branch to its one job, the facts #10114 dropped.
|
Reverted my anchor restorations in I had restored the deleted comment text so the old literal markers would resolve again. That gets main green and goes red on the next comment edit, which is exactly the edit #10114 made. #10297 anchors the slices on the declaration each comment sat above and makes This branch is back to its one job, the facts #10114 dropped.
|
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
#10114 trimmed comments across 245 frontend files. It is comment-only and nothing executes differently, but in 32 blocks the rewrite kept the shape and the readability while dropping the one thing in the comment a maintainer could act on.
The shape of it:
True, shorter, and useless to anyone grepping for the constant.
What came back
FORK_COUNT_REFRESH_DEBOUNCE_MS, reduced to "per debounce window".args._server_tool, the stamp that keeps a same-named user function from being treated as a builtin.thinkingConfig.thinkingLevel/thinkingConfig.thinkingBudget, left as the bare field names without the container that makes them findable./api/inference/status.active_modelhad become "mirrored by /status", which is not a route that exists. Also/api/chat/settings.mtp / mtp+ngram / dspark / dflash. The non-terminal run statesqueued / running / cancelling. The On Device sort orders. The version literalsqwen3.5andqwen3.6, where the comment explains an anchored regex and the code tests both.gguf("QuantStack/HunyuanImage-2.1-GGUF")andmodel-catalog-network-check.What I deliberately did not restore
The candidate list came from a heuristic, and seven of its hits are not defects:
studio/backend/...prefix went but a basename that names the file uniquely stayed. That is the shortening this PR was for.Restoring those would have undone the trim rather than repaired it.
Scope and checks
Every change is a comment.
comment_tools.py checkreports 19/19 files code-unchanged against #10114's merge commit. No added line exceeds 120 columns, no em or en dashes. Restored text is taken verbatim fromc44f0fa8b, the tree as it was before #10114 merged, so the wording is the original author's rather than mine.Where #10114's rewrite was an improvement, it stays. This restores the factual clause into the shorter sentence rather than reverting the block, which is why the diff is 76 insertions against 49 deletions rather than a straight revert of 245 files.
One site needed more than a restoration:
use-chat-model-runtime.tshad been left with two overlapping paraphrases of the same block, which are merged back into one.