Skip to content

Live news moves the resting reading target by 40px #4236

Closed

Description

@leaf-agent

Scheduled CI run 40311120380 on f919fdebec5313bfbc0e67a4d989fa76c3652bf8 records this failure on Linux, macOS.

  • tests.journeys.projection.test_reading_position::test_live_news_keeps_the_reading_draft_and_resting_target

Earlier #2751 concerned this test's 69px working-message insertion and was closed by #2752. This run shows a 40.1875px resting-target displacement and a 40px passive message-head shift. Check whether that earlier mechanism recurred before treating its fix as sufficient.

Deciding CI diagnostics

macOS, tests.journeys.projection.test_reading_position::test_live_news_keeps_the_reading_draft_and_resting_target:

AssertionError: assert {'x': 24, 'y'...ight': 54.375} == approx({'x': ...54.375 ± 0.5})
  
  comparison failed. Mismatched elements: 1 / 4:
  Max absolute difference: 40.1875
  Max relative difference: 0.09543953393446881
  Index | Obtained   | Expected        
  y     | 461.265625 | 421.078125 ± 0.5

macOS, tests.journeys.projection.test_reading_position::test_live_news_keeps_the_reading_draft_and_resting_target:

failed on teardown with "AssertionError: http://127.0.0.1:55559/: div.lf-msg-head moved without input by (0, 40)px; the same frame moved p in main.layout-column, div.lf-ui.lf-visual-mark.lf-visual-mark-here, p#reading, h1#h, ::after in button.lf-thread-notice.lf-thread-notice-news.lf-thread-news.lf-ui.lf-ui-face

Linux, tests.journeys.projection.test_reading_position::test_live_news_keeps_the_reading_draft_and_resting_target:

AssertionError: assert {'x': 24, 'y'...ight': 54.375} == approx({'x': ...54.375 ± 0.5})
  
  comparison failed. Mismatched elements: 1 / 4:
  Max absolute difference: 40.1875
  Max relative difference: 0.09152699192199566
  Index | Obtained   | Expected        
  y     | 479.265625 | 439.078125 ± 0.5

Linux, tests.journeys.projection.test_reading_position::test_live_news_keeps_the_reading_draft_and_resting_target:

failed on teardown with "AssertionError: http://127.0.0.1:35211/: div.lf-msg-head moved without input by (0, 40)px; the same frame moved div.lf-ui.lf-visual-mark.lf-visual-mark-here, p in main.layout-column, p#reading, h1#h, ::after in button.lf-thread-notice.lf-thread-notice-news.lf-thread-news.lf-ui.lf-ui-face

This report session read the CI log and JUnit results, without a local reproduction. Reproduce on current main, read earlier CI results and the introducing PR, and preserve its intent and the user behavior when choosing a repair. Do not clear an intermittent failure on a passing rerun alone.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Oct 26, 2026
  2. added a commit that references this issue on Oct 27, 2026
    5e2209a
  3. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    Merged #4396. The 40.1875px shift came from the source revision inserting context above the title while the page was at scroll offset zero. #4124 deliberately made that position stay at the page's start; the working-message hold was still functioning.

    The test now starts 20px down and retains every reading-position, draft-selection, resting-pointer and held-reply assertion. It failed before the setup change and passed afterward, including at 6× CPU throttling; PR CI passed on the pushed head. No runtime behavior changed.

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