Repository navigation
Check an undone decision in the Resolved threads view - #2548
Merged
Merged
Conversation
This was referenced Oct 12, 2026
leaf-agent
added a commit
that referenced
this pull request
Oct 12, 2026
The [main CI run](https://github.com/max-sixty/leaf/actions/runs/38218813098) fails three words-watch cases because their presenter fixtures return `null` from `attach()`. The presentation scheduler now calls `handle.present()` when it claims a paint, so those tests throw before exercising input ownership. This changes the fixtures to return a minimal completion ticket; the tests still assert that a passive paint cannot borrow a click's permission to discard typed words. [#2521](#2521) intentionally moved completion-ticket creation into the presentation handle. The fixture had not followed that contract. Before this change, the focused presenter case timed out with `Cannot read properties of null (reading 'present')`; after it, all three affected presenter cases pass. The two startup assertions from the same run pass on current main after #2547 and #2548. The remaining chip-seat write is reproduced on main and passes on the open #2545 head, which owns that writer. Verified with the three affected presenter cases and both startup cases, run together: `5 passed`. Co-authored-by: leaf-agent <[email protected]>
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.
Undoing a rejection restores the earlier acceptance, which resolves the question's thread. Since #2480, the browser associates the undo with that thread through the log's membership. The old test expected a held news notice in Open; the user's own undo instead folds that resolved card out of Open. This test now checks that the card leaves Open and remains available with
data-resolved="true"in the Resolved view. The event-log assertion still verifies that no separate resolve event was written.The failed main run timed out waiting for the obsolete notice. The focused test failed before this change and passed afterward:
uv run pytest tests/test_render_startup.py::test_the_thread_follows_the_decision_that_still_stands -q -n0 --tb=short.