Feat: Link the deploy report's top images to the run summary, with a button for the run

Also drops the Pages fallback notes, since the Pages project is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 17:48:50 +00:00
co-authored by Claude Opus 5.5
parent 9e3195298f
commit c7613c4c09
4 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ Object.assign(report, {
ok: true, promoted: ids.length, bytes,
added: ids.filter(id => !prev[id]).length, removed: Object.keys(prev).filter(id => !chosen[id]).length,
promotedViews: ids.reduce((a, id) => a + chosen[id].views, 0),
top: ids.slice(0, 5).map(id => ({ id, views: chosen[id].views })),
top: ids.slice(0, 50).map(id => ({ id, views: chosen[id].views })),
});
await writeFile(`${CACHE}/report.json`, JSON.stringify(report, null, 2));
console.log(JSON.stringify(report, null, 2));