Skip to content

Remove the paused thread appearance gate - #6131

Merged
max-sixty merged 1 commit into
mainfrom
agent-a04edeff17069ddc9
Nov 16, 2026
Merged

max-sixty merged 1 commit into
mainfrom
agent-a04edeff17069ddc9

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Removes the thread appearance gate, which has been paused since 2026-10-12: the leaf-dev journey snapshots command, its message-delivery journey, the pytest plugin that compared 48 screenshots with reviewed images in leaf-assets, their tests and fixture page, the second pin in leaf-assets.json, and the pytest-image-snapshot dependency. 30 files, +85 −1,358, none of it shipped code: src/, browser/ and packages/ 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.py loses its second pin, so clone and stage return a path; the three commands that publish images were type-checked, not run. The Linux font test moved to tests/browser/test_linux_fonts.py and 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-commit on 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.

This was written by Claude Code on behalf of max-sixty

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.
@max-sixty
max-sixty merged commit e355d76 into main Nov 16, 2026
5 checks passed
@max-sixty
max-sixty deleted the agent-a04edeff17069ddc9 branch November 16, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants