Skip to content

Thread status checks still select the retired lf-fp-value span #4752

Closed

Description

@leaf-agent

Ten status assertions cannot find .lf-fp-value in thread rows. The diff of #4684 replaces that status span with .lf-row-end; the snapshots still contain status words such as Your turn and Still queued for Claude. Update the consumers at the boundary they actually protect, preserving workflow, streaming and delivery coverage; distinguish a missing selector from missing user-visible status. Read #4684 before choosing the repair.

Evidence: run 41014020492.

Affected cases and deciding diagnostics:

_____________ test_a_thread_says_what_the_agent_is_doing_about_it ______________
>       expect(thread_row_says(page, held)).to_contain_text("On it")
E       AssertionError: Locator expected to contain text 'On it'
E       Actual value: None
E         - waiting for locator(".lf-fp-thread[data-key=\"3168837a\"]:not([data-resolved]) .lf-fp-value")

______ test_an_exact_workflow_reports_stale_work_beside_a_live_page_claim ______
>       expect(thread_row_says(page, held)).to_contain_text("Gone quiet")
E       AssertionError: Locator expected to contain text 'Gone quiet'
E       Actual value: None
E         - waiting for locator(".lf-fp-thread[data-key=\"d8a62827\"]:not([data-resolved]) .lf-fp-value")

________ test_a_durable_reply_completes_its_stream_placeholder_in_place ________
>       expect(thread_row(page, root).locator(".lf-fp-value")).to_have_text("Replying")
E       AssertionError: Locator expected to have text 'Replying'
E       Actual value: None
E         - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving]) .lf-fp-thread[data-key=\"7113cabc\"]").locator(".lf-fp-value")

___ test_a_codex_reply_streams_into_an_open_card_and_its_answer_completes_it ___
>       expect(thread_row(page, root).locator(".lf-fp-value")).to_have_text("Replying")
E       AssertionError: Locator expected to have text 'Replying'
E       Actual value: None
E         - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving]) .lf-fp-thread[data-key=\"db8368a8\"]").locator(".lf-fp-value")

____ test_a_card_moved_on_a_board_in_a_reply_reports_delivery_on_that_reply ____
>       expect(status).to_have_text("")
E       AssertionError: Locator expected to have text ''
E       Actual value: None
E         - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving]) .lf-fp-thread[data-key=\"01eb07e2\"]").locator(".lf-fp-value")

__________ test_a_harness_failure_receipt_does_not_read_as_an_answer ___________
>       expect(status).to_have_text("Send it again")
E       AssertionError: Locator expected to have text 'Send it again'
E       Actual value: None
E         - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving]) .lf-fp-thread[data-key=\"495d4df3\"]").locator(".lf-fp-value")

_______ test_a_new_sent_message_does_not_hide_work_on_an_earlier_message _______
>       expect(thread_row(page, root).locator(".lf-fp-value")).to_have_text("On it")
E       AssertionError: Locator expected to have text 'On it'
E       Actual value: None
E         - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving]) .lf-fp-thread[data-key=\"ae2d8425\"]").locator(".lf-fp-value")

_______________ test_thread_rows_name_action_in_existing_status ________________
>       expect(asked.locator(".lf-fp-value")).to_have_text("Your turn")
E       AssertionError: Locator expected to have text 'Your turn'
E       Actual value: None
E         - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving]) .lf-fp-thread[data-key=\"2be2443f0bb6cc49fc86b52f340e6073\"]").locator(".lf-fp-value")

____________ test_a_thread_nobody_picked_up_reads_its_opening_words ____________
>       expect(row.locator(".lf-fp-value")).to_have_text(re.compile(r"^Still queued for "))
E       AssertionError: Locator expected to have text 're.compile('^Still queued for ')'
E       Actual value: None
E         - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving]) .lf-fp-thread[data-key=\"f2aa61b9\"]").locator(".lf-fp-value")

____________ test_an_agent_reply_says_when_the_user_owes_an_answer _____________
>       expect(thread_row(page, asked).locator(".lf-fp-value")).to_have_text("Your turn")
E       AssertionError: Locator expected to have text 'Your turn'
E       Actual value: None
E         - waiting for locator(".lf-fp-view[data-view=\"threads\"]:not([data-leaving]) .lf-fp-thread[data-key=\"9ac18a8a\"]").locator(".lf-fp-value")

This report session read CI evidence and did not reproduce locally. Reproduce on current main and read the introducing change and previous results before choosing a repair; preserve its intent and the user behavior. A passing rerun alone does not settle an intermittent failure.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 30, 2026
  2. leaf-agent commented on Oct 30, 2026

    @leaf-agent
    CollaboratorAuthor

    #4764 repairs the stale thread-status selectors without changing the status words or dropping workflow, streaming, delivery, or obligation assertions. The local reproduction failed while “Your turn” remained visible; all ten reported cases pass with the repair.

    Pushed as 171e370b7. Review and CI remain for the queued review and landing workflows; this session does not wait for CI because await_ci: false.

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions