Skip to content

Align publication reference test with absent status disclosure - #2547

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

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

A website publication has no status disclosure after #2502, so the public session reference test waited for a status detail that cannot exist. This changes the test to assert that the detail is absent, then keeps its checks that the reference is hidden until More opens and can be copied.

The failed main run timed out on the old locator. The focused test failed before this change and passed afterward: uv run pytest tests/test_render_startup.py::test_a_website_example_shows_its_public_session_reference -q -n0 --tb=short.

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