Repository navigation
Hold a thread list's place by what the user can see, so a reply grows its thread up - #1464
Merged
Merged
Conversation
… its thread up A reply landing in the selected thread moved the thread cards after it and the reply box without input, which `test_incoming_reply_follows_a_selected_thread_before_later_cards` showed on Linux CI. The test passed on macOS only because it runs within 500ms of its own summary click, so Chrome credited every frame to that press; under 6x CPU throttling macOS reports all three moves. Two causes, both measured with the Layout Instability API: - The list's place hold (`user-place.js`) held the card the user had named, by its top, even when that top had scrolled far above the band (the focused summary and the pointer both named it, at -315 to -1131px). Holding a top the user cannot see keeps nothing they see still: the card grew down and pushed every later card, off-screen for a long reply. Now only an item whose top stands in the band can be named or lead the hold; the item the band's top cuts holds the place only where no item begins in view. Held by the first later card, the thread grows up into the room scrolled past and nothing after it moves. - Following (`thread-list.js`) landed the thread's end at the landing band's foot, scrolling by the growth plus whatever it took to bring the reply box into the band. In one frame with the growth, that moved the box and the cards after it. Following now keeps the thread's end where it stood, scrolling by exactly the growth, instantly, in the render's frame. This is the rule #1458 gave a focused reply box, now for every follow, so its focus special case is gone. Behavior that moved: - A followed thread's newest words stand where the latest ones did, rather than the thread's end landing at the band's foot. A reply box below the band stays there. `FOLLOWED` now asserts the newest words are in the landing band. - A reader of later cards keeps those cards where they stood; the test asserted the list's scrollTop was unchanged, which is what pushed them. The known-shift entry for this test keeps only `lf-shortcut`, which another decision owns. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 30, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 9, 2026
…e page (#1784) Typing in a floating comment box scrolled the page whenever the box stood under or over its passage and grew past the room shown on that side. On every content change, `floating-response.js` asked `makeRoom` to scroll the reading region until the whole box fit clear of the passage. A stack-logged probe at 900x700 measured it. With the box over its passage at mid-window, the first keystroke scrolled the page 162px. With the box under a passage near the top, the page scrolled 55px once the box reached the window's foot. The user's rule is that the box moves and the page stays. The comment box's height may now reach the whole boundary on every side, as it already could beside its passage, and growth never spends scroll travel. It grows from the edge that holds it (#1890 holds a landed box by that edge). Once the window stops that edge, shift slides it over its passage, and once it fills the window it scrolls its own words. This is what a box beside its passage already did at the window's foot. Only a thread card opening under or over its target still scrolls to make room. The margin card's reply never scrolled the page while typing; the same probe confirmed that at both widths. Letting the box fill the window exposed a 2px mismatch at Send. The box reserved 2px less beneath its words than the card's reply row takes, so a card capped at the window's height shrank its transcript and shifted the sent words up 2px (`test_send_grows_thread_around_the_words` at 900x600). One token, `--lf-comment-reply-row`, now sizes both. Behavior changes the tests now protect: - `test_typing_moves_the_comment_box_and_leaves_the_page_still` (new) types line by line into a box under and over its passage and checks that the page never scrolls and the box stays in the window. Both cases fail on main. - `test_a_growing_text_comment_keeps_its_side_and_the_page_still` (was `..._keeps_its_passage_clear_without_changing_sides`) and `test_a_text_comment_chooses_above_when_the_page_has_more_room_there` asserted that typing scrolled the page and kept the passage clear. They now assert that the page stays put, and that a later scroll carries the grown box with its passage. - `test_a_wheel_return_attaches_the_comment_box_in_the_first_visible_frame` types a shorter draft. In its pane cases, typing used to scroll the pane to make room under the passage, and the test expected the box there. - `test_where_a_comment_stands_before_and_after_send`'s phone case required the box to overlap its block only when the two couldn't show together, which only held while typing scrolled the page. It now requires a box that overlaps to stand at the window's edge. The assets AGENTS.md "Stability" section now says a floating box grows inside the window and never scrolls the page for its growth. A field in flow, which cannot move apart from the page, still keeps its controls in view. ## Add-on F: one shared reading of where the user works The design review proposed one reading of the user's working point, shared by the card's held edge (`holding`, fed by `drafting` in `margin-projection.js`), the place keeper (`recentPlaceInput` in `user-place.js`) and typing growth. This change doesn't add it. I sorted the place- and landing-hold repairs since 2026-09-23 by the question each answered: - Which edge of the card stays still: #1429, #1536, #1552, #1574, #1587, #1771. #1552 and #1574 fixed how the hold was keyed across a second placement pass and across Send's admission, not which point the user works at. - Which item in a scroller stays still: #1045, #1464, #1480, #1549, #1694, #1715, #1735. - What waits behind a notice: #1473, #1493, #1725, #1738, #1742. - What a landing reveals on entering, sending or typing: #1303, #1364, #1571, #1602, #1624, #1626, #1645. - Whether the box or the page moves as the box grows: #1453 and this one. None of these commits names a case where `drafting` and `recentPlaceInput` disagreed, so a shared reading wouldn't have prevented them. The two readings also differ by design. `drafting` counts words left in the reply and a send still in flight, both of which outlast focus and the pointer. The place keeper deliberately follows whichever of pointer and focus came last. Their outputs differ in kind too: one is an edge of a floating surface, the other a node in a scroller's list. The typing scroll was a question of which thing moves, so it needed no working-point reading. One rule does repeat: a focused control counts as the user's place only while it is on screen. `holdBox` (`reply-landing.js`), the place keeper's "begins in the band" filter, and #1735's resize landing each state it. It is a candidate for a shared predicate, but not the primitive F described. ## Overlap with work in other worktrees `leaf.shift-a-thread-jitter` has uncommitted changes to `comment-placement.js`, `floating.js` and `floating-response.js`, based on #1705. Its `floating-response.js` hunk is small. Its `comment-placement.js` header rewrite overlaps the paragraph this change rewrites, so expect a textual conflict there. `leaf.thread-card-margin-avoidance` is mid-merge in `comment-placement.js` and `margin-projection.js`. Neither touches `makeRoom`'s call from `floating-response.js` or the frame tokens. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
pushed a commit
that referenced
this pull request
Nov 26, 2026
Bumps the dependencies group with 10 updates: | Package | From | To | | --- | --- | --- | | [tree-sitter](https://github.com/tree-sitter/py-tree-sitter) | `0.26.1` | `0.27.0` | | [turbohtml](https://github.com/tox-dev/turbohtml) | `1.15.11` | `1.16.4` | | [watchdog](https://github.com/gorakhargosh/watchdog) | `7.1.0` | `7.1.1` | | [axe-playwright-python](https://github.com/pamelafox/axe-playwright-python) | `0.1.8` | `0.1.9` | | [pyyaml](https://github.com/yaml/pyyaml) | `6.0.3` | `6.0.4` | | [ty](https://github.com/astral-sh/ty) | `0.0.104` | `0.0.108` | | [ruff](https://github.com/astral-sh/ruff) | `0.17.5` | `0.17.6` | | [datamodel-code-generator](https://github.com/datamodel-code-generator/datamodel-code-generator) | `0.96.0` | `0.100.0` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.170.15` | `6.170.17` | | [selenium](https://github.com/SeleniumHQ/Selenium) | `4.52.0` | `4.54.0` | Updates `tree-sitter` from 0.26.1 to 0.27.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tree-sitter/py-tree-sitter/releases">tree-sitter's releases</a>.</em></p> <blockquote> <h2>v0.27.0</h2> <h3>Additions:</h3> <ul> <li><code>Query.copy()</code></li> <li><code>Query.__copy__()</code></li> </ul> <h3>Changes:</h3> <ul> <li><code>LookaheadIterator.current_symbol_name</code> returns <code>None</code> when invalid</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/79cb0b8e43cf12a9cdbd6613956176d1695020a2"><code>79cb0b8</code></a> fix(parser): fix use after free in dealloc</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/a451e3103cee5a2990aeeccf36c04a19b948f284"><code>a451e31</code></a> chore: release 0.27.0</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/811213637ca8c17f52b3e4085cb50236ab4ad6c2"><code>8112136</code></a> fix(types): matches & captures can have keyword arguments</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/08c14760b33ac28705f996d408628f88769700b0"><code>08c1476</code></a> test: add parallelism tests</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/ef4b62ca9e70f6d5f0ce56a59134ee069cf3c4db"><code>ef4b62c</code></a> feat(query_cursor): release the GIL for expensive queries</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/9a4ddce8b34f64da7ad8a3fc1e220bc9c179bd70"><code>9a4ddce</code></a> feat(query): release the GIL for expensive queries</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/3b1a3d5d17870b353a7589cdf063521708aee894"><code>3b1a3d5</code></a> feat(parser): release the GIL for large buffers</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/4a8753910f5bbbd4368ad88fe1357a823506aa53"><code>4a87539</code></a> fix(query): prevent double free of predicate</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/cb92a454132d6dd1cea315e660b8a5b6027561a6"><code>cb92a45</code></a> refactor(node)!: hash nodes based on xxHash</li> <li><a href="https://github.com/tree-sitter/py-tree-sitter/commit/d1707f1f032486f165acbfc9e7431a74d5b7ecab"><code>d1707f1</code></a> refactor(range)!: hash ranges based on xxHash</li> <li>Additional commits viewable in <a href="https://github.com/tree-sitter/py-tree-sitter/compare/v0.26.1...v0.27.0">compare view</a></li> </ul> </details> <br /> Updates `turbohtml` from 1.15.11 to 1.16.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tox-dev/turbohtml/releases">turbohtml's releases</a>.</em></p> <blockquote> <h2>v1.16.4</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li>An empty <code>lang</code> or <code>xml:lang</code> now marks an element's language as unknown, as HTML specifies, so <code>:lang()</code> no longer inherits an ancestor's language through it: <code><div lang=en><p lang=""></code> stopped matching <code>:lang(en)</code>. A quoted empty range, <code>:lang("")</code>, matches elements whose language is unknown or never declared, where it matched nothing before. <code>css_to_xpath</code> translates both the same way (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2556">#2556</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>to_markdown</code> with <code>converters</code> keeps <code>*</code>/<code>**</code> delimiters on emphasis that ends in punctuation unless a converted element writes right after it. Before, passing any converters made such runs fall back to raw <code><em></code> and <code><strong></code> tags, even when no converted element was near them (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2557">#2557</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> </ul> <p><a href="https://pypi.org/project/turbohtml/1.16.4/">🐍 PyPI release</a></p> <p><a href="https://github.com/tox-dev/turbohtml/compare/1.16.3...1.16.4">📜 Full Changelog</a></p> <h2>v1.16.3</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li><code>turbohtml.etree</code> covers three more <code>lxml.html</code> behaviors: <code>ElementTree.iter</code> iterates from the root element, <code>ElementView.nsmap</code> returns an empty mapping, and <code>to_lxml</code> / <code>to_lxml_html</code> strip characters XML cannot carry from text, tails and attribute values instead of raising <code>ValueError</code> or dropping the attribute (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2552">#2552</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>XPath on a <code>from_lxml()</code> copy resolves absolute paths from a document, as lxml does. The copy was a detached tree, so <code>//h1</code> inside a predicate searched only below the predicate's context node and <code>/html</code> matched nothing (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2553">#2553</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>turbohtml.etree</code>'s <code>document_fromstring</code>, <code>fromstring</code> and <code>fragment_fromstring</code> make a <code>\<template></code>'s content its children, as lxml does, and keep a <code>\<template shadowrootmode></code> as an ordinary template instead of attaching a shadow root. Before, <code>len()</code>, iteration and <code>itertext()</code> on a template saw nothing, and a declarative shadow root's content was missing from <code>text_content()</code> and XPath. <code>strip_elements</code> now reaches template content (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2554">#2554</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> </ul> <p><a href="https://pypi.org/project/turbohtml/1.16.3/">🐍 PyPI release</a></p> <p><a href="https://github.com/tox-dev/turbohtml/compare/1.16.2...1.16.3">📜 Full Changelog</a></p> <h2>v1.16.2</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li><code>to_markdown()</code> writes breaks inside emphasis as Markdown hard breaks again when visible text separates them, as in <code><em>[Image OCR]<br>text<br>[End OCR]</em></code>, instead of raw <code><br></code> tags. Only breaks with nothing visible between them, which would end the paragraph, stay tags (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2551">#2551</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> </ul> <p><a href="https://pypi.org/project/turbohtml/1.16.2/">🐍 PyPI release</a></p> <p><a href="https://github.com/tox-dev/turbohtml/compare/1.16.1...1.16.2">📜 Full Changelog</a></p> <h2>v1.16.1</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li><code>rewrite()</code> now raises <code>MemoryError</code> when running out of memory after its first edit, instead of calling the next handler with the error pending, which raised <code>SystemError</code> (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2540">#2540</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>to_markdown()</code> keeps the whitespace of a <code><pre></code>, <code><textarea></code> or <code><listing></code> it writes as raw HTML inside a table cell. The cell's text is folded onto one line, which turned each run of spaces and each line break in such an element into a single space; its line feeds and space runs are now written as character references (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2541">#2541</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>A streaming <code>Tokenizer</code> keeps a long named character reference run in one text token, as <code>tokenize()</code> does, instead of splitting its text once it passed 4096 code points (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2542">#2542</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>minify_css</code> no longer reads memory it never wrote when an allocation fails inside a nested rule's selector or inside a function folded within another function's arguments; it raises <code>MemoryError</code> as everywhere else (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2543">#2543</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>minify_js()</code> raises <code>MemoryError</code> again when an allocation for its scope analysis or fold bookkeeping fails, instead of returning its output (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2544">#2544</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Text nested past the 512-level depth cap keeps its source order when the adoption agency moves its parent back under the cap: <code><a></code>, 500 open elements and eight <code><div></code>s followed by <code><p>y<a>x</code> used to read <code>xy</code> (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2545">#2545</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>A parse that ran out of memory while its open-element stack grew past 64 entries could read past the end of an internal array, and link resolution raised <code>SystemError</code> instead of <code>MemoryError</code> when percent-encoding a link ran out of memory (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2546">#2546</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>The parser keeps the DOM within its documented 512-level cap when the adoption agency moves a subtree, when closing a form or a misnested <code><a></code> removes an element from the middle of the open-element stack, and when it copies a selected option into a deep <code><selectedcontent></code>: such markup used to nest elements past 512 levels, <code><form><div></form></code> repeated 600 times reaching 1019 (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2548">#2548</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Pickling a node no longer recurses once per tree level. A node pickles as one flat list of its subtree's nodes, so a tree at the 512-level depth cap pickles on Python 3.11, where it raised <code>RecursionError</code>, and in a thread with a small stack, where a tree a few hundred levels deep crashed the interpreter on Python 3.11 to 3.13. The payload is a third smaller and both pickling and unpickling are faster; pickles written by earlier releases still load (<a href="https://redirect.github.com/tox-dev/turbohtml/pull/2549">#2549</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tox-dev/turbohtml/blob/main/docs/changelog.rst">turbohtml's changelog</a>.</em></p> <blockquote> <p>########### Changelog ###########</p> <p>.. towncrier-draft-entries:: Unreleased</p> <p>.. towncrier release notes start</p> <p>.. _release-1-16-5:</p> <hr /> <p>v1.16.5 (2026-11-23)</p> <hr /> <p>.. _release-1-16-5-fixed:</p> <h1>Fixed</h1> <ul> <li><code>minify_css</code> merges two rules with the same selector when an <code>@media</code> or <code>@supports</code> block it dropped for a later identical copy was the only thing between them. Before, only minifying the output a second time merged them (:pr:<code>2561</code>) by :user:<code>gaborbernat</code>.</li> <li><code>minify_js</code> with <code>mangle</code> no longer renames a <code>let</code>, <code>const</code> or <code>class</code> onto the name of an unread top-level <code>var</code> declared in the same loop or block, which wrote a redeclaration and so invalid JavaScript, such as <code>for(const a of x)var a</code>. A regression in 1.16.0 (:pr:<code>2562</code>) by :user:<code>gaborbernat</code>.</li> <li>Parsing documents with many unclosed elements and stray end tags no longer takes quadratic time (:pr:<code>2564</code>) by :user:<code>gaborbernat</code>.</li> <li>Resolve absolute XPath expressions from the root of trees built with <code>etree.Element</code> or parsed as single-element fragments with <code>etree.fragment_fromstring</code> (:pr:<code>2560</code>) by :user:<code>gaborbernat</code>.</li> </ul> <p>.. _release-1-16-4:</p> <hr /> <p>v1.16.4 (2026-11-22)</p> <hr /> <p>.. _release-1-16-4-fixed:</p> <h1>Fixed</h1> <ul> <li>An empty <code>lang</code> or <code>xml:lang</code> now marks an element's language as unknown, as HTML specifies, so <code>:lang()</code> no longer inherits an ancestor's language through it: <code><div lang=en><p lang=""></code> stopped matching <code>:lang(en)</code>. A quoted empty range, <code>:lang("")</code>, matches elements whose language is unknown or never declared, where it matched nothing before. <code>css_to_xpath</code> translates both the same way (:pr:<code>2556</code>) by :user:<code>gaborbernat</code>.</li> <li><code>to_markdown</code> with <code>converters</code> keeps <code>*</code>/<code>**</code> delimiters on emphasis that ends in punctuation unless a converted element writes right after it. Before, passing any converters made such runs fall back to raw <code><em></code> and <code><strong></code> tags, even when no converted element was near them (:pr:<code>2557</code>) by :user:<code>gaborbernat</code>.</li> </ul> <p>.. _release-1-16-3:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tox-dev/turbohtml/commit/5ab32d403b0427edf5e8660b023ac124cb49e3c2"><code>5ab32d4</code></a> release 1.16.4</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/630300dfc183795e9791548d76896c7d7c423a1a"><code>630300d</code></a> 🐛 fix(markdown): read past unconverted elements (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2557">#2557</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/42533356e5dc89c86b6f4c21c377f3ccbba7b88c"><code>4253335</code></a> 🐛 fix(css): treat an empty lang as unknown (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2556">#2556</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/216e4886035cd686439bbec338efba805c509ef5"><code>216e488</code></a> 🐛 fix(ci): retry the html5lib-tests clone (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2558">#2558</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/f08ad264ede87e39a3b5f34f4f87cfbee58d6aae"><code>f08ad26</code></a> release 1.16.3</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/ca17e426bdc16bb0ab1f1e19625d61c6a5fe61d4"><code>ca17e42</code></a> 🐛 fix(etree): match lxml on iter, nsmap, to_lxml (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2552">#2552</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/6d39ea5c1c1e2b692fa052e34b367368a72f4838"><code>6d39ea5</code></a> 🐛 fix(etree): expose template content like lxml (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2554">#2554</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/f1541ac3700e65004231bc2e009aac89282b7375"><code>f1541ac</code></a> 🐛 fix(etree): root from_lxml copies in a document (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2553">#2553</a>)</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/9fa4a35d649bf7d2ec1250e6c33ed48cc091af5c"><code>9fa4a35</code></a> release 1.16.2</li> <li><a href="https://github.com/tox-dev/turbohtml/commit/b80b5c3d83d6ce1129ab348c06393b9e00ad584b"><code>b80b5c3</code></a> 🐛 fix(markdown): keep hard breaks in emphasis (<a href="https://redirect.github.com/tox-dev/turbohtml/issues/2551">#2551</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tox-dev/turbohtml/compare/1.15.11...1.16.4">compare view</a></li> </ul> </details> <br /> Updates `watchdog` from 7.1.0 to 7.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gorakhargosh/watchdog/releases">watchdog's releases</a>.</em></p> <blockquote> <h2>7.1.1</h2> <ul> <li>[core] Allow pattern matching to evaluate relative paths against the watched root directory, supporting intuitive non-recursive patterns (e.g. <code>*.json</code>, <code>logs/*.log</code>) under <code>full_match()</code>. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1430">#1430</a> Thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[core] <code>RegexMatchingEventHandler</code> now accepts a single string for <code>ignore_regexes</code>, as it already does for regexes, instead of compiling each character as a separate regex. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1419">#1419</a>, thanks to <a href="https://github.com/arieleven"><code>@arieleven</code></a>)</li> <li>[observers] Fix race condition between <code>Observer.start()</code> and <code>Observer.schedule()</code>, and release observer lock during event handler dispatch to prevent blocking concurrent <code>schedule()</code> and <code>unschedule()</code> calls. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1044">#1044</a>, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[fsevents] Fix compiler warnings in the C extension. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1411">#1411</a>, thanks to <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a>)</li> <li>[inotify] A recursive watch that hits the inotify watch or instance limit (<code>ENOSPC</code>, <code>EMFILE</code>) on a subdirectory raises <code>OSError</code> from <code>start()</code> and <code>schedule()</code> again, as in 6.0.0, instead of silently watching part of the tree. A subdirectory created later that cannot be watched is logged as a warning. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1454">#1454</a>, thanks to <a href="https://github.com/Kernel-Hunter"><code>@Kernel-Hunter</code></a>)</li> <li>[inotify] Defer allocating an observer's inotify instance and reader thread until its first scheduled watch. Empty observers no longer consume inotify instances; resource-limit errors are raised by <code>schedule()</code> rather than construction. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1432">#1432</a>, thanks to <a href="https://github.com/kushaldave002"><code>@kushaldave002</code></a>)</li> <li>[inotify] Do not log an error when <code>InotifyEmitter.queue_events()</code> is invoked while the emitter is inactive. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1462">#1462</a>, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[inotify] Events read before a kernel queue overflow are delivered instead of discarded, ahead of the <code>EventsLostEvent</code>. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1440">#1440</a>, thanks to <a href="https://github.com/KurathSec"><code>@KurathSec</code></a> and <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[inotify] Properly format the duplicate-callback <code>RuntimeWarning</code> message. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1435">#1435</a>, thanks to <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a>)</li> <li>[inotify] Refactor watch tracking from flat string path dictionaries to a hierarchical directory tree (<code>DirNode</code>), making recursive subtree moves atomic operations with cycle detection and ancestor placeholder pruning. ("1459, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[inotify] Report lost events: after a kernel queue overflow, each watch gets an <code>EventsLostEvent</code> for its directory or file, dispatched to the new <code>FileSystemEventHandler.on_events_lost()</code> once the watches are repaired. Pattern and regex handlers (and so tricks) receive it only through <code>on_events_lost()</code>. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1440">#1440</a>, thanks to <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[inotify] Stop watching directories moved out of a watched tree and emit synthetic deletion/moved events for their subdirectories. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/354">#354</a>, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[kqueue] Queue each event once per kqueue wakeup. A move reported the parent <code>DirModifiedEvent</code> twice, and a write reported <code>FileModifiedEvent</code> twice. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1442">#1442</a>, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[kqueue] Register the kevents when the emitter is created, not on the emitter thread's first <code>kqueue.control()</code> call. Deletes, renames and attribute changes made in between were lost, every time on free-threaded Python. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1445">#1445</a>, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[kqueue] Stop the emitter with a <code>DirDeletedEvent</code> when the watched directory is removed or moved, instead of letting its thread die with <code>FileNotFoundError</code>. The kevents read in the same batch are still reported. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1436">#1436</a>, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[windows] A <code>ReadDirectoryChangesW</code> or <code>ReadDirectoryChangesExW</code> buffer overflow is now signalled instead of being silently dropped as zero events. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1019">#1019</a>, thanks to <a href="https://github.com/MohammedAlkindi"><code>@MohammedAlkindi</code></a>)</li> <li>[windows] Deliver events while the watched tree keeps changing: <code>DirectoryChangeReader.get_events()</code> now returns within its timeout instead of waiting until no buffer has arrived for a full timeout. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1469">#1469</a>, thanks to <a href="https://github.com/zzoraemon043"><code>@zzoraemon043</code></a>)</li> <li>[windows] Make the <code>DirectoryChangeReader</code> thread a daemon so an unstopped observer does not block interpreter exit. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1470">#1470</a>, thanks to <a href="https://github.com/devskad"><code>@devskad</code></a>)</li> <li>[windows] Report lost events: when the <code>ReadDirectoryChangesW</code> buffer of a watch overflows, the watch gets an <code>EventsLostEvent</code>, dispatched to <code>FileSystemEventHandler.on_events_lost()</code>, as on inotify. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1440">#1440</a>, thanks to <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[windows] <code>WindowsApiObserver</code>, <code>WindowsApiEmitter</code>, and <code>DirectoryChangeReader</code> accept a notify_filter bitmask, the <code>dwNotifyFilter</code> passed to <code>ReadDirectoryChangesW</code> and <code>ReadDirectoryChangesExW</code>. The default is still <code>WATCHDOG_FILE_NOTIFY_FLAGS</code>, including <code>FILE_NOTIFY_CHANGE_LAST_ACCESS</code>. Mask that flag out (<code>WATCHDOG_FILE_NOTIFY_FLAGS & ~FILE_NOTIFY_CHANGE_LAST_ACCESS</code>) when access-time updates are not useful. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1447">#1447</a>, thanks to <a href="https://github.com/gero-robert"><code>@gero-robert</code></a>)</li> <li>[dirsnapshot] Avoid duplicate create or delete events when a renamed file has another hard link in the watched directory. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1425">#1425</a>, thanks to <a href="https://github.com/parijat1222q"><code>@parijat1222q</code></a>)</li> <li>[dirsnapshot] Capture Linux birth times while taking a snapshot so deleted paths retain their historical identity during move detection. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1429">#1429</a>, thanks to <a href="https://github.com/FFspiky"><code>@FFspiky</code></a>)</li> <li>[dirsnapshot] Detect replacements at the same path when an inode is reused but the entry type or available birth time changes, instead of missing the replacement or reporting it as a modification. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1464">#1464</a>, thanks to <a href="https://github.com/anticipate218"><code>@anticipate218</code></a>)</li> <li>[dirsnapshot] Fix false move detection on inode recycling by verifying file type, birth time, and nanosecond stat invariants. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/992">#992</a>, <a href="https://redirect.github.com/gorakhargosh/watchdog/issues/303">#303</a>, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[watchmedo] Without <code>--command</code>, shell-command printed every event as <code>"<type> <object> from <src> to"</code> with an empty destination. It now prints the destination for moved events only. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1448">#1448</a>, thanks to <a href="https://github.com/Kernel-Hunter"><code>@Kernel-Hunter</code></a>)</li> <li>[ci] Run the test suite in FreeBSD 14 (kqueue, also on free-threaded 3.13t) and FreeBSD 15 (inotify) VMs on pull requests. (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1445">#1445</a>, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst">watchdog's changelog</a>.</em></p> <blockquote> <p>7.1.1</p> <pre><code> 2026-11-20 • `full history <https://github.com/gorakhargosh/watchdog/compare/v7.1.0...v7.1.1>`__ <p><strong>Other Changes</strong></p> <ul> <li>[core] Allow pattern matching to evaluate relative paths against the watched root directory, supporting intuitive non-recursive patterns (e.g. <code>*.json</code>, <code>logs/*.log</code>) under <code>full_match()</code>. (<code>[#1430](https://github.com/gorakhargosh/watchdog/issues/1430) &lt;https://github.com/gorakhargosh/watchdog/issues/1430&gt;</code>__ Thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[core] <code>RegexMatchingEventHandler</code> now accepts a single string for <code>ignore_regexes</code>, as it already does for <code>regexes</code>, instead of compiling each character as a separate regex. (<code>[#1419](https://github.com/gorakhargosh/watchdog/issues/1419) &lt;https://github.com/gorakhargosh/watchdog/pull/1419&gt;</code>__, thanks to <a href="https://github.com/arieleven"><code>@arieleven</code></a>)</li> <li>[observers] Fix race condition between <code>Observer.start()</code> and <code>Observer.schedule()</code>, and release observer lock during event handler dispatch to prevent blocking concurrent <code>schedule()</code> and <code>unschedule()</code> calls. (<code>[#1044](https://github.com/gorakhargosh/watchdog/issues/1044) &lt;https://github.com/gorakhargosh/watchdog/issues/1044&gt;</code>__, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[fsevents] Fix compiler warnings in the C extension. (<code>[#1411](https://github.com/gorakhargosh/watchdog/issues/1411) &lt;https://github.com/gorakhargosh/watchdog/issues/1411&gt;</code>__, thanks to <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a>)</li> <li>[inotify] A recursive watch that hits the inotify watch or instance limit (<code>ENOSPC</code>, <code>EMFILE</code>) on a subdirectory raises <code>OSError</code> from <code>start()</code> and <code>schedule()</code> again, as in 6.0.0, instead of silently watching part of the tree. A subdirectory created later that cannot be watched is logged as a warning. (<code>[#1454](https://github.com/gorakhargosh/watchdog/issues/1454) &lt;https://github.com/gorakhargosh/watchdog/issues/1454&gt;</code>__, thanks to <a href="https://github.com/Kernel-Hunter"><code>@Kernel-Hunter</code></a>)</li> <li>[inotify] Defer allocating an observer's inotify instance and reader thread until its first scheduled watch. Empty observers no longer consume inotify instances; resource-limit errors are raised by <code>schedule()</code> rather than construction. (<code>[#1432](https://github.com/gorakhargosh/watchdog/issues/1432) &lt;https://github.com/gorakhargosh/watchdog/issues/1432&gt;</code>__, thanks to <a href="https://github.com/kushaldave002"><code>@kushaldave002</code></a>)</li> <li>[inotify] Do not log an error when <code>InotifyEmitter.queue_events()</code> is invoked while the emitter is inactive. (<code>[#1462](https://github.com/gorakhargosh/watchdog/issues/1462) &lt;https://github.com/gorakhargosh/watchdog/issues/1462&gt;</code>__, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[inotify] Events read before a kernel queue overflow are delivered instead of discarded, ahead of the <code>EventsLostEvent</code>. (<code>[#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;</code>__, thanks to <a href="https://github.com/KurathSec"><code>@KurathSec</code></a> and <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[inotify] Properly format the duplicate-callback <code>RuntimeWarning</code> message. (<code>[#1435](https://github.com/gorakhargosh/watchdog/issues/1435) &lt;https://github.com/gorakhargosh/watchdog/issues/1435&gt;</code>__, thanks to <a href="https://github.com/BoboTiG"><code>@BoboTiG</code></a>)</li> <li>[inotify] Refactor watch tracking from flat string path dictionaries to a hierarchical directory tree (<code>DirNode</code>), making recursive subtree moves atomic operations with cycle detection and ancestor placeholder pruning. (<code>[#1459](https://github.com/gorakhargosh/watchdog/issues/1459) &lt;https://github.com/gorakhargosh/watchdog/pull/1459&gt;</code>__, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[inotify] Report lost events: after a kernel queue overflow, each watch gets an <code>EventsLostEvent</code> for its directory or file, dispatched to the new <code>FileSystemEventHandler.on_events_lost()</code> once the watches are repaired. Pattern and regex handlers (and so tricks) receive it only through <code>on_events_lost()</code>. (<code>[#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;</code>__, thanks to <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[inotify] Stop watching directories moved out of a watched tree and emit synthetic deletion/moved events for their subdirectories. (<code>[#354](https://github.com/gorakhargosh/watchdog/issues/354) &lt;https://github.com/gorakhargosh/watchdog/issues/354&gt;</code>__, thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[kqueue] Queue each event once per kqueue wakeup. A move reported the parent <code>DirModifiedEvent</code> twice, and a write reported <code>FileModifiedEvent</code> twice. (<code>[#1442](https://github.com/gorakhargosh/watchdog/issues/1442) &lt;https://github.com/gorakhargosh/watchdog/issues/1442&gt;</code>__, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[kqueue] Register the kevents when the emitter is created, not on the emitter thread's first <code>kqueue.control()</code> call. Deletes, renames and attribute changes made in between were lost, every time on free-threaded Python. (<code>[#1445](https://github.com/gorakhargosh/watchdog/issues/1445) &lt;https://github.com/gorakhargosh/watchdog/pull/1445&gt;</code>__, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[kqueue] Stop the emitter with a <code>DirDeletedEvent</code> when the watched directory is removed or moved, instead of letting its thread die with <code>FileNotFoundError</code>. The kevents read in the same batch are still reported. (<code>[#1436](https://github.com/gorakhargosh/watchdog/issues/1436) &lt;https://github.com/gorakhargosh/watchdog/issues/1436&gt;</code>__, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>)</li> <li>[windows] A <code>ReadDirectoryChangesW</code> or <code>ReadDirectoryChangesExW</code> buffer overflow is now signalled instead of being silently dropped as zero events. (<code>[#1019](https://github.com/gorakhargosh/watchdog/issues/1019) &lt;https://github.com/gorakhargosh/watchdog/issues/1019&gt;</code>__, thanks to <a href="https://github.com/MohammedAlkindi"><code>@MohammedAlkindi</code></a>)</li> <li>[windows] Deliver events while the watched tree keeps changing: <code>DirectoryChangeReader.get_events()</code> now returns within its timeout instead of waiting until no buffer has arrived for a full timeout. (<code>[#1469](https://github.com/gorakhargosh/watchdog/issues/1469) &lt;https://github.com/gorakhargosh/watchdog/issues/1469&gt;</code>__, thanks to <a href="https://github.com/zzoraemon043"><code>@zzoraemon043</code></a>)</li> <li>[windows] Make the <code>DirectoryChangeReader</code> thread a daemon so an unstopped observer does not block interpreter exit. (<code>[#1470](https://github.com/gorakhargosh/watchdog/issues/1470) &lt;https://github.com/gorakhargosh/watchdog/issues/1470&gt;</code>__, thanks to <a href="https://github.com/devskad"><code>@devskad</code></a>)</li> <li>[windows] Report lost events: when the <code>ReadDirectoryChangesW</code> buffer of a watch overflows, the watch gets an <code>EventsLostEvent</code>, dispatched to <code>FileSystemEventHandler.on_events_lost()</code>, as on inotify. (<code>[#1440](https://github.com/gorakhargosh/watchdog/issues/1440) &lt;https://github.com/gorakhargosh/watchdog/issues/1440&gt;</code>__, thanks to <a href="https://github.com/fstrasz"><code>@fstrasz</code></a>)</li> <li>[windows] <code>WindowsApiObserver</code>, <code>WindowsApiEmitter</code>, and <code>DirectoryChangeReader</code> accept a <code>notify_filter</code> bitmask, the <code>dwNotifyFilter</code> passed to <code>ReadDirectoryChangesW</code> and <code>ReadDirectoryChangesExW</code>. The default is still <code>WATCHDOG_FILE_NOTIFY_FLAGS</code>, including <code>FILE_NOTIFY_CHANGE_LAST_ACCESS</code>. Mask that flag out (<code>WATCHDOG_FILE_NOTIFY_FLAGS &amp; ~FILE_NOTIFY_CHANGE_LAST_ACCESS</code>) when access-time updates are not useful. (<code>[#1447](https://github.com/gorakhargosh/watchdog/issues/1447) &lt;https://github.com/gorakhargosh/watchdog/issues/1447&gt;</code>__, thanks to <a href="https://github.com/gero-robert"><code>@gero-robert</code></a>)</li> <li>[dirsnapshot] Avoid duplicate create or delete events when a renamed file has another hard link in the watched directory. (<code>[#1425](https://github.com/gorakhargosh/watchdog/issues/1425) &lt;https://github.com/gorakhargosh/watchdog/issues/1425&gt;</code>__, thanks to <a href="https://github.com/parijat1222q"><code>@parijat1222q</code></a>)</li> <li>[dirsnapshot] Capture Linux birth times while taking a snapshot so deleted paths retain their historical identity during move detection. (<code>[#1429](https://github.com/gorakhargosh/watchdog/issues/1429) &lt;https://github.com/gorakhargosh/watchdog/issues/1429&gt;</code>__, thanks to <a href="https://github.com/FFspiky"><code>@FFspiky</code></a>)</li> <li>[dirsnapshot] Detect replacements at the same path when an inode is reused but the entry type or available birth time changes, instead of missing the replacement or reporting it as a modification. (<code>[#1464](https://github.com/gorakhargosh/watchdog/issues/1464) &lt;https://github.com/gorakhargosh/watchdog/pull/1464&gt;</code>__, thanks to <a href="https://github.com/anticipate218"><code>@anticipate218</code></a>)</li> <li>[dirsnapshot] Fix false move detection on inode recycling by verifying file type, birth time, and nanosecond stat invariants. (<code>[#992](https://github.com/gorakhargosh/watchdog/issues/992) &lt;https://github.com/gorakhargosh/watchdog/issues/992&gt;</code><strong>, <code>[#303](https://github.com/gorakhargosh/watchdog/issues/303) &lt;https://github.com/gorakhargosh/watchdog/issues/303&gt;</code></strong> Thanks to <a href="https://github.com/prateek-dagar"><code>@prateek-dagar</code></a>)</li> <li>[watchmedo] Without <code>--command</code>, <code>shell-command</code> printed every event as "<type> <object> from <src> to" with an empty destination. It now prints the destination for moved events only. (<code>[#1448](https://github.com/gorakhargosh/watchdog/issues/1448) &lt;https://github.com/gorakhargosh/watchdog/pull/1448&gt;</code>__, thanks to <a href="https://github.com/Kernel-Hunter"><code>@Kernel-Hunter</code></a>)</li> <li>[ci] Run the test suite in FreeBSD 14 (kqueue, also on free-threaded 3.13t) and FreeBSD 15 (inotify) VMs on pull requests. (<code>[#1445](https://github.com/gorakhargosh/watchdog/issues/1445) &lt;https://github.com/gorakhargosh/watchdog/pull/1445&gt;</code>__, thanks to <a href="https://github.com/karolyi"><code>@karolyi</code></a>) </code></pre></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gorakhargosh/watchdog/commit/c012432bec2fa7c1301a1a47c4a87adac0f97bac"><code>c012432</code></a> feat: version v7.1.1 [skip ci] (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1474">#1474</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/d7cc7a373f17c94960b9d87f995139440d9d10fd"><code>d7cc7a3</code></a> [macOS] Fix compiler warnings in the C extension (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1475">#1475</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/ad972768863a6e451c066337ca9e1ceaa8663252"><code>ad97276</code></a> chore(deps): bump types-pyyaml from 6.0.12.20261103 to 6.0.12.20261113 (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/23">#23</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/746c36d7fa8e299b46ed0f31d92419d3aa88662f"><code>746c36d</code></a> chore(deps): bump ruff from 0.17.4 to 0.17.5 (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/24">#24</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/d0c1ca60bdf04f7b8138b79c1c221cb350eb8af5"><code>d0c1ca6</code></a> fix(windows): bound get_events() by its timeout while buffers keep arriving (...</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/a051ccaa71e3e0300914d5d52fd5ad9fccdcf1c9"><code>a051cca</code></a> fix(windows): make the DirectoryChangeReader thread a daemon (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1472">#1472</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/7cd20d25b0801e0b157ba11047f4270099025ced"><code>7cd20d2</code></a> feat(utils): add removed_in target version to deprecation helpers (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1473">#1473</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/19bc342fba73f067219e4403db9c7789dc4f25d0"><code>19bc342</code></a> fix(inotify): stop watching directories moved out of the tree (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1468">#1468</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/6fd883ab9bda96a5e11ab884ae3424011bcefa6e"><code>6fd883a</code></a> fix(inotify): demote inactive emitter queue_events log to debug (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1467">#1467</a>)</li> <li><a href="https://github.com/gorakhargosh/watchdog/commit/625b0360654933f09de65bbd8cb909b39fe11262"><code>625b036</code></a> fix: snapshot detection of same-path replacements (<a href="https://redirect.github.com/gorakhargosh/watchdog/issues/1464">#1464</a>)</li> <li>Additional commits viewable in <a href="https://github.com/gorakhargosh/watchdog/compare/v7.1.0...v7.1.1">compare view</a></li> </ul> </details> <br /> Updates `axe-playwright-python` from 0.1.8 to 0.1.9 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pamelafox/axe-playwright-python/blob/main/CHANGELOG.md">axe-playwright-python's changelog</a>.</em></p> <blockquote> <h2>[0.1.9] - November 2, 2026</h2> <ul> <li>Upgraded axe-core JS version to v4.14.0. You may see the number of violations change as a result, as new axe-core versions sometimes add new rules and update existing ones.</li> <li>This axe-core upgrade fixes relative <code>@import</code> URLs in stylesheets being resolved against the page URL instead of the stylesheet URL, which caused spurious 404 requests and incomplete <code>css-orientation-lock</code> results.</li> <li>Fixed <code>generate_report()</code> raising <code>TypeError</code> when a violation targets an element inside shadow DOM (nested target selectors). Shadow DOM targets are now shown as <code>host >>> element</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/pamelafox/axe-playwright-python/commits">compare view</a></li> </ul> </details> <br /> Updates `pyyaml` from 6.0.3 to 6.0.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/yaml/pyyaml/releases">pyyaml's releases</a>.</em></p> <blockquote> <h2>6.0.4</h2> <h2>What's Changed</h2> <ul> <li>Added support for Python 3.15.</li> <li>Dropped support for EoL Python 3.8, 3.9.</li> <li>Fixed exponential merge key expansion (<a href="https://redirect.github.com/yaml/pyyaml/issues/937">#937</a>).</li> <li>Exposed libyaml 0.2.6 recursion control API (<a href="https://redirect.github.com/yaml/pyyaml/issues/1010">#1010</a>) - no-op when missing.</li> <li>Bumped wheel builds to libyaml 0.2.6.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4">https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/yaml/pyyaml/blob/6.0.4/CHANGES">pyyaml's changelog</a>.</em></p> <blockquote> <p>6.0.4 (2026-11-20)</p> <ul> <li><a href="https://redirect.github.com/yaml/pyyaml/pull/937">yaml/pyyaml#937</a> -- Fix merge key performance</li> <li><a href="https://redirect.github.com/yaml/pyyaml/pull/1010">yaml/pyyaml#1010</a> -- Expose libyaml recursion control API (no-op on libyaml < 0.2.6)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/yaml/pyyaml/commit/575f0e87bcc3b95f4df8da4aaddb0bef4e4553fc"><code>575f0e8</code></a> Release 6.0.4 (<a href="https://redirect.github.com/yaml/pyyaml/issues/1012">#1012</a>)</li> <li><a href="https://github.com/yaml/pyyaml/commit/36a9c4f95d641e49f09c8db23a24d0adedd94fea"><code>36a9c4f</code></a> Dos in merge key (<a href="https://redirect.github.com/yaml/pyyaml/issues/937">#937</a>) (<a href="https://redirect.github.com/yaml/pyyaml/issues/1011">#1011</a>)</li> <li><a href="https://github.com/yaml/pyyaml/commit/124810b9e368ed24a7c3f6245064a84d35eaf584"><code>124810b</code></a> Expose/test libyaml recursion controls (<a href="https://redirect.github.com/yaml/pyyaml/issues/1010">#1010</a>)</li> <li><a href="https://github.com/yaml/pyyaml/commit/98d4a6b35ea3055fb04a989df842b215ff09520f"><code>98d4a6b</code></a> Minimal CI refresh for 3.15 (<a href="https://redirect.github.com/yaml/pyyaml/issues/971">#971</a>)</li> <li>See full diff in <a href="https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4">compare view</a></li> </ul> </details> <br /> Updates `ty` from 0.0.104 to 0.0.108 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ty/releases">ty's releases</a>.</em></p> <blockquote> <h2>0.0.108</h2> <h2>Release Notes</h2> <p>Released on 2026-11-22.</p> <h3>Breaking changes</h3> <ul> <li>Replace <code>mismatched-type-name</code> with eight rules. In configuration, CLI flags, and suppression comments, use the rule for each constructor you want to configure. (<a href="https://redirect.github.com/astral-sh/ruff/pull/29957">#29957</a>) <ul> <li><code>mismatched-newtype-name</code>, <code>mismatched-typevar-name</code>, <code>mismatched-paramspec-name</code>, <code>mismatched-typevartuple-name</code>, <code>mismatched-typeddict-name</code>, and <code>mismatched-type-alias-name</code> warn by default.</li> <li><code>mismatched-enum-name</code> and <code>mismatched-namedtuple-name</code> are disabled by default. They check names only when ty can infer a single string literal.</li> </ul> </li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix a crash when a class unpacks a <code>Generic</code> base whose required type parameter follows one with a default. The <code>invalid-generic-class</code> diagnostic now points to the type parameters in the unpacked base. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30630">#30630</a>)</li> <li>Correctly check arguments forwarded through a <code>ParamSpec</code> when an unpacked tuple supplies both a wrapper's own positional parameters and arguments for the callback. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30594">#30594</a>)</li> <li>Fix false errors in nested calls that pass a lambda through an unresolved <code>ParamSpec</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30547">#30547</a>)</li> <li>Preserve the type inferred for each overload when one overload leaves a parameter unannotated and another supplies an expected type. This avoids treating the call as ambiguous and inferring an <code>Unknown</code> result. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30549">#30549</a>)</li> <li>Preserve type-variable relationships through aliases such as <code>type Id[T] = T</code>, so ty can infer a generic call's result from the callback's return type. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30590">#30590</a>)</li> <li>Fix a bug where disabling <code>invalid-generic-class</code> also silenced <code>shadowed-type-variable</code> diagnostics in nested classes. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30588">#30588</a>)</li> <li>Fix a bug where suppressing an <code>invalid-paramspec</code> error on <code>*args</code> with <code># ty: ignore</code> caused the error to reappear on <code>**kwargs</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30595">#30595</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Fix a bug in <a href="https://docs.astral.sh/ty/features/language-server/#fine-grained-incrementality">incremental updates</a> that caused ty to re-index unchanged files containing standalone calls when you edited another file. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30759">#30759</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#code-completions">member completions</a> when a partial name is typed by looking up documentation only for matching names. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30714">#30714</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">semantic highlighting</a> for part of a file by skipping functions, classes, and <code>from</code> imports outside the requested range. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30665">#30665</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#code-folding">folding range requests</a> for files with large single-line statements. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30696">#30696</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">inlay hints</a> by skipping signature lookups for calls without positional arguments or when argument-name hints are disabled. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30688">#30688</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">signature help</a>, which shows a function's parameters and their types as you type a call. This affects editors that request parameter label offsets, especially for ASCII signatures with UTF-16 positions. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30711">#30711</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Keep warnings and debug logs above progress bars during indexing and checking, and show progress bars during verbose runs. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30527">#30527</a>)</li> <li>Generate <code>ty check --output-format gitlab</code> reports faster when the same rule produces many diagnostics in one file. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30724">#30724</a>)</li> </ul> <h3>Diagnostic improvements</h3> <ul> <li>Rename the <code>uv-metadata</code> diagnostic to <code>project-manager</code> and clarify whether uv failed to load project metadata or set up a script environment. When <code>project-manager.script = "uv"</code> is set and ty cannot run a supported version of uv, the script diagnostic points to that setting. Concise output now includes uv's error when it cannot resolve a script's dependencies. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30528">#30528</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Recognize <code>TypeVar</code>, <code>ParamSpec</code>, <code>TypeVarTuple</code>, <code>NewType</code>, and <code>TypeAliasType</code> definitions even when their names are only known at runtime. By default, ty warns that it cannot verify the name and continues to use the defined type. (<a href="https://redirect.github.com/astral-sh/ruff/pull/29957">#29957</a>)</li> <li>Infer the same type (<code>float*</code>) for <code>-0.5</code> and <code>+0.5</code> as for <code>0.5</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30720">#30720</a>)</li> </ul> <h3>Performance improvements</h3> <h4>Calls and overloads</h4> <ul> <li>Reuse more argument type compatibility checks across calls. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30483">#30483</a>)</li> <li>Speed up repeated calls to overloaded functions when the same argument types match several overloads. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30640">#30640</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ty/blob/main/CHANGELOG.md">ty's changelog</a>.</em></p> <blockquote> <h2>0.0.108</h2> <p>Released on 2026-11-22.</p> <h3>Breaking changes</h3> <ul> <li>Replace <code>mismatched-type-name</code> with eight rules. In configuration, CLI flags, and suppression comments, use the rule for each constructor you want to configure. (<a href="https://redirect.github.com/astral-sh/ruff/pull/29957">#29957</a>) <ul> <li><code>mismatched-newtype-name</code>, <code>mismatched-typevar-name</code>, <code>mismatched-paramspec-name</code>, <code>mismatched-typevartuple-name</code>, <code>mismatched-typeddict-name</code>, and <code>mismatched-type-alias-name</code> warn by default.</li> <li><code>mismatched-enum-name</code> and <code>mismatched-namedtuple-name</code> are disabled by default. They check names only when ty can infer a single string literal.</li> </ul> </li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix a crash when a class unpacks a <code>Generic</code> base whose required type parameter follows one with a default. The <code>invalid-generic-class</code> diagnostic now points to the type parameters in the unpacked base. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30630">#30630</a>)</li> <li>Correctly check arguments forwarded through a <code>ParamSpec</code> when an unpacked tuple supplies both a wrapper's own positional parameters and arguments for the callback. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30594">#30594</a>)</li> <li>Fix false errors in nested calls that pass a lambda through an unresolved <code>ParamSpec</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30547">#30547</a>)</li> <li>Preserve the type inferred for each overload when one overload leaves a parameter unannotated and another supplies an expected type. This avoids treating the call as ambiguous and inferring an <code>Unknown</code> result. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30549">#30549</a>)</li> <li>Preserve type-variable relationships through aliases such as <code>type Id[T] = T</code>, so ty can infer a generic call's result from the callback's return type. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30590">#30590</a>)</li> <li>Fix a bug where disabling <code>invalid-generic-class</code> also silenced <code>shadowed-type-variable</code> diagnostics in nested classes. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30588">#30588</a>)</li> <li>Fix a bug where suppressing an <code>invalid-paramspec</code> error on <code>*args</code> with <code># ty: ignore</code> caused the error to reappear on <code>**kwargs</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30595">#30595</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Fix a bug in <a href="https://docs.astral.sh/ty/features/language-server/#fine-grained-incrementality">incremental updates</a> that caused ty to re-index unchanged files containing standalone calls when you edited another file. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30759">#30759</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#code-completions">member completions</a> when a partial name is typed by looking up documentation only for matching names. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30714">#30714</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">semantic highlighting</a> for part of a file by skipping functions, classes, and <code>from</code> imports outside the requested range. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30665">#30665</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#code-folding">folding range requests</a> for files with large single-line statements. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30696">#30696</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">inlay hints</a> by skipping signature lookups for calls without positional arguments or when argument-name hints are disabled. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30688">#30688</a>)</li> <li>Speed up <a href="https://docs.astral.sh/ty/features/language-server/#contextual-information">signature help</a>, which shows a function's parameters and their types as you type a call. This affects editors that request parameter label offsets, especially for ASCII signatures with UTF-16 positions. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30711">#30711</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Keep warnings and debug logs above progress bars during indexing and checking, and show progress bars during verbose runs. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30527">#30527</a>)</li> <li>Generate <code>ty check --output-format gitlab</code> reports faster when the same rule produces many diagnostics in one file. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30724">#30724</a>)</li> </ul> <h3>Diagnostic improvements</h3> <ul> <li>Rename the <code>uv-metadata</code> diagnostic to <code>project-manager</code> and clarify whether uv failed to load project metadata or set up a script environment. When <code>project-manager.script = "uv"</code> is set and ty cannot run a supported version of uv, the script diagnostic points to that setting. Concise output now includes uv's error when it cannot resolve a script's dependencies. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30528">#30528</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Recognize <code>TypeVar</code>, <code>ParamSpec</code>, <code>TypeVarTuple</code>, <code>NewType</code>, and <code>TypeAliasType</code> definitions even when their names are only known at runtime. By default, ty warns that it cannot verify the name and continues to use the defined type. (<a href="https://redirect.github.com/astral-sh/ruff/pull/29957">#29957</a>)</li> <li>Infer the same type (<code>float*</code>) for <code>-0.5</code> and <code>+0.5</code> as for <code>0.5</code>. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30720">#30720</a>)</li> </ul> <h3>Performance improvements</h3> <h4>Calls and overloads</h4> <ul> <li>Reuse more argument type compatibility checks across calls. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30483">#30483</a>)</li> <li>Speed up repeated calls to overloaded functions when the same argument types match several overloads. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30640">#30640</a>)</li> <li>Check overloaded calls with <code>**</code>-unpacked mappings faster by reusing the inferred type for each keyword. (<a href="https://redirect.github.com/astral-sh/ruff/pull/30638">#30638</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ty/commit/d6717a9aac3c44fe31fc35eac4196d02ae46fc7c"><code>d6717a9</code></a> Bump version to 0.0.108 (<a href="https://redirect.github.com/astral-sh/ty/issues/5083">#5083</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/8eef928f25b870a62f1341b0c4c858874dd9ec89"><code>8eef928</code></a> Rewrite changelogs when preparing ty releases (<a href="https://redirect.github.com/astral-sh/ty/issues/5078">#5078</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/85b1fd0529bb76664ae04268458ce7fb83f6e3dc"><code>85b1fd0</code></a> Bump version to 0.0.107 (<a href="https://redirect.github.com/astral-sh/ty/issues/5073">#5073</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/c2e9b0529e71493398f5ab8edcdd5f753fc53a10"><code>c2e9b05</code></a> Replace the PR template's Test Plan with optional reviewer notes (<a href="https://redirect.github.com/astral-sh/ty/issues/5068">#5068</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/4fbc381a809a150d71a6fda84cb4fcb87450a6f2"><code>4fbc381</code></a> Update PEP 723 typing FAQ to recommend project-manager.script (<a href="https://redirect.github.com/astral-sh/ty/issues/5065">#5065</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/6290d860365d0fcc3e77a8715eaf921db6cfb5ec"><code>6290d86</code></a> Update script guide to mention <code>project-manager.script</code> (<a href="https://redirect.github.com/astral-sh/ty/issues/5064">#5064</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/65a9fed5de63914a8ce4fccd44f09744f44ae7a1"><code>65a9fed</code></a> Modernize ruff configuration and scripts (<a href="https://redirect.github.com/astral-sh/ty/issues/5060">#5060</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/523fabd73500e468efeb02781245f2374e97c733"><code>523fabd</code></a> Bump version to 0.0.106 (<a href="https://redirect.github.com/astral-sh/ty/issues/5059">#5059</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/5351a20a62f86ad0b79270ae087988530b99aa9c"><code>5351a20</code></a> Auto-generate reference documentation for ty-extensions (<a href="https://redirect.github.com/astral-sh/ty/issues/5056">#5056</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/d83e035ab6fd33895ff185037fff9b5a8ed51d20"><code>d83e035</code></a> Trigger the VS Code extension release after stable ty releases (<a href="https://redirect.github.com/astral-sh/ty/issues/5028">#5028</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ty/compare/0.0.104...0.0.108">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.17.5 to 0.17.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.17.6</h2> <h2>Release Notes</h2> <p>Released on 2026-11-19.</p> <h3>Preview features</h3> <ul> <li>[<code>flake8-type-checking</code>] Add a fix for <code>runtime-string-union</code> (<code>TC010</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/15635">#15635</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix handling of parenthesized duplicate items (<code>B033</code>, <code>RUF068</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30493">#30493</a>)</li> <li>[<code>pyflakes</code>] Fix false negative when a name is assigned more than once (<code>F823</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30524">#30524</a>)</li> <li>[<code>pylint</code>] Avoid false positive when collection is modified in loop (<code>PLR1733</code>, <code>PLR1736</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30466">#30466</a>)</li> <li>[<code>ruff</code>] Avoid syntax error in <code>useless-finally</code> fix for inline <code>try</code> bodies (<code>RUF072</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/30349">#30349</a>)</li> <li>Treat relative imports from <code>.__future__</code> as ordinary imports (<a href="https://redirect.github.com/astral-sh/ruff/pull/30260">#30260</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-simplify</code>] Avoid redundant <code>bool</code> wrappers in <code>SIM208</code> fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/30457">#30457</a>)</li> <li>[<code>pyflakes</code>] Ignore <code>__traceback_hide__</code> in <code>unused-variable</code> (<code>F841</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/29600">#29600</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Decode in-memory notebooks directly from their source string (<a href="https://redirect.github.com/astral-sh/ruff/pull/30385">#30385</a>)</li> <li>Short-circuit exact qualified-name checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/30058">#30058</a>)</li> <li>Stream JSON diagnostics to the output writer (<a href="https://redirect.github.com/astral-sh/ruff/pull/30384">#30384</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Fix the multiline string example in Known Deviations from Black (<a href="https://redirect.github.com/astral-sh/ruff/pull/30447">#30447</a>)</li> <li>Include the category in individual rule documentation pages (<a href="https://redirect.github.com/astral-sh/ruff/pull/30503">#30503</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Update Rust toolchain to 1.100 and MSRV to 1.98 (<a href="https://redirect.github.com/astral-sh/ruff/pull/30416">#30416</a>)</li> </ul> <h…
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.
A reply landing in the selected thread moved the thread cards after it and the
reply box without input, which
test_incoming_reply_follows_a_selected_thread_before_later_cardsshowed on Linux CI. The test passed on macOS only because it runs within 500ms of
its own summary click, so Chrome credited every frame to that press; under 6x CPU
throttling macOS reports all three moves.
Two causes, both measured with the Layout Instability API:
user-place.js) held the card the user had named, by itstop, even when that top had scrolled far above the band (the focused summary and
the pointer both named it, at -315 to -1131px). Holding a top the user cannot see
keeps nothing they see still: the card grew down and pushed every later card,
off-screen for a long reply. Now only an item whose top stands in the band can be
named or lead the hold; the item the band's top cuts holds the place only where no
item begins in view. Held by the first later card, the thread grows up into the
room scrolled past and nothing after it moves.
thread-list.js) landed the thread's end at the landing band's foot,scrolling by the growth plus whatever it took to bring the reply box into the
band. In one frame with the growth, that moved the box and the cards after it.
Following now keeps the thread's end where it stood, scrolling by exactly the
growth, instantly, in the render's frame. This is the rule fix: keep focused thread editor steady as replies arrive #1458 gave a focused
reply box, now for every follow, so its focus special case is gone.
Behavior that moved:
thread's end landing at the band's foot. A reply box below the band stays there.
FOLLOWEDnow asserts the newest words are in the landing band.list's scrollTop was unchanged, which is what pushed them.
The known-shift entry for this test keeps only
lf-shortcut, which anotherdecision owns.
🤖 Generated with Claude Code