Repository navigation
Remove the paused thread appearance gate - #6131
Merged
Merged
Conversation
The gate compared 48 screenshots of one message-delivery journey, on macOS only, with reviewed images in max-sixty/leaf-assets. It was paused on 2026-10-12 (#2719) and its tests have been skipped since; Max decided to remove it. Ref #4046 for bringing a gate like it back. Removed: - `leaf-dev journey snapshots` (capture and accept), its pytest plugin and `image_snapshot` fixture, the delivery journey `leaf_dev.thread_journey`, the inline-diff fixture page written for it, and their tests. - `leaf-assets.json`'s `thread_snapshots_revision` and the code that read or advanced it. `leaf_assets` now has one pin, so `RevisionKey`, `stage`'s `replace_tree` and the `Checkout` wrapper go; `clone` and `stage` return the clone's path, and `leaf-dev setup` warms one cache. - `pytest-image-snapshot[pixelmatch]` (with `pixelmatch` from the lock), its addopts flags and vulture's `image_snapshot_*` exception. - CI's upload of `.tmp/thread-snapshots/runs/`. With one path left, a `pytest-results-*` artifact holds `.tmp/test-results/`'s contents at its root, as it did before the gate. Kept: the Linux fixed-font check moves unchanged to `tests/browser/test_linux_fonts.py`, since the suite and `leaf-dev placement pins` still lay text out in DejaVu on Linux. The journey's delivery assertions protected nothing while skipped, and its refusal-notice words stopped matching the runtime in #4325. Active tests still hold each behavior it checked: the reply box emptying and a draft typed during a held send surviving its admission (`test_thread_response_continuity.py`), a refusal restoring the words and the resend reusing its attempt (`drafts/test_reply_sessions.py`), a margin card's pending message and focus (`margin/test_card_reply.py`), pending messages at full opacity (`threads/test_composing.py`), and a reply sent from an inline diff seat (`test_render_aim.py`). `dev/tests/journeys/test_leaf_assets.py` drops its check that accepting thread expectations advances only their own pin; `dev/tests/process/test_setup.py` seeds one pin.
leaf-agent
approved these changes
Nov 16, 2026
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.
Removes the thread appearance gate, which has been paused since 2026-10-12: the
leaf-dev journey snapshotscommand, its message-delivery journey, the pytest plugin that compared 48 screenshots with reviewed images inleaf-assets, their tests and fixture page, the second pin inleaf-assets.json, and thepytest-image-snapshotdependency. 30 files, +85 −1,358, none of it shipped code:src/,browser/andpackages/are untouched.To weigh: the journey's test also asserted delivery behavior, and had been skipped in every run since the pause. Active tests still hold most of it: the draft clears on send, a refusal restores the words, a resend reuses its attempt, and a newer draft survives admission. Two things have had no test since the pause and still have none: the reading taken at the instant a message is inserted, and refusal and retry from the margin and inline seats.
leaf_assets.pyloses its second pin, socloneandstagereturn a path; the three commands that publish images were type-checked, not run. The Linux font test moved totests/browser/test_linux_fonts.pyand first runs in CI.Max asked for the removal. Ref #4046, which asks for a gate like this again some day: bringing it back starts from 56bc9ec, the last commit that holds the code, and the reference images need capturing again either way.
Checked with
pre-commiton the changed files (vulture and ty read the whole tree), the leaf-assets and setup tests, the corpus coverage tests, and a collection of the whole suite.