Skip to content

Seated thread cards since #6682: four thread layout and focus tests fail #6709

Closed

Description

@leaf-agent

Four browser tests have failed on main since #6682 (59f78d2a5, "Seat thread cards in their widget's box and ground, as the margin card"):

Test Deciding assertion
tests/browser/navigation/test_threads.py::test_forced_colors_keep_inline_thread_focus_visible focus outline width 1px, offset 0px; test expects 2px, -2px
tests/browser/navigation/test_threads.py::test_inline_thread_surface_has_room_without_focus_reflow "the gap between inline threads lost its separator": {'content': 'none', 'borderTop': '0px'}, expected '""', 1px
tests/browser/threads/test_layout.py::test_the_user_s_words_end_where_the_agent_s_do[seat] the user's words' inset is 0; expected 13 ± 0.5, the agent's
tests/browser/threads/test_rewrites.py::test_a_rewrite_is_the_reply_box_where_the_words_stood[seat] the rewrite box is 566px wide where the reply box is 694px

First failing ci run on main: run 44969990227 on 2ca1362b0, the first push run after #6682 that wasn't cancelled. The fifth failure in that run, test_a_message_reaction_trigger_meets_its_header_and_covers_no_words[360-True], has a separate cause, and #6698 already fixed it.

Diagnosis so far. The failure is deterministic. Locally, all four tests pass on 59f78d2a5~1 and fail on 59f78d2a5 and on current main (866f73be9).

#6682 meant to give every seated thread the margin card's frame, inset, reply field and message width, standing on its widget's declared --lf-ground. It explicitly deleted "core's quiet focus ground and the rules between seated threads". So the first two failures may be stale assertions of a design #6682 replaced, but that isn't settled:

The last two [seat] failures look like layout the card didn't carry through. In a seated card, the user's sent words no longer share the agent's inset, and a rewrite no longer takes the reply box's width. Those failures would be regressions against #6682's own aim of "the margin card's … message width", not stale tests. Reading browser/styles/components/surfaces.css and response.css in #6682's diff against the margin card's rules should show which.

Per .claude/skills/running-tend/SKILL.md, Reading a red suite: if a repair gives up any of #6682's intent, open an issue for the maintainer, who wrote #6682.

Cause of a failure tracked in #6708.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #6713 repairs all four tests. Each fails on current main and passes on the branch.

    Narrowing the reply field is a visible choice #6682 didn't explicitly make. #6714 asks @max-sixty to confirm it or choose the full-row alternative, with before and after pictures.

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