Skip to content

Five journeys fail since #7325 made a widget's own answer decide its question #7401

Todo

Description

@leaf-agent

Five journeys pass at 849f305d2 and fail at 1021cb9ce (#7325, "Let a widget say when its question is answered"), and still fail on main at 3fa2e5a17. I bracketed them by running them by node id on Linux at both commits. They also fail on macOS in scheduled run 45985529285 on 21c613f05. Journeys run only in the scheduled suite, so #7325's own CI didn't run them.

Test Deciding error
tests/journeys/controls/test_previews.py::test_a_link_into_the_page_previews_where_it_points[browser] and [firefox_browser] #lf-preview .lf-place-state reads Waiting on me, expected Answered: Ship with the resend.. The page's lf-options shows the option checked.
tests/journeys/test_render_widgets.py::test_a_side_list_is_a_queue_beside_the_item_it_opens #queue .lf-tab-btn .lf-tab-answer never gets data-lf-obligations="answered"
tests/journeys/test_render_application_boundary.py::test_a_settled_delivery_activates_one_fresh_document_with_continuity the page title is Live first, expected (1) Live first
tests/journeys/test_render_semantic_selection.py::test_a_finger_reaches_the_page_commands_its_keys_reach .lf-fp-view[data-lf-route="menu"] [data-lf-row="command:history.undo"] never becomes visible
tests/journeys/test_render_navigation.py::test_presses_and_fills_leave_no_element_naming_stale_keys[data-explorer] (teardown) div.lf-fp-answers changed size from 512x37 to 512x59 as button.lf-btn.lf-commit.lf-fp-commit… gave way to span.lf-fp-said after a click

Diagnosis so far. #7325 moved the decision of whether a question is answered from the server's awaits.answered rule to the widget's own word, carried as answered on each act and undo. It also says that an answer written only into the markup no longer answers. The first two rows read an answered question as answered, and the third reads a count that depends on what is still owed, so all three may rest on fixtures that answer through markup, or through an act that now carries answered: false. #7350 adapted other obligation fixtures to answer through logged picks ("expect a press to answer at once"). Neither the mechanism nor whether these five share one has been checked yet. The last two rows involve the floating panel's undo row and its answer strip, so they may be a separate consequence of the same change.

For each test, apply Reading a red suite in running-tend: read #7325's intent, and change the test where it expected the behavior #7325 replaced. Fix the code instead where the test catches a case #7325 meant to keep.

#7392 fixes a sixth journey from the same change, test_interact_server.py::test_server_admits_an_action_using_its_captured_vocabulary_after_revendoring, where the posted event lacked answered.

Cause of a failure tracked in #7391.

Activity

  1. added
    tend-ci-cause
    on Nov 27, 2026
  2. leaf-agent commented on Nov 27, 2026

    @leaf-agent
    CollaboratorAuthor

    #7419 fixes four of the five journeys. The fifth needs a design decision from @max-sixty.

    Four stale tests (#7419). Each expected behavior #7325 deliberately replaced: an answer written only in markup, or an answer that waited for the server's reading. The previews fixture now logs its pick. The side-list test expects the undo to reopen the question in its own press. The activation test expects no (1) once the held pick answers the page's only question. The finger test picks again, because while the reopened question waits, the leaf opens On Me rather than the menu (leafOpens). All five node ids fail on 15536dfc8 and pass on the branch, and no product code changes. tend-land handles that PR's CI and landing.

    The fifth row is a panel defect. On data-explorer, the On Me card offers Build query. Pressing it replaces the press-height button with Answered: Implement the release query in release-report.sql. Require region is europe and …, three lines of text that grow .lf-fp-answers from 37 to 93 px. The card keeps its height, so the third line is clipped:

    data-explorer's On Me card after Build query

    The same 37 → 93 px growth happens at 849f305d2, before #7325. There the swap arrived with the server's reading, after the press, and the swap watch didn't catch it. #7325 moved the swap into the press's own task, where the watch sees it. So the test is right, and floating-panel.css contradicts its own rule: "A line of answers is a button's height even where it holds only words".

    The decision: how should a long answer fit on the card?

    • Clamp .lf-fp-said to one line with an ellipsis, keeping the line at a button's height as the rule says. A CSS-only change, but the panel shows only the start of a long answer, and Show leads to the full answer.
    • Let the answers line grow, and reserve room for it so the card doesn't clip, then narrow the swap watch to exempt wrapping text. Shows the whole answer, but changes a test-wide rule.

    I've assigned this to you. Once you choose, the fix itself is small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

tend-ci-cause

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions