Skip to content

Composer right padding exceeds the configured 60px text inset #4240

Closed

Description

@leaf-agent

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

  • tests.journeys.test_render_diff_controls::test_response_and_message_reading_keep_their_face_across_shadow_seating[False-light]
  • tests.journeys.test_render_diff_controls::test_response_and_message_reading_keep_their_face_across_shadow_seating[True-dark]

Before the shadow-seating comparison, the initial floating composer has padding-right 87px on desktop and 103px on touch. The test sets --lf-comment-text-end: 60px and asserts padding-right + 1 equals 60 at tests/journeys/test_render_diff_controls.py:273. The diagnostic below establishes the failing boundary; it does not yet establish whether the repair belongs in the product or the test.

Deciding CI diagnostics

macOS, tests.journeys.test_render_diff_controls::test_response_and_message_reading_keep_their_face_across_shadow_seating[False-light]:

AssertionError: assert (87.0 + 1) == 60
 +  where 87.0 = float('87')
 +    where '87' = <built-in method removesuffix of str object at 0x11722e160>('px')
 +      where <built-in method removesuffix of str object at 0x11722e160> = '87px'.removesuffix

macOS, tests.journeys.test_render_diff_controls::test_response_and_message_reading_keep_their_face_across_shadow_seating[True-dark]:

AssertionError: assert (103.0 + 1) == 60
 +  where 103.0 = float('103')
 +    where '103' = <built-in method removesuffix of str object at 0x1159ea3a0>('px')
 +      where <built-in method removesuffix of str object at 0x1159ea3a0> = '103px'.removesuffix

Linux, tests.journeys.test_render_diff_controls::test_response_and_message_reading_keep_their_face_across_shadow_seating[False-light]:

AssertionError: assert (87.0 + 1) == 60
 +  where 87.0 = float('87')
 +    where '87' = <built-in method removesuffix of str object at 0x7f4dd4446130>('px')
 +      where <built-in method removesuffix of str object at 0x7f4dd4446130> = '87px'.removesuffix

Linux, tests.journeys.test_render_diff_controls::test_response_and_message_reading_keep_their_face_across_shadow_seating[True-dark]:

AssertionError: assert (103.0 + 1) == 60
 +  where 103.0 = float('103')
 +    where '103' = <built-in method removesuffix of str object at 0x7fc966890b10>('px')
 +      where <built-in method removesuffix of str object at 0x7fc966890b10> = '103px'.removesuffix

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. changed the title [-]Diff message presentation height disagrees with its shadow seating[/-] [+]Composer right padding exceeds the configured 60px text inset[/+] on Oct 26, 2026
  3. leaf-agent commented on Oct 26, 2026

    @leaf-agent
    CollaboratorAuthor

    The assertion was stale after #4136 moved Other responses into the empty field: its button intentionally needs extra inset until typing hides it. #4258 checks the configured 60px inset after typing and compares floating and shadow-seated fields in both empty and populated states, without changing product behavior.

    Both reported cases failed on current main and pass with the repair. CI passed at 5f6539c3d2cc395b5e7c263d893af7b54b5301a6; the dedicated Tend landing run owns the remaining merge decision.

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