Skip to content

Check an undone decision in the Resolved threads view - #2548

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-38211557350-thread
Oct 12, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-38211557350-thread

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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.

@leaf-agent
leaf-agent merged commit 27d5a92 into main Oct 12, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38211557350-thread branch October 12, 2026 08:11
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]>
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.

1 participant