Repository navigation
test(evals): Move the GitHub evals into the coding suite - #2023
Merged
Merged
Conversation
The event automation and watch evals each set up the GitHub plugin with agent(). They now run in the coding suite and call run() on the suite defaults. The behavioral config gets the same suite for evals/coding/. Both configs read the suite settings from src/suites/coding.ts, so the plugins and skills of the suite have one definition. Refs #2001 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
5 screenshot changes — 5 changed · 0 added · 0 removed Review screenshots in Frameshift |
dcramer
marked this pull request as ready for review
October 3, 2026 03:53
sergical
added a commit
that referenced
this pull request
Oct 9, 2026
Frameshift reports the same unrelated screenshots on most pull requests. Across the last 44 reports (#2023–#2089), 202 of 310 changed screenshots were exact repeats of a diff seen on another PR. Each one flips between two fixed renders from one capture to the next. 31 of the 44 reports contained nothing else. I reproduced CI locally with system Google Chrome (CI uses `channel: "chrome"`) and Ubuntu's subpixel font settings. With that setup, `main` produces the same image files CI flips between, byte for byte. I then tested each change on its own: - **Partial raster:** Chromium re-rasters only the invalidated part of a tile, so some pixels depend on paint history. This causes the 1–2 px diffs at the avatar stack overlap and the repo icon, plus some text edges. `--disable-partial-raster` removes them. On the conversation specs, unstable screenshots went from 5 of 18 to 0 of 14. - **Noise texture:** the full-screen `feTurbulence` overlay still varies by up to 3/255 with partial raster disabled. Screenshots now hide it through Playwright's `style` option, using a `data-dashboard-noise` attribute on the overlay. - **Late font requests:** `document.fonts.ready` only waits for font faces the page has already requested. A face requested later can arrive after the wait and change text. The screenshot helper now loads every declared face before capture. With this step removed, 4 runs had 7 unstable screenshots: the same Share Details, Share Menu, Detail Focused and Workspace tab diffs that recur in CI. - **`SegmentedNav`:** the tab row's scroll position and edge fade depended on earlier layouts (Locations and Workspaces on mobile). It now recomputes from the start whenever the row or a link changes size. - **`ChartSvg`:** the axis label scale came from `getScreenCTM()`, which was only re-read when the SVG resized. It is now derived from the element's current size and the viewBox. CI showed labels drawn far too large or small. I could not reproduce that locally, so this fix is not proven yet. Loading fonts from Google at test time was not a problem by itself. Fonts load live in these runs and the output still matches CI. Results with all changes: 0 of 84 screenshots varied across 8 full-suite runs. Without them, `main` had 9 of 84 varying across 3 runs. When this merges, every saved screenshot changes once because the noise overlay is no longer captured. Later reports should only show real changes. If the chart label flip shows up again, the `ChartSvg` change did not cover it. Follow-up worth considering: CI uses whatever Chrome the runner image ships, so a runner image update will shift text in all screenshots at once. Pinning the browser would avoid that. <!-- junior-request-attribution:start --> via @sergical. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0B2KJG9B5Z%3A1791509162.264559 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0B2KJG9B5Z%3A1791509162.264559) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0B2KJG9B5Z%3A1791509162.264559/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Sergiy Deceive-skiy <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the GitHub tests that call
agent(github)into thecodingsuite, as the suites comment on #2001 proposes. Five eval files set up the GitHub plugin in each test. They now callrun()on the suite defaults, so they all run on the same agent: the GitHub and memory plugins and the coding skills.Moved files
evals/integration/event-automations/→evals/integration/coding/event-automations/evals/integration/agent/subscriptions.eval.ts→evals/integration/coding/subscriptions.eval.tsevals/agent/subscriptions.eval.ts→evals/coding/subscriptions.eval.tsThe behavioral config gets the suite too
evals/agent/subscriptions.eval.tsis a behavioral eval, so it stays under the 80% score gate.vitest.evals.behavioral.config.tsnow has the same two projects as the integration config:behavioralandcoding, withevals/coding/as the suite directory. The shard command and the result file do not change. The behavioral workflow path filter addsevals/coding/**.Both configs read the suite settings from
src/suites/coding.ts: the project name,SKILL_DIRS, and the options module. The options module moved fromevals/integration/coding/agent-options.tstosrc/suites/coding-agent-options.ts. A change to the suite now starts both eval workflows, because both select onsrc/**.Review focus
agent({ plugins: defineJuniorPlugins([]) }).plugin.session.completed_task_schedule.failed, as test(evals): Move the handoff evals to the agent test fixture #2022 describes. ThecreateApp()plugin task queue option in One fixture for agent tests: run(), continue(), and loaded history #2001 removes it.Refs #2001
🤖 Generated with Claude Code