⚡ Bolt: Optimize base64 decoding for ThumbHash (#40)

* ⚡ Bolt: Optimize base64 decoding for ThumbHash

Co-authored-by: ralksta <16941050+ralksta@users.noreply.github.com>

* ⚡ Bolt: Fix CI by adding AUTH_SECRET env var to build step

Co-authored-by: ralksta <16941050+ralksta@users.noreply.github.com>

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
This commit is contained in:
Ralksta
2026-03-22 09:51:25 +01:00
committed by GitHub
parent db19504c91
commit e3e5972b32
3 changed files with 17 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ async function main() {
const originalYaml = fs.readFileSync(SETTINGS_YAML, 'utf8');
// Dynamic import for Playwright (may not be installed globally)
const { chromium } = await import('playwright');
const { chromium } = await import('@playwright/test');
const browser = await chromium.launch();
try {
@@ -226,7 +226,7 @@ async function waitForServer(url: string, timeoutMs: number): Promise<void> {
* Wait for all <img> elements to finish loading their full-resolution images.
* This prevents capturing blurhash placeholders instead of real photos.
*/
async function waitForImages(page: import('playwright').Page): Promise<void> {
async function waitForImages(page: import('@playwright/test').Page): Promise<void> {
await page.waitForTimeout(1000); // Initial settle
await page.evaluate((timeout) => {