From 511716bfd51f5badb53f2bd8d971cc5179b3f3ff Mon Sep 17 00:00:00 2001 From: CRT Date: Wed, 14 Oct 2026 05:35:59 +0800 Subject: [PATCH] desktop boot check: the Store art tab's live thumbnails are read on demand (art live), so its 'Live store art not read yet' is not a missed background read --- tools/desktop-boot-check.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/desktop-boot-check.ts b/tools/desktop-boot-check.ts index bb3a763..7e76f41 100644 --- a/tools/desktop-boot-check.ts +++ b/tools/desktop-boot-check.ts @@ -686,7 +686,10 @@ async function runAutoReadCase(browser: Browser): Promise { const tx = await text(); // a Play read that lost its edit to a parallel read (pitfall), or a store that failed called empty for (const bad of [/Edit has been deleted/i, /is not on Google Play yet/i]) if (bad.test(tx)) problems.push(`${appName} ${id}: says "${(bad.exec(tx) ?? [''])[0]}"`); - if (/not read yet|Read the stores to see this/i.test(tx)) problems.push(`${appName} ${id}: says "${(/not read yet|Read the stores to see this/i.exec(tx) ?? [''])[0]}" after the background read`); + // the Store art tab's live thumbnails are read on demand (art live: one image download per slot), never by + // the background read: its "Live store art not read yet" is expected there + const unread = id === 'tab-art' ? tx.replace(/Live store art not read yet/gi, '') : tx; + if (/not read yet|Read the stores to see this/i.test(unread)) problems.push(`${appName} ${id}: says "${(/not read yet|Read the stores to see this/i.exec(tx) ?? [''])[0]}" after the background read`); visited++; } }