Commit dba42a3
feat: replace polling with channel-based notifications and default to erofs
Replace the 500ms polling loop in waitForImageReady() with a channel-based
pub/sub notification system on the image manager, reducing build-to-SSE lag.
Switch the default image format from ext4 to erofs (LZ4-compressed read-only
filesystem) for faster, smaller rootfs images. The VM init mounts erofs first
with an ext4 fallback for backward compatibility with legacy images.
Log which filesystem type (erofs or ext4) was actually mounted so operators
can verify erofs is being used and diagnose fallback scenarios.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d5a8b94 commit dba42a3
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
114 | 118 | | |
115 | | - | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
0 commit comments