Skip to content

Five dashboard screenshots change on a PR that does not touch the dashboard #4176

Done

Description

@sentry-junior

#4150 changed only packages/junior-vimeo, a docs page, and the lockfile. Frameshift still reported 5 changed shots against the baseline of its base commit, 293ed37. The baseline is saved for that exact base SHA, so these shots change between runs of the same dashboard code. #4117 makes each shot wait until the page goes still, but that does not catch these.

Report: https://frameshift.pub/report/?expires=1798078402&ref=9931a2536ab8b0c55396d19a9fa68e978896297c&repo=getsentry%2Fjunior

Shot What moves Spec
system-cache-warming-refill-running__desktop The cache-warming chart draws at the left edge in the baseline and at about x=1800 in the candidate. The chart width is likely measured before layout settles. e2e/system.spec.ts, e2e/inbox/system.spec.ts
system-cache-missing__desktop Most of the page differs (bbox 124,499 to 1312,3175). It is likely the same chart. same
conversation-event-log__mobile The list scrolls by about one row: the first message row at 11:54:00 is hidden in the candidate. e2e/conversations-event-log.spec.ts, e2e/inbox/conversations-event-log.spec.ts
conversation-attachment-zoom__desktop, __mobile The zoomed image is about 4 px lower. e2e/conversation-attachments.spec.ts

Specs are under packages/junior-dashboard/.

Shot Baseline Candidate
cache warming
cache missing
event log
attachment zoom (desktop)
attachment zoom (mobile)

via @dcramer.

--

View Session [Sentry]

Activity

  1. sentry-junior commented on Nov 24, 2026

    @sentry-junior
    ContributorAuthor

    Seen again on #4175. That PR changes only an eval fixture and a workflow path filter. conversation-event-log__mobile changed again by the same one-row scroll, but in the other direction this time: the baseline has the 11:54:00 message row hidden, and the candidate shows it.

    Report: https://frameshift.pub/report/?expires=1798082093&ref=56e0eae38171288ddac0aa7e24c11ce1ed7f2c13&repo=getsentry%2Fjunior

    Baseline Candidate
  2. sentry-junior commented on Nov 24, 2026

    @sentry-junior
    ContributorAuthor

    Another case on #4180. Its only dashboard change adds one failure label in transcriptFailure.ts. It does not touch the System page or the conversation header. Report

    • system-cache-share__desktop: every chart (cost per change, input cache, model spend, runtime, conversation activity) draws its x-axis squeezed into a narrow band in the middle of the card. The candidate has this bug, not the baseline. This matches the chart width being measured before layout settles.
    • conversation-title__desktop: antialiasing differences only (max 64/255 per channel, nothing visible).
    Baseline Candidate
  3. sentry-junior commented on Nov 24, 2026

    @sentry-junior
    ContributorAuthor

    Two more instances on #4182, which changes no dashboard chart code. Report

    • code__desktop (new shot for this issue): in the candidate, the "Changes over time" chart draws collapsed at the left edge. The bars are missing, and the axis labels overlap ("Aug 2 3 9"). The baseline draws it at full width. This matches the chart-width-before-layout cause above, on another page.
    • system-cache-missing__desktop: same as above.
    Shot Baseline Candidate
    code
    cache missing
  4. sentry-junior commented on Nov 24, 2026

    @sentry-junior
    ContributorAuthor

    Two more shots changed on #4191, which changes only Inbox reply notice cards. Neither page is in its diff. Report

    • conversation-event-log__mobile: same as above. The list is scrolled by one row, so the first message row at 11:54:00 is hidden in the candidate.
    • system-cache-health-stale__desktop: this time the main baseline has the bad chart. It is drawn squeezed into the middle, with its x-axis labels on top of each other. The PR shot draws it at full width. It looks like the same chart-width measurement as system-cache-warming-refill-running.
    Shot Baseline (main) Candidate
    event log
    cache health stale
  5. sentry-junior commented on Nov 24, 2026

    @sentry-junior
    ContributorAuthor

    Seen again on #4202, which changes Inbox link menus and message-text links but not the event log. conversation-event-log__mobile scrolls by one row again: the 11:54:00 message row is hidden in the candidate. Report

    Baseline Candidate
  6. sentry-junior commented on Nov 25, 2026

    @sentry-junior
    ContributorAuthor

    The Attachment Zoom shot still changes after #4360 (refs #4341). On both desktop and mobile, the zoomed image sits about 4px lower.

    Shot Baseline (main) #4364
    desktop
    mobile
  7. sentry-junior commented on Nov 26, 2026

    @sentry-junior
    ContributorAuthor

    Another shot changed on a PR that doesn't touch the dashboard: #4410 changes only packages/junior-vimeo/src/index.ts, a repo check script, and package.json.

    Shot Baseline Candidate
    conversation-unsent-answers__desktop

    Report: https://frameshift.pub/report/?expires=1798254252&ref=be2ffd5586f65dcece9ba194f6f33bac92363538&repo=getsentry%2Fjunior

  8. sentry-junior commented on Nov 27, 2026

    @sentry-junior
    ContributorAuthor

    11 more shots change on PRs that don't touch the dashboard: #4588 (an @sentry/api bump), #4586, #4584 and #4578. See the report for #4588.

    They look like the conversation-event-log case above: the conversation's scroll position hasn't settled when the shot is taken.

    Shot What changes
    conversation-question-card__desktop, -light The thread sits about 47 px lower, and the "1 question waiting" pill shows over the card.
    inbox-item-related-card__mobile, -light The thread behind the sheet sits about 23 px higher.
    conversation-details-inbox-item__mobile, -light, conversation-link-opens-around-event__mobile Most of the page below the header changes. Likely the same scroll.
    inbox-snooze-named-resource__mobile, -light, conversation-question-card-snooze__mobile, -light Only a few pixels change in the bottom sheet.
    Shot Baseline Candidate
    question card
    related card
  9. sentry-junior commented on Nov 27, 2026

    @sentry-junior
    ContributorAuthor

    Two of the three groups here are already fixed on main. Only the conversation scroll group is still open.

    I checked the 459 Frameshift reports from 2026-11-24 20:00 UTC on. 254 of them are from pull requests that do not change packages/junior-dashboard.

    On current main (ac9467a), I ran e2e/system.spec.ts, e2e/inbox/system.spec.ts, e2e/inbox/code.spec.ts and e2e/conversation-attachments.spec.ts 7 times. One run was under extra CPU load. All 41 shots were the same in every run.

    These shots still change on pull requests that do not touch the dashboard. A separate fix for them is in progress:

    • conversation-unsent-answers__desktop, also after test(dashboard): Make four flaky Frameshift shots deterministic #4424 merged.
    • conversation-question-card__desktop and -light, since 11-26 20:09.
    • About 18 phone shots that show a bottom sheet, since 11-27 01:22. Examples: inbox-item-related-card, inbox-snooze-named-resource, conversation-question-card-snooze, conversation-details-inbox-item, conversation-event-details and space-threads.
  10. sentry-junior commented on Nov 27, 2026

    @sentry-junior
    ContributorAuthor

    Three pull requests fix the shots that still change. They follow the chart and attachment zoom fixes from my earlier comment.

  11. sentry-junior commented on Nov 29, 2026

    @sentry-junior
    ContributorAuthor

    Closing as a duplicate of #4177. The shots listed here are sorted: the charts were fixed by #4214, attachment zoom by #4424, and the follow-ups by #4600, #4601 and #4605. The event log shot hasn't changed since Nov 24. #4177 tracks the wider problem of screenshots changing on PRs that don't touch the dashboard.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions