ci(studio): the studio-open journey counts the same thumbnails on every runner image (#7187)

At 900 px the root composition card sat on the edge of the list's thumbnail margin, so a small layout change between runner images decided whether it asked for a thumbnail. A 1400 px window puts every card well inside it.
This commit is contained in:
Miguel Ángel
2026-11-04 21:25:49 +00:00
committed by GitHub
parent c6f87f59b0
commit 2f321e0b0b
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -981,7 +981,7 @@ jobs:
- run: bun run --cwd packages/core build
- run: bun run --cwd packages/core build:hyperframes-runtime
- name: Set up the Chrome build the work-count ceilings were measured on
# The runner image's Chrome moves under the gate: 156.0.8078.79 renders one more thumbnail than .47.
# The ceilings are counted on one Chrome build, so a Chrome release cannot move them.
# Bump this with the ceilings in packages/studio/tests/e2e/perf-ceilings.json, never alone.
id: chrome
uses: browser-actions/setup-chrome@c785b87e244131f27c9f19c1a33e2ead956ab7ce # v1
+6 -2
View File
@@ -2,10 +2,14 @@
"studio-open": {
"browser": "156",
"counts": {
"thumbnailRenders": 13,
"thumbnailRenders": 14,
"total.frameNavigations": 7,
"total.requests.document": 2,
"total.requests.thumbnail": 14
"total.requests.thumbnail": 15
},
"raised": {
"thumbnailRenders": "The journey's window grew from 900 to 1400 px so every composition card, the root's too, asks for its thumbnail on any runner image. Studio does no new work.",
"total.requests.thumbnail": "The journey's window grew from 900 to 1400 px so every composition card, the root's too, asks for its thumbnail on any runner image. Studio does no new work."
}
}
}
@@ -61,7 +61,9 @@ const browser = await puppeteer.launch({
});
try {
const page = await browser.newPage();
await page.setViewport({ width: 1600, height: 900 });
// Tall enough that every composition card is well inside the list's 200 px thumbnail margin. At 900 px the root card
// sat on that edge, and the runner image's fonts decided whether it asked for a thumbnail.
await page.setViewport({ width: 1600, height: 1400 });
const counters = await startWorkCounters(browser, page);
const thumbnailsInFlight = new Set();
const thumbnailOutcomes = [];