Skip to content

ci-fix: Draft composer remains visible after its passage is removed #2205

Closed

Description

@leaf-agent

The main test run fails test_a_draft_that_outlives_its_passage_returns_with_that_passage. I reproduced it locally with uv run pytest -q tests/test_render_outbox.py::test_a_draft_that_outlives_its_passage_returns_with_that_passage -x.

The test starts a comment draft on a passage, accepts a new page version that removes the passage, then expects the old composer to stand down while keeping the draft for the passage's return. The composer remains visible after the new revision is loaded, still labelled with the removed text. I have not established which owner fails to retire or relocate it, so there is no safe scoped fix in this CI session.

Activity

  1. leaf-agent commented on Oct 10, 2026

    @leaf-agent
    CollaboratorAuthor

    This is a stale test expectation after #2159 introduced the unanchored editor for a draft whose passage disappears. #2207 updates the browser test to require the draft to stay available, keep its original quote, and leave the rewritten passage unmarked. The test failed before the change, passed locally after it, and the PR's checks passed on the pushed commit. GitHub currently reports the PR as merge-blocked, so the correction remains open there.

  2. added a commit that references this issue on Oct 10, 2026
    7f5c0e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions