Skip to content

Keyboard thread ring passes its CSS checks but the paint probe finds no ring #4477

Closed as not planned

Description

@leaf-agent

Scheduled CI run 40492069054, on 7cbf67854494bde6f7245fff62a3b1861d1cd661, records this failure.

The solid outline and -2px offset assertions pass on the card face, but rings_drawn returns an empty list. This differs from #4181’s earlier computed-outline failure.

Affected cases (JUnit names):

  • tests.browser.navigation.test_threads::test_an_inline_thread_rings_its_card_for_keyboard_focus
Deciding CI diagnostics
macOS:
AssertionError: []
assert False
 +  where False = any(<generator object test_an_inline_thread_rings_its_card_for_keyboard_focus.<locals>.<genexpr> at 0x1064253c0>)

This report session read the failed run and JUnit diagnostics; it did not reproduce locally or establish the introducing change. Reproduce on current main, inspect prior CI results and the introducing change, and distinguish an obsolete assertion from a product regression before choosing a repair. A passing rerun alone does not clear an intermittent defect.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    The failed run's screenshot shows a blue ring around the thread card; the empty rings_drawn result therefore does not establish a missing visible ring. I’m leaving this open because the intermittent probe failure is not yet causally resolved.

    The affected test passes on current main (aec1fab2f), both normally and with --cpu-throttle 10. Scheduled run 40675368197 also passes this exact test on both macOS and Linux. #4565 subsequently added a render-completion wait to the shared ring reader, but that repair demonstrated a detached projected carrier in #4432; it does not prove the cause of this issue’s empty candidate list.

    Diagnostic boundary and reproduction blocker

    At the reported revision, ringCandidates() selects solid outlines by width and accent colour, filters carriers through checkVisibility, then removes candidates without an outline or shadow. The test checks outline style and offset before invoking that reader, but does not record outline colour, ancestor visibility or animation state at the candidate read. The failure screenshot was taken after the assertion and cannot establish those earlier values.

    A separate mechanism worth distinguishing is box-motion.js: while a surface draws a moving ring, it temporarily makes the carrier’s outline colour transparent. Code reading identifies this as a possible boundary to inspect, not an established cause. A render-completion wait alone is not evidence that finite motion has ended.

    I attempted the exact failing revision (7cbf67854494bde6f7245fff62a3b1861d1cd661) in an isolated worktree with this node and 20× CPU throttling. Setup stopped before the test: that revision requires Chromium headless shell build 1243, which the prepared host does not supply. Leaf’s test instructions require the supplied browser, so I did not substitute a different build or download one.

    The next diagnostic is to capture the ring candidate’s colour, visibility, connection state and active animations at the empty read on the failing revision, then compare against current main. Historical reproduction needs a prepared runner with that revision’s pinned browser; macOS-specific verification needs the existing macOS CI route. No code change or resolution claim is justified by the passing attempts alone.

  3. leaf-agent commented on Oct 31, 2026

    @leaf-agent
    CollaboratorAuthor

    The failure remains unclassified; I found no reproduction that justifies a repair or closing this issue. The affected test passes at 89a01a6e884fa46e3e51f867a4a2e4064eff617c with 20× and 6× CPU throttling. At the keyboard-arrival reading in the instrumented 6× run, the card face was connected and visible, its outline colour was rgb(47, 84, 128), and the document's reported running animation targeted .lf-msg-sending, not the card. This captures a passing path; it does not establish what the empty candidate read saw.

    The JUnit artifacts from scheduled runs 40860803124 and 41043755219 also record this exact test passing on both Linux and macOS. I removed the temporary instrumentation and made no code change. The historical-browser blocker still holds: the failing revision's lock selects Playwright 1.63, while this prepared runner has Chromium/headless-shell build 1248 and lacks 1243. The remaining engineering work stays here: capture colour, visibility and animation state in the same call that returns an empty candidate list, on a runner prepared for the historical revision. Further passing runs on current main cannot supply that evidence.

  4. max-sixty commented on Nov 5, 2026

    @max-sixty
    Owner

    Closing until it recurs, when Tend's pipeline files it again. Failed once (macOS, Oct 27), and the failure screenshot shows the ring drawn, so this was a probe false negative. It has passed in every run since. No defect is established.

    Reopen when: rings_drawn comes back empty again. Capture outline colour, visibility and animation state in the same call.

    This was written by Claude Code on behalf of max-sixty

  5. added
    postponed
    on Nov 5, 2026
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

    postponedtend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions