Repository navigation
Correct four comments that name the wrong author word, a missing function or a false reason, or tell history - #7131
Merged
Merged
Conversation
…tion or a false reason, or tell history - `lf-activity.js`'s header said a row names the user "You"; `actorOf` writes "Me", the glossary's author word. - `findings.py` pointed the `not-a-widget` and `not-an-element` refusals at `tasks.task_error`, which doesn't exist; the to-do check is `todos.todo_error`. - `http.py` said an undrained body "would be read as the next request line on a reused connection". uvicorn's h11 protocol discards body data once the response is done, as the class docstring says. The flag closes the connection so the transport doesn't drain a body the peer may never finish sending, as the keyless 1 GiB POST in `test_a_user_without_the_key_reads_and_writes_nothing` shows. - `packages/diagram/defaults.css` told how its rules left the default theme and the incident behind the fade's stop. The comments keep the rule and its reason. Comments only; no behavior changes.
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.
Four comments the nightly survey found wrong or out of place. Comments only; no behavior changes.
lf-activity.jsheader said a row names the user "You".actorOfwrites "Me", the glossary's author word.findings.pypointed thenot-a-widgetandnot-an-elementrefusals attasks.task_error, which doesn't exist; Move theleaf taskcommands into tasks and the forks lane into leases, so todos, plans and forks import only downward #7121's newtasks.pymade that pointer actively misleading. The to-do check istodos.todo_error.http.pybody_unreadsaid an undrained body "would be read as the next request line on a reused connection". uvicorn's h11 protocol discards a request's body data once the response is done (h11_impl.py, theh11.Databranch checksour_state is h11.DONE), asPageEndpoint's docstring already says. What the flag does is close the connection so the transport doesn't drain a body the peer may never finish sending, whichtest_a_user_without_the_key_reads_and_writes_nothingexercises with a keyless POST declaring 1 GiB. Both comments now give that reason, so a later reader neither removes the flag as redundant nor copies it for the wrong reason.packages/diagram/defaults.csstold how its rules left the default theme and the incident behind the fade's 30% stop. RootAGENTS.md, "Where instructions live", puts that in commit history; the comments keep the rule and its reason.Verified with pre-commit on the four files (ruff, oxfmt, eslint, typos).