Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

oven: fix native build progress tracking (match [ac-os] prefix)

Stage detection was looking for [build] prefix but ac-os logs with
[ac-os]. Now matches both, plus more specific log line patterns.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+4 -4
+4 -4
oven/native-builder.mjs
··· 42 42 job.updatedAt = nowISO(); 43 43 44 44 // Parse progress hints from build-and-flash.sh + upload-release.sh output 45 - if (clean.includes("[build]")) { 46 - if (clean.match(/kernel|bzImage|vmlinuz/i)) { 45 + if (clean.includes("[build]") || clean.includes("[ac-os]")) { 46 + if (clean.match(/Building kernel|bzImage|vmlinuz/i)) { 47 47 job.stage = "kernel"; 48 48 job.percent = Math.max(job.percent, 55); 49 - } else if (clean.match(/initramfs|cpio|lz4/i)) { 49 + } else if (clean.match(/initramfs|cpio|lz4|Repacking|Copying firmware/i)) { 50 50 job.stage = "initramfs"; 51 51 job.percent = Math.max(job.percent, 30); 52 - } else if (clean.match(/binary|ac-native|gcc|musl/i)) { 52 + } else if (clean.match(/Building binary|Built:|ac-native|gcc|musl/i)) { 53 53 job.stage = "binary"; 54 54 job.percent = Math.max(job.percent, 10); 55 55 }