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
+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 = [];