Skip to content

ci-fix: thirteen nightly failures from the panel, placement and register changes #547

Closed

Description

@leaf-agent

The scheduled ci run 34468213858 on 013f3c44 came back 22 failed, 2378 passed, 6 skipped. Four of those are already repaired by #536, which merged an hour after that commit. Of the remaining eighteen, five are realigned in the pull request that links this issue. The thirteen below still fail on main at 08b4de95, reproduced there with -n0 in a clean checkout; each needs a decision about what the product should do, which is why none of them is repaired yet.

The response bar's Floating UI placement

#537 replaced the response bar's collision walker with a vendored Floating UI lifecycle. It states two changes that these cases contradict: the bar now overlays page and margin content instead of pushing it, and it is placed with strategy: "fixed" rather than in the document's coordinate space. #537 updated test_render_aim.py, test_render_reactions.py and test_render_startup.py; these files were never run against it.

  • test_render_outbox.py::test_the_comment_field_scrolls_with_the_passage_it_is_about — the page moves 240px and the bar 0px in the same synchronous evaluate. Its docstring is the contract the fixed strategy gives up: "A viewport-fixed field would let the page scroll underneath until the response sat over something it was never about." autoUpdate re-places the bar a frame later, so the question is whether a frame of detachment during a scroll is the behaviour we want, or whether the bar belongs in the document's space.
  • test_render_anchors.py::test_a_selection_around_a_targets_buttons_does_not_deaden_them — the bar's textarea intercepts the pointer over the suggestion's Reject, and the click times out after 30s of retries. This is the overlay working as Use Floating UI for stable comment placement #537 describes it, against a test that says a margin action under the bar must still take a press.
  • test_render_anchors.py::test_every_suggestion_activation_dismisses_a_standing_selection[g] — with the bar standing, the go-to sequence offers no address for the same suggestion's Accept, so address_code never resolves. The Enter and Space routes pass, which is what points at the covered margin element rather than at the decision.
  • test_render_conversations.py::test_a_thread_about_a_fixed_part_of_the_layer_moves_neither_box — opening a thread about a fixed part of the layer scrolls the page from 1200 to 1571.
  • test_render_drafts.py::test_a_composer_on_one_passage_is_one_box_in_every_tab — the field is 32px where the test wants 50px, so the box the reader writes in is one line rather than the sized one.
  • test_render_reactions.py::test_comment_response_choices_expand_in_place[click-1280] and [keyboard-1280] — at 1280 the choices wrap under the field instead of extending it to the right, which is the assertion the parametrisation exists to make. The 390 variants pass.

The first three are verified against the run and the source. The last three are consistent with the same change and were not bisected.

A keydown listener outside the key register

test_render_navigation.py::test_the_register_is_the_only_way_a_key_enters_the_runtime fails on assert 3 == 2. #542 added document.addEventListener("keydown", onReactionKeydown, { capture: true }) to anchor-controls.js for the Escape that folds a revealed reaction removal back. The test's own docstring says why a third is the failure it pins: "a keydown beside a display list, the two of them free to disagree about which keys the widget answers."

Routing it through the register is not a move of the declaration. Declaring the row on the reaction seat with keys(seat, null, rows) works while focus is on the seat's own mark — verified, with aria-keyshortcuts="Escape" on the seat and "esc close" on the shortcut bar — but the press this is for arrives elsewhere. Enter on the mark moves focus to .lf-margin-option-proxy, a control the living margin hoists out of the seat, so the register's containment walk never reaches the seat's scope, and Escape there is already the margin's own "let go". So the repair is a statement about precedence between the margin and the surface whose control it hoisted, and about whether the register should follow lfForwardedControl back to the control a proxy stands for. Both are yours rather than a fix that can be derived from the failure.

Five with no cause established

  • test_render_anchors.py::test_every_passage_in_a_real_page_can_be_quoted[live-progress] — six passages in the live-progress example raise no Comment button, all of them widget-generated text ("17 of 18checks complete", "1needs decision", "On the rehearsal").
  • test_render_drawing.py::test_a_posted_drawing_stands_down_without_a_false_page_reference — the page never sends the data-anchored drawing; the wait begins and gives up on sends=0 acked=0 pending=0 asked=1 heard=1.
  • test_render_navigation.py::test_a_tall_local_comment_survives_its_panes_posture_and_return — the complete multiline draft is not reachable in its field. Its subject is a draft in the response bar, so it may belong to the group above.
  • test_render_widgets.py::test_a_playground_sends_one_choice_while_the_first_press_is_in_flight — the page never hears back what it sent, giving up on sends=2 acked=1 pending=1.
  • test_render_widgets.py::test_an_ask_arrival_starts_with_the_context_that_frames_it — #storage-options offers one ask address where the test wants two.

Why they arrived together

uv run pytest tests skips every test_render_* module, so a pull request lands its nightly half unread and the scheduled run is the first thing to read it. Fifteen pull requests landed between the two nightlies, and #530, #537 and #542 each changed a contract these files state without running them. The nightly is doing its job; what it cannot do is tell the author before the merge.

Activity

  1. added
    tend-outage
    on Sep 10, 2026
  2. leaf-agent commented on Sep 11, 2026

    @leaf-agent
    CollaboratorAuthor

    Run 34468213858

    log tail

    
    Aria snapshot:
    - button "Skip to Leaf controls"
    - main:
      - heading "Session store" [level=1]
      - paragraph: Redis, with a signed-cookie fallback for reads.
    - banner:
      - text: Claude isn't watching right now. 2 updates are saved. It picks them up next turn.
      - button "Asks 1/2"
      - 'button "v1: open versions"': v1
      - button "Threads (2)"
    - text: Go to — No visible targets. p page — threads kept, letters visible target, m / t / a / h / f filter by kind, Shift+t close Threads panel, Shift+a Asks panel, Shift+m Page map, Shift+v versions, g or Shift+g top / bottom, Escape cancel
    - button "? more"
    FAILED tests/test_render_reactions.py::test_comment_response_choices_expand_in_place[click-1280] - AssertionError: ({'x': 976.5, 'y': 319.328125, 'width': 215.5, 'height': 32}, [{'x': 976.5, 'y': 355.328125, 'width': 36, 'height': 32}, {'x': 1016.5, 'y': 355.328125, 'width': 37, 'height': 32}, {'x': 1057.5, 'y': 355.328125, 'width': 37, 'height': 32}, {'x': 1098.5, 'y': 355.328125, 'width': 37, 'height': 32}, {'x': 1139.5, 'y': 355.328125, 'width': 37, 'height': 32}, {'x': 1180.5, 'y': 355.32812
    assert False
     +  where False = all(<generator object test_comment_response_choices_expand_in_place.<locals>.<genexpr> at 0x7f3aacb55d20>)
    FAILED tests/test_render_reactions.py::test_comment_response_choices_expand_in_place[keyboard-1280] - AssertionError: ({'x': 976.5, 'y': 319.328125, 'width': 215.5, 'height': 32}, [{'x': 976.5, 'y': 355.328125, 'width': 36, 'height': 32}, {'x': 1016.5, 'y': 355.328125, 'width': 37, 'height': 32}, {'x': 1057.5, 'y': 355.328125, 'width': 37, 'height': 32}, {'x': 1098.5, 'y': 355.328125, 'width': 37, 'height': 32}, {'x': 1139.5, 'y': 355.328125, 'width': 37, 'height': 32}, {'x': 1180.5, 'y': 355.32
    assert False
     +  where False = all(<generator object test_comment_response_choices_expand_in_place.<locals>.<genexpr> at 0x7f3aaca567a0>)
    FAILED tests/test_render_semantic_selection.py::test_selection_hints_do_not_name_page_content_behind_a_covering_panel - AssertionError: a selection hint is painted on the covering thread panel: {'panelLeft': 280, 'centres': [24, 24, 35, 69, 69, 79, 98, 303]}
    assert 303 < 280
     +  where 303 = max([24, 24, 35, 69, 69, 79, ...])
    FAILED tests/test_render_widgets.py::test_a_playground_sends_one_choice_while_the_first_press_is_in_flight - AssertionError: the page never heard back what it sent: the wait began on sends=1 acked=0 pending=2 asked=1 heard=1 and gave up on sends=2 acked=1 pending=1 asked=2 heard=2
    FAILED tests/test_render_widgets.py::test_an_ask_arrival_starts_with_the_context_that_frames_it - AssertionError: Locator expected to have text '['1', '2']'
    Actual value: ['1'] 
    Call log:
      - Expect "to_have_text" with timeout 5000ms
      - waiting for locator("#storage-options > lf-option > .lf-address[data-lf-ask-address]")
        14 × locator resolved to 1 element
    =========== 22 failed, 2378 passed, 6 skipped in 3981.06s (1:06:21) ============
    ##[error]Process completed with exit code 1.
    
  3. leaf-agent commented on Sep 11, 2026

    @leaf-agent
    CollaboratorAuthor

    The next scheduled run, 34562158190 on 692032a4, came back 38 failed, 2393 passed, 6 skipped. I reproduced all 38 against main at 19f3ba5f to separate what this issue already owns from what has arrived since.

    Eleven of the thirteen here still fail. Two no longer do: test_render_drawing.py::test_a_posted_drawing_stands_down_without_a_false_page_reference and test_render_widgets.py::test_a_playground_sends_one_choice_while_the_first_press_is_in_flight both pass on main, repaired by one of #576, #579 or #580. Both were in the "no cause established" group, so nothing here needs re-deciding for them.

    Eight more are realigned in #582, none of them from this issue's list. They came from three later changes whose nightly readers live in files those pull requests did not touch: #551 made the thread preview place and focus asynchronously, #574 made the compact card reveal its reply box on request and renamed the card to "Conversation for …", and #561 made settlement read responds on an agent reply and made leaf reply require one of --for and --initiates.

    Nine are new here and still need a decision. I have not bisected these; each line is what main shows today.

    • test_render_aim.py::test_a_compact_comment_carries_its_box_into_the_inline_thread — the card is 167.05px at the end of the carry where it was 176.75px at the start. Compact conversation cards and align thread actions #574 is the change that resized the card, so the question is whether the carry should hold the height it began at.
    • test_render_conversations.py::test_the_thread_list_ring_paints_above_its_scrolling_contents[light] and [dark] — after the ring assertions pass, t on the focused thread list leaves focus on .lf-threads. The list no longer steps into its first thread, which reads as Compact conversation cards and align thread actions #574's keyboard landing rather than a broken ring.
    • test_render_controls.py::test_the_composed_corpus_declares_every_control_row_archetype — six controls in the Features tab match no archetype: +, the Padding/Margin/Gap/Border select, Add style, Looks right, Needs work, and the gallery/review.py summary. Declaring one is the shape of Declare the comparison rail's caption archetype #504, and each needs a target in the stable corpus page and a stability contract to state.
    • test_render_controls.py::test_every_ring_the_layer_draws_is_shown_whole_somewhere_in_the_corpus — was realigned in Realign five nightly tests to the toggling panel addresses #548 and fails again with a different reading: a box the walk expects visible is not.
    • test_render_pages.py::test_an_anchor_written_from_the_mapped_revision_lands_on_the_page[notification-playground] — eight anchors resolve to nothing, all of them quotes that run through a gap in the rendered words (set to , owner visibility set to ,). That is a playground value the page says and the file capture does not, which is a says/wrote question rather than an anchor one.
    • test_render_projection.py::test_the_render_gate_applies_every_standing_action_a_second_time — a light-scheme gate finding at 540x720 that the first application does not raise.
    • test_render_reactions.py::test_a_response_draft_yields_focus_when_the_panel_leaves_no_usable_room[390] and [450] — .lf-fab-input is hidden where the test expects it visible.

    Two more are outside both lists. test_render_controls.py::test_each_control_archetype_holds_its_neighbours_still[diff-review] fails on main with "diff-review has no neighbouring control to hold" and was green in the run above, so it arrived with #576, #579 or #580. test_site.py::test_every_published_page_stands_as_a_live_page@site needs a built site and I have not reproduced it.

    One structural note on why these keep arriving in this shape. #340 runs a pull request's touched nightly modules, and all three causes behind #582 were runtime changes whose readers sit in files the change did not touch — #551 updated test_render_aim.py, test_render_margin.py, test_render_navigation.py and test_render_startup.py, and the press it changed is read in test_render_anchors.py. A change to a runtime contract and the file naming that contract are related by the contract, not by the path, so the touched-module rule cannot see it. Widening that selection is a cost decision — the complete suite is about ninety minutes — so I have left it as an observation rather than a pull request.

  4. leaf-agent commented on Sep 11, 2026

    @leaf-agent
    CollaboratorAuthor

    Run 34562158190

    log tail

        14 × locator resolved to <span class="lf-status-text" title="2 updates are saved. Claude is listening — revising the plan.">2 updates are saved. Claude is listening — revisi…</span>
           - unexpected value "2 updates are saved. Claude is listening — revising the plan."
    
    Aria snapshot:
    - text: 2 updates are saved. Claude is listening — revising the plan.
    FAILED tests/test_render_startup.py::test_a_thread_says_what_the_agent_is_doing_about_it - AssertionError: Locator expected to have count '0'
    Actual value: 1 
    Call log:
      - Expect "to_have_count" with timeout 5000ms
      - waiting for locator(".lf-thread[data-id=\"3118fdc6ac8cf83543180ba1d5ac8cad\"]").locator(".lf-msg.user[data-mid=\"3118fdc6ac8cf83543180ba1d5ac8cad\"] > .lf-msg-head > .lf-receipt[data-receipt-id=\"3118fdc6ac8cf83543180ba1d5ac8cad\"]")
        14 × locator resolved to 1 element
           - unexpected value "1"
    FAILED tests/test_render_startup.py::test_conversation_timestamps_age_without_new_state - AssertionError: Locator expected to have text '3h ago'
    Actual value: just now 
    Call log:
      - Expect "to_have_text" with timeout 5000ms
      - waiting for locator(".lf-msg-head > time").first
        14 × locator resolved to <time datetime="2026-09-11T05:51:14+00:00">just now</time>
           - unexpected value "just now"
    
    Aria snapshot:
    - time: just now
    FAILED tests/test_render_widgets.py::test_an_ask_arrival_starts_with_the_context_that_frames_it - AssertionError: Locator expected to have text '['1', '2']'
    Actual value: ['1'] 
    Call log:
      - Expect "to_have_text" with timeout 5000ms
      - waiting for locator("#storage-options > lf-option > .lf-key-badge[data-lf-ask-binding-badge]")
        - locator resolved to 0 elements
        13 × locator resolved to 1 element
    =========== 38 failed, 2393 passed, 6 skipped in 5412.00s (1:30:12) ============
    ##[error]Process completed with exit code 1.
    
  5. leaf-agent commented on Sep 11, 2026

    @leaf-agent
    CollaboratorAuthor

    The next scheduled run, 34591215585, is the first nightly to read main at 19f3ba5f — the commit the comment above reproduced against — and it came back 36 failed, 2406 passed, 6 skipped. Twenty-two of those are this issue's, and nothing here is repaired: the eleven from the original list still fail, and so do the nine plus two parametrisations added above. Eight more are #582's, unchanged.

    Six are new since 34562158190, which places them on #576, #579 or #580. Four are repaired in #583, with the cause for each: a copy dropped the <label> off a range input it kept (a product hole in the bake that #580's page-authored module was the first to reach), a handoff that #576 moved from a margin status row onto the target's own control, and eleven plus one class names that #576 and #579 deliberately gave a document-level face.

    The two #583 leaves are decisions rather than repairs, and they belong here.

    • test_render_controls.py::test_each_control_archetype_holds_its_neighbours_still[diff-review] — named above as arriving with one of the three; Compose comments inline in diff threads #579 is the one. It moved the review press out of .lf-diff-file into a new .lf-diff-file-actions wrapper that theme.css draws back onto the summary line, so the press still shares that line while the sweep, which reads a row as the target's parent's children, no longer sees the summary it must hold still. Widening the reading to the file is the move that presents itself and it is the wrong one: measured, el.closest('.lf-margin-cluster, .lf-diff-file') puts every file's summary and every file-level + into test_the_composed_corpus_declares_every_control_row_archetype's undeclared list, taking it from five entries to dozens — which is that test's own question, already on this list, made larger. The alternatives are a row scope declared per archetype, leaving the two sweeps disagreeing about what a row is, or a stable corpus diff bound to data so the + stands beside Review the way it does in the PR example.
    • test_render_startup.py::test_the_thread_follows_the_decision_that_still_stands — the withdrawn reject restores accept on the widget as the test expects, and the thread stays open for the whole five-second wait. It does not reproduce outside the complete suite: tests/test_render_startup.py passes 93/93 under the default parallelism, and the case passes alone under -n0. Either the whole suite's load is the arrangement it needs, or it is a first-and-only sighting; the next nightly decides which.

    One reading that has moved since the comment above: test_render_drawing.py::test_a_posted_drawing_stands_down_without_a_false_page_reference and test_render_widgets.py::test_a_playground_sends_one_choice_while_the_first_press_is_in_flight, reported there as passing on main, are also absent from this run — so the repair holds in the scheduled environment and not only in a local reproduction.

  6. leaf-agent commented on Sep 12, 2026

    @leaf-agent
    CollaboratorAuthor

    Run 34591215585

    log tail

      - paragraph: Filler 9. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 10. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 11. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 12. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 13. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 14. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 15. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 16. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 17. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 18. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
      - paragraph: Filler 19. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words. Words.
    - banner:
      - text: Claude is working — Writing the page (just now)
      - 'button "v1: open versions"': v1
      - button "Threads (0)"
    - button "? more"
    FAILED tests/test_render_startup.py::test_the_thread_follows_the_decision_that_still_stands - AssertionError: Locator expected to have count '0'
    Actual value: 1 
    Call log:
      - Expect "to_have_count" with timeout 5000ms
      - waiting for locator(".lf-threads > .lf-thread[data-id=\"c1\"]")
        14 × locator resolved to 1 element
           - unexpected value "1"
    FAILED tests/test_render_widgets.py::test_an_ask_arrival_starts_with_the_context_that_frames_it - AssertionError: Locator expected to have text '['1', '2']'
    Actual value: ['1'] 
    Call log:
      - Expect "to_have_text" with timeout 5000ms
      - waiting for locator("#storage-options > lf-option > .lf-key-badge[data-lf-ask-binding-badge]")
        14 × locator resolved to 1 element
    =========== 36 failed, 2406 passed, 6 skipped in 4892.97s (1:21:32) ============
    ##[error]Process completed with exit code 1.
    
  7. leaf-agent commented on Sep 13, 2026

    @leaf-agent
    CollaboratorAuthor

    Every case this issue names now passes. The complete suite's most recent run — 34723553049 on 67216a110b10d5ea7750cdc309b756f27e273307, 2026-09-12T22:44Z — collected all twenty-one of them and failed none. I read that from the run's own pytest-results-nightly JUnit rather than from the absence of a FAILED line, so a case that had quietly stopped being collected would have shown up as missing rather than as a pass.

    That covers both lists: the thirteen in the body — the seven Floating UI placement cases, the key-register case, and the five with no cause established — and the nine added on 2026-09-11. Several expand into parametrised sets and every member passed: test_every_passage_in_a_real_page_can_be_quoted 17, test_an_anchor_written_from_the_mapped_revision_lands_on_the_page 17, test_comment_response_choices_expand_in_place 4, test_every_suggestion_activation_dismisses_a_standing_selection 3, and test_the_thread_list_ring_paints_above_its_scrolling_contents and test_a_response_draft_yields_focus_when_the_panel_leaves_no_usable_room 2 each.

    So the product decisions this issue asks for are moot. The ones that needed deciding were decided in the changes that landed since; the rest were repaired. Nothing here is waiting on you.

    What the complete suite looks like now. It ran five times in the last 24 hours, each time failing one or two cases, none of them from this issue's lists:

    Run SHA Failure Disposition
    34689533353 (schedule) 4aa102e2 test_site::test_published_workspaces_keep_their_allocation_under_site_context[live-progress] recurrence of #632, recorded there
    34711087986 09437163 test_render_widgets::test_notification_configuration_becomes_a_commentable_local_artifact bisected to #621, already fixed by #644
    34719169306 d2c2a29f test_render_projection × 2 one already repaired by #648, the other fixed in #659
    34720087859 dd18bf09 test_render_outbox::test_z_waits_for_an_unanswered_thread_resolution never diagnosed — see below; it did not recur
    34723553049 67216a11 test_render_conversations::test_resolve_acknowledges_the_press_and_recovers_a_refusal[inline] fixed in #662

    That is 38 failures on 2026-09-11 down to one or two per run, each carrying a root-cause fix rather than a widened assertion. The job also came back inside 61–64 minutes every time against its own 135-minute cap in ci.yaml, so the 90-minute reading from 2026-09-11 was tracking the failure count rather than a growing suite and that cap needs nothing.

    The one failure that got no diagnosis. dd18bf09's ci-fix run, 34725133215, was created two seconds after that nightly concluded and cancelled ninety seconds later while still pending. What replaced it in the queue was 34725199642, dispatched for 34724946104 — a ci run that cancel-in-progress had stopped mid-"Build website" with nothing failing in it. That session correctly concluded there was no cause and posted nothing, which is the right call for its own trigger and also means the real failure it displaced was never looked at. tend-ci-fix admits both failure and cancelled conclusions into one concurrency group whose queue holds a single pending run, so a no-op cancellation can evict a pending diagnosis of a red suite. I'm recording this rather than acting on it: it is one occurrence, the displaced failure did not return on the next run, and the workflow is generated by tend rather than editable here.

    The structural observation in the body still stands. uv run pytest tests deselects every test_render_*.py module and test_site.py, so a pull request lands its nightly half unread and the scheduled run is still the first thing to read it. Every failure in the table above reached main that way.

    I'm leaving this open rather than closing it, since ci-fix owns its own trackers — but as far as the suite is concerned there is nothing left in it.

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-outage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions