Repository navigation
Draw the install progress from the runtime's shared screen - #371
Merged
Merged
Conversation
First-boot setup (omarchy-provision-owner) draws the same progress screen as this dashboard, from a copy that had drifted: it kept the bar when the dashboard moved to tracing Omarchy's icon. The tracer, its layout and the rows beneath it now live in the omarchy runtime as install/provisioning/progress-icon.sh (omacom/omarchy#17156). build-iso.sh vendors that file into the ISO the way it does setup-form.sh, and refuses to build without it. The dashboard sources it and keeps only its own progress model, the verify status line and the translated tips. Dashboard tests run with a no-op fixture in its place, since they cover the dashboard and not the drawing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] The PR appears safe to merge; the previous report-test failure is fixed. SummaryThe install dashboard now draws progress with the runtime’s shared screen.
Reviews (3) · Last reviewed commit: "Read the report step's edge default in t..." · Reviewed by Greptile |
This branch is built against omarchy's quattro, which the edge packages track, so a pull request's ISO should install what quattro is now, as the aarch64 build already did. x86_64 built from stable, which can only carry a quattro change after the next release: a change here that depends on one could not pass until then. Build both from edge; stable and rc stay a choice for runs by hand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DjDeveloperr
added a commit
to DjDeveloperr/omarchy
that referenced
this pull request
Oct 31, 2026
progress_icon_cell_size asked KDFONTOP for the font with a zero width and height bound. con_font_get refuses a font larger than the bound with ENOSPC, so on a Linux VT the read always failed. The CSI 16t query after it gets no answer from the VT either, so every layout spent 150 ms in cbreak before assuming 8x16. Pass a 32 x 32 bound. With no data pointer the kernel then fills in only the width and height: a plain GET returns fonts up to 32 rows, and none the console can carry here is wider than 16. The CSI 16t query goes, since the VT never answers it. Desktop terminals still report their cell through the window's pixel size; one that reports none is taken to be 8x16. This is the fix omacom/omarchy-iso#363 makes to the dashboard's own copy, which omacom/omarchy-iso#371 replaces with this file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test substitutes the workflow's channel expression to run the report step by itself, and still looked for the stable default the previous commit replaced with edge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Install test failure
Boots are loader, kernel and userspace, without the VM's firmware. Install phases, x86_64
Install phases, aarch64
|
ryanrhughes
pushed a commit
to omacom/omarchy
that referenced
this pull request
Nov 4, 2026
…ogress frames without forking (#17036) * Draw the Omarchy icon as first-boot setup progresses The first-boot setup screen is a port of the ISO install dashboard, so the first boot reads as the end of the install. The ISO replaced its 34-cell bar with the Omarchy icon traced in green along its outline (omarchy-iso 9373d0e), then dropped the whimsy lines under it (c55617c). The port kept the bar, the wordmark and a "Setting up your machine" title, and every deferred install finishes on it, every Apple Silicon image included. Port the ISO's current screen: the icon sized to the console's font cell and traced as setup advances, the percentage under it and the dimmed tip, in the ISO's rows. The title goes, as "Installing Omarchy" went from the ISO's. The trace animates at 10 Hz between 2 Hz state reads and eases over phase jumps. Only setup's successful end completes it: the rest is traced, then the whole icon is the last frame. The ISO patches ▀ and ▄ into its Terminus console font. The kbd fonts scale_console_font picks from (default8x16, sun12x22, latarcyrheb-sun32) already map █, ▀ and ▄, which the logo draws with too, so first boot needs no font of its own. Their half blocks split a cell at 7/16, 10/22 and 14/32 scanlines rather than in half, as in the logo. A new test checks the fonts installed. sun12x22's cell isn't 2:1 like Terminus's, and the ISO's proportional width drew two of the icon's fifteen columns, the right edge and the bridges, at half stroke there. Columns are whole cells instead: the ISO's icon exactly on 8x16 and 16x32, and 9% wider than tall on sun12x22. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fold the first-boot progress checks into the owner setup tests AGENTS.md asks to extend an area's existing test file rather than add a new *-test.sh. The progress screen checks move from their own file into provision-owner-keyboard-test.sh, the existing test that runs omarchy-provision-owner's functions against fixtures. They run in a subshell there, so the screen's stubs (term_size, sleep) and globals stay out of the keyboard tests. The checks themselves are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Size the first-boot icon in whole cells without reading the font The cell-size read never worked on a Linux VT. It asked KDFONTOP for the font with a zero width and height bound, which con_font_get refuses with ENOSPC. The CSI 16t query after it gets no answer from the VT, so every layout spent 150 ms in cbreak before assuming 8x16. The icon only looked right because its width came out at 15 * scale on all three console fonts anyway. Drop the read, the python3 it ran and the cell math. The icon is 15 * scale cells wide, each grid square scale pixels a side, so every stroke is as wide as the next on default8x16, sun12x22 and latarcyrheb-sun32: square on the two 2:1 fonts, 9% wider than tall on sun12x22. The width check can't fail at the ISO's scale thresholds any more and goes too. The tests drop the font cells production never reached, and the even-stroke check that only restated the width. The ISO's dashboard makes the same read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the grey under the first-boot icon's tracing tip Where a traced pixel sat over an untraced one, the cell was drawn as green ▀ on a bright black background, CSI 32;100m. The Linux VT reads 100-107 as 40-47, so the grey lower half came out in background colour 0 and vanished: at the tip of every downward stroke, and at scale 3 in the cells that straddle two icon rows, which can stay like that through a long re-key. Keep the bright half in the foreground and the other as the background, picking ▀ or ▄ to match, so a green upper over a grey lower is grey ▄ on green, CSI 90;42m. No cell asks for a bright background any more. The ISO's dashboard draws the same cell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Draw first-boot setup frames without forking The trace draws at 10 Hz, five times the old bar's rate, but each frame still forked stty to check the console size, and each centered line forked stty | awk for the width and printf | sed to measure itself: roughly two hundred forks a second while finalize-user and the UKI rebuild work. The text's padding is worked out with the layout, a line is plain text whose length bash knows, and the tip is picked and trimmed in place, so a frame starts no process at all. The console size is checked on the 2 Hz state tick instead, which still rebuilds the icon at a new size and keeps its progress. The tick runs stty, cat and, during finalize, grep. The re-key test stubs the tick, which run_setup now calls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Cap the frames first-boot setup's finish draws render_setup_finish only ended because each frame moved the drawing on, so with render_setup_dynamic stubbed, as a test harness does, it would spin for ever. The ease covers even the whole trace in under thirty frames; stop at forty whatever the frames do, then draw the whole icon. The re-key test still stubs render_setup_finish, because it never loads the screen's functions; the stub no longer guards against a hang. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Check first-boot setup's finish traces over several frames The finish check only looked at the end state, so a finish that jumped straight to the whole icon in one frame passed it too. It now also needs the frames to show more than two percentages on the way to 100%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Read the console's font size in a way the VT answers progress_icon_cell_size asked KDFONTOP for the font with a zero width and height bound. con_font_get refuses a font larger than the bound with ENOSPC, so on a Linux VT the read always failed. The CSI 16t query after it gets no answer from the VT either, so every layout spent 150 ms in cbreak before assuming 8x16. Pass a 32 x 32 bound. With no data pointer the kernel then fills in only the width and height: a plain GET returns fonts up to 32 rows, and none the console can carry here is wider than 16. The CSI 16t query goes, since the VT never answers it. Desktop terminals still report their cell through the window's pixel size; one that reports none is taken to be 8x16. This is the fix omacom/omarchy-iso#363 makes to the dashboard's own copy, which omacom/omarchy-iso#371 replaces with this file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the grey under the install icon's tracing tip Where a traced pixel sat over an untraced one, the cell was drawn as green ▀ on a bright black background, CSI 32;100m. The Linux VT reads 100-107 as 40-47, so the grey lower half came out in background colour 0 and vanished: at the tip of every downward stroke, and at scale 3 in the cells that straddle two icon rows. Keep the bright half in the foreground and the other as the background, picking ▀ or ▄ to match, so a green upper over a grey lower is grey ▄ on green, CSI 90;42m. No cell asks for a bright background any more. The test traces every step at every scale and fails on the old cell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Draw install progress frames without forking Both screens draw at 10 Hz, and first-boot setup does it while finalize-user and the UKI rebuild work the disk. Each frame forked stty to check the console size, and each of its four centered lines forked stty for the width and printf | sed to measure itself, plus a subshell per truncated line and one for first-boot's tip: about 200 processes a second. The layout keeps the console width, a line is measured in bash, the status and tip are trimmed into variables, and provision-owner's tip is picked in place. A frame now starts no process except the console size check, which runs on every fifth frame, 2 Hz at the callers' rate, so a console that settles late still gets the icon rebuilt at its new size within half a second. The frames are byte-identical to before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Give every column of the install icon the same width The icon's width was 15 grid columns times the scale, stretched to the font's aspect and rounded once for the whole icon. With an 8x16 cell that is exact, and until the font read worked every console looked like 8x16. Reading the real cell exposes the rounding: with sun12x22, which first boot can pick, scale 1 came out 14 columns wide, so grid column 14, the icon's right edge, was never drawn. At scale 2 its 28 columns made some strokes one column wide and others two. Give each grid column the same whole number of screen columns, the nearest to square in the font, so the icon is always 15 times that. 2:1 fonts, the patched Terminus and latarcyrheb-sun32 included, draw exactly as before. Found by Greptile reviewing this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
cursor Bot
pushed a commit
to mark-groves/omarchy
that referenced
this pull request
Nov 4, 2026
…ogress frames without forking (omacom#17036) * Draw the Omarchy icon as first-boot setup progresses The first-boot setup screen is a port of the ISO install dashboard, so the first boot reads as the end of the install. The ISO replaced its 34-cell bar with the Omarchy icon traced in green along its outline (omarchy-iso 9373d0e), then dropped the whimsy lines under it (c55617c). The port kept the bar, the wordmark and a "Setting up your machine" title, and every deferred install finishes on it, every Apple Silicon image included. Port the ISO's current screen: the icon sized to the console's font cell and traced as setup advances, the percentage under it and the dimmed tip, in the ISO's rows. The title goes, as "Installing Omarchy" went from the ISO's. The trace animates at 10 Hz between 2 Hz state reads and eases over phase jumps. Only setup's successful end completes it: the rest is traced, then the whole icon is the last frame. The ISO patches ▀ and ▄ into its Terminus console font. The kbd fonts scale_console_font picks from (default8x16, sun12x22, latarcyrheb-sun32) already map █, ▀ and ▄, which the logo draws with too, so first boot needs no font of its own. Their half blocks split a cell at 7/16, 10/22 and 14/32 scanlines rather than in half, as in the logo. A new test checks the fonts installed. sun12x22's cell isn't 2:1 like Terminus's, and the ISO's proportional width drew two of the icon's fifteen columns, the right edge and the bridges, at half stroke there. Columns are whole cells instead: the ISO's icon exactly on 8x16 and 16x32, and 9% wider than tall on sun12x22. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fold the first-boot progress checks into the owner setup tests AGENTS.md asks to extend an area's existing test file rather than add a new *-test.sh. The progress screen checks move from their own file into provision-owner-keyboard-test.sh, the existing test that runs omarchy-provision-owner's functions against fixtures. They run in a subshell there, so the screen's stubs (term_size, sleep) and globals stay out of the keyboard tests. The checks themselves are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Size the first-boot icon in whole cells without reading the font The cell-size read never worked on a Linux VT. It asked KDFONTOP for the font with a zero width and height bound, which con_font_get refuses with ENOSPC. The CSI 16t query after it gets no answer from the VT, so every layout spent 150 ms in cbreak before assuming 8x16. The icon only looked right because its width came out at 15 * scale on all three console fonts anyway. Drop the read, the python3 it ran and the cell math. The icon is 15 * scale cells wide, each grid square scale pixels a side, so every stroke is as wide as the next on default8x16, sun12x22 and latarcyrheb-sun32: square on the two 2:1 fonts, 9% wider than tall on sun12x22. The width check can't fail at the ISO's scale thresholds any more and goes too. The tests drop the font cells production never reached, and the even-stroke check that only restated the width. The ISO's dashboard makes the same read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the grey under the first-boot icon's tracing tip Where a traced pixel sat over an untraced one, the cell was drawn as green ▀ on a bright black background, CSI 32;100m. The Linux VT reads 100-107 as 40-47, so the grey lower half came out in background colour 0 and vanished: at the tip of every downward stroke, and at scale 3 in the cells that straddle two icon rows, which can stay like that through a long re-key. Keep the bright half in the foreground and the other as the background, picking ▀ or ▄ to match, so a green upper over a grey lower is grey ▄ on green, CSI 90;42m. No cell asks for a bright background any more. The ISO's dashboard draws the same cell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Draw first-boot setup frames without forking The trace draws at 10 Hz, five times the old bar's rate, but each frame still forked stty to check the console size, and each centered line forked stty | awk for the width and printf | sed to measure itself: roughly two hundred forks a second while finalize-user and the UKI rebuild work. The text's padding is worked out with the layout, a line is plain text whose length bash knows, and the tip is picked and trimmed in place, so a frame starts no process at all. The console size is checked on the 2 Hz state tick instead, which still rebuilds the icon at a new size and keeps its progress. The tick runs stty, cat and, during finalize, grep. The re-key test stubs the tick, which run_setup now calls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Cap the frames first-boot setup's finish draws render_setup_finish only ended because each frame moved the drawing on, so with render_setup_dynamic stubbed, as a test harness does, it would spin for ever. The ease covers even the whole trace in under thirty frames; stop at forty whatever the frames do, then draw the whole icon. The re-key test still stubs render_setup_finish, because it never loads the screen's functions; the stub no longer guards against a hang. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Check first-boot setup's finish traces over several frames The finish check only looked at the end state, so a finish that jumped straight to the whole icon in one frame passed it too. It now also needs the frames to show more than two percentages on the way to 100%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Read the console's font size in a way the VT answers progress_icon_cell_size asked KDFONTOP for the font with a zero width and height bound. con_font_get refuses a font larger than the bound with ENOSPC, so on a Linux VT the read always failed. The CSI 16t query after it gets no answer from the VT either, so every layout spent 150 ms in cbreak before assuming 8x16. Pass a 32 x 32 bound. With no data pointer the kernel then fills in only the width and height: a plain GET returns fonts up to 32 rows, and none the console can carry here is wider than 16. The CSI 16t query goes, since the VT never answers it. Desktop terminals still report their cell through the window's pixel size; one that reports none is taken to be 8x16. This is the fix omacom/omarchy-iso#363 makes to the dashboard's own copy, which omacom/omarchy-iso#371 replaces with this file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the grey under the install icon's tracing tip Where a traced pixel sat over an untraced one, the cell was drawn as green ▀ on a bright black background, CSI 32;100m. The Linux VT reads 100-107 as 40-47, so the grey lower half came out in background colour 0 and vanished: at the tip of every downward stroke, and at scale 3 in the cells that straddle two icon rows. Keep the bright half in the foreground and the other as the background, picking ▀ or ▄ to match, so a green upper over a grey lower is grey ▄ on green, CSI 90;42m. No cell asks for a bright background any more. The test traces every step at every scale and fails on the old cell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Draw install progress frames without forking Both screens draw at 10 Hz, and first-boot setup does it while finalize-user and the UKI rebuild work the disk. Each frame forked stty to check the console size, and each of its four centered lines forked stty for the width and printf | sed to measure itself, plus a subshell per truncated line and one for first-boot's tip: about 200 processes a second. The layout keeps the console width, a line is measured in bash, the status and tip are trimmed into variables, and provision-owner's tip is picked in place. A frame now starts no process except the console size check, which runs on every fifth frame, 2 Hz at the callers' rate, so a console that settles late still gets the icon rebuilt at its new size within half a second. The frames are byte-identical to before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Give every column of the install icon the same width The icon's width was 15 grid columns times the scale, stretched to the font's aspect and rounded once for the whole icon. With an 8x16 cell that is exact, and until the font read worked every console looked like 8x16. Reading the real cell exposes the rounding: with sun12x22, which first boot can pick, scale 1 came out 14 columns wide, so grid column 14, the icon's right edge, was never drawn. At scale 2 its 28 columns made some strokes one column wide and others two. Give each grid column the same whole number of screen columns, the nearest to square in the font, so the icon is always 15 times that. 2:1 fonts, the patched Terminus and latarcyrheb-sun32 included, draw exactly as before. Found by Greptile reviewing this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
cursor Bot
pushed a commit
to mark-groves/omarchy
that referenced
this pull request
Nov 5, 2026
…ogress frames without forking (omacom#17036) * Draw the Omarchy icon as first-boot setup progresses The first-boot setup screen is a port of the ISO install dashboard, so the first boot reads as the end of the install. The ISO replaced its 34-cell bar with the Omarchy icon traced in green along its outline (omarchy-iso 9373d0e), then dropped the whimsy lines under it (c55617c). The port kept the bar, the wordmark and a "Setting up your machine" title, and every deferred install finishes on it, every Apple Silicon image included. Port the ISO's current screen: the icon sized to the console's font cell and traced as setup advances, the percentage under it and the dimmed tip, in the ISO's rows. The title goes, as "Installing Omarchy" went from the ISO's. The trace animates at 10 Hz between 2 Hz state reads and eases over phase jumps. Only setup's successful end completes it: the rest is traced, then the whole icon is the last frame. The ISO patches ▀ and ▄ into its Terminus console font. The kbd fonts scale_console_font picks from (default8x16, sun12x22, latarcyrheb-sun32) already map █, ▀ and ▄, which the logo draws with too, so first boot needs no font of its own. Their half blocks split a cell at 7/16, 10/22 and 14/32 scanlines rather than in half, as in the logo. A new test checks the fonts installed. sun12x22's cell isn't 2:1 like Terminus's, and the ISO's proportional width drew two of the icon's fifteen columns, the right edge and the bridges, at half stroke there. Columns are whole cells instead: the ISO's icon exactly on 8x16 and 16x32, and 9% wider than tall on sun12x22. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fold the first-boot progress checks into the owner setup tests AGENTS.md asks to extend an area's existing test file rather than add a new *-test.sh. The progress screen checks move from their own file into provision-owner-keyboard-test.sh, the existing test that runs omarchy-provision-owner's functions against fixtures. They run in a subshell there, so the screen's stubs (term_size, sleep) and globals stay out of the keyboard tests. The checks themselves are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Size the first-boot icon in whole cells without reading the font The cell-size read never worked on a Linux VT. It asked KDFONTOP for the font with a zero width and height bound, which con_font_get refuses with ENOSPC. The CSI 16t query after it gets no answer from the VT, so every layout spent 150 ms in cbreak before assuming 8x16. The icon only looked right because its width came out at 15 * scale on all three console fonts anyway. Drop the read, the python3 it ran and the cell math. The icon is 15 * scale cells wide, each grid square scale pixels a side, so every stroke is as wide as the next on default8x16, sun12x22 and latarcyrheb-sun32: square on the two 2:1 fonts, 9% wider than tall on sun12x22. The width check can't fail at the ISO's scale thresholds any more and goes too. The tests drop the font cells production never reached, and the even-stroke check that only restated the width. The ISO's dashboard makes the same read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the grey under the first-boot icon's tracing tip Where a traced pixel sat over an untraced one, the cell was drawn as green ▀ on a bright black background, CSI 32;100m. The Linux VT reads 100-107 as 40-47, so the grey lower half came out in background colour 0 and vanished: at the tip of every downward stroke, and at scale 3 in the cells that straddle two icon rows, which can stay like that through a long re-key. Keep the bright half in the foreground and the other as the background, picking ▀ or ▄ to match, so a green upper over a grey lower is grey ▄ on green, CSI 90;42m. No cell asks for a bright background any more. The ISO's dashboard draws the same cell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Draw first-boot setup frames without forking The trace draws at 10 Hz, five times the old bar's rate, but each frame still forked stty to check the console size, and each centered line forked stty | awk for the width and printf | sed to measure itself: roughly two hundred forks a second while finalize-user and the UKI rebuild work. The text's padding is worked out with the layout, a line is plain text whose length bash knows, and the tip is picked and trimmed in place, so a frame starts no process at all. The console size is checked on the 2 Hz state tick instead, which still rebuilds the icon at a new size and keeps its progress. The tick runs stty, cat and, during finalize, grep. The re-key test stubs the tick, which run_setup now calls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Cap the frames first-boot setup's finish draws render_setup_finish only ended because each frame moved the drawing on, so with render_setup_dynamic stubbed, as a test harness does, it would spin for ever. The ease covers even the whole trace in under thirty frames; stop at forty whatever the frames do, then draw the whole icon. The re-key test still stubs render_setup_finish, because it never loads the screen's functions; the stub no longer guards against a hang. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Check first-boot setup's finish traces over several frames The finish check only looked at the end state, so a finish that jumped straight to the whole icon in one frame passed it too. It now also needs the frames to show more than two percentages on the way to 100%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Read the console's font size in a way the VT answers progress_icon_cell_size asked KDFONTOP for the font with a zero width and height bound. con_font_get refuses a font larger than the bound with ENOSPC, so on a Linux VT the read always failed. The CSI 16t query after it gets no answer from the VT either, so every layout spent 150 ms in cbreak before assuming 8x16. Pass a 32 x 32 bound. With no data pointer the kernel then fills in only the width and height: a plain GET returns fonts up to 32 rows, and none the console can carry here is wider than 16. The CSI 16t query goes, since the VT never answers it. Desktop terminals still report their cell through the window's pixel size; one that reports none is taken to be 8x16. This is the fix omacom/omarchy-iso#363 makes to the dashboard's own copy, which omacom/omarchy-iso#371 replaces with this file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the grey under the install icon's tracing tip Where a traced pixel sat over an untraced one, the cell was drawn as green ▀ on a bright black background, CSI 32;100m. The Linux VT reads 100-107 as 40-47, so the grey lower half came out in background colour 0 and vanished: at the tip of every downward stroke, and at scale 3 in the cells that straddle two icon rows. Keep the bright half in the foreground and the other as the background, picking ▀ or ▄ to match, so a green upper over a grey lower is grey ▄ on green, CSI 90;42m. No cell asks for a bright background any more. The test traces every step at every scale and fails on the old cell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Draw install progress frames without forking Both screens draw at 10 Hz, and first-boot setup does it while finalize-user and the UKI rebuild work the disk. Each frame forked stty to check the console size, and each of its four centered lines forked stty for the width and printf | sed to measure itself, plus a subshell per truncated line and one for first-boot's tip: about 200 processes a second. The layout keeps the console width, a line is measured in bash, the status and tip are trimmed into variables, and provision-owner's tip is picked in place. A frame now starts no process except the console size check, which runs on every fifth frame, 2 Hz at the callers' rate, so a console that settles late still gets the icon rebuilt at its new size within half a second. The frames are byte-identical to before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Give every column of the install icon the same width The icon's width was 15 grid columns times the scale, stretched to the font's aspect and rounded once for the whole icon. With an 8x16 cell that is exact, and until the font read worked every console looked like 8x16. Reading the real cell exposes the rounding: with sun12x22, which first boot can pick, scale 1 came out 14 columns wide, so grid column 14, the icon's right edge, was never drawn. At scale 2 its 28 columns made some strokes one column wide and others two. Give each grid column the same whole number of screen columns, the nearest to square in the font, so the icon is always 15 times that. 2:1 fonts, the patched Terminus and latarcyrheb-sun32 included, draw exactly as before. Found by Greptile reviewing this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First-boot setup (
omarchy-provision-owner) draws the same progress screen as the install dashboard, from a copy that drifted: it kept the bar when the dashboard moved to tracing Omarchy's icon. Apple Silicon Macs only ever see that copy. omacom/omarchy#17156 moves the tracer, its layout and the rows beneath it into the runtime asinstall/provisioning/progress-icon.sh. This PR makes the dashboard use that file too.build-iso.shrefuses to build without the file, as it does forsetup-form.sh, because the dashboard would have nothing to draw. The PR's ISO builds therefore need an edgeomarchy-devbuilt from omarchy'squattroafter #17156, which merged on 2026-10-31.Change
builder/build-iso.shvendorsprogress-icon.shinto/usr/share/omarchy-iso/, from--local-sourceor from the runtime package, with the same missing-file error assetup-form.sh.omarchy-install-dashboardsources the vendored file, falling back to$OMARCHY_PATHfor dry runs, and drops its own tracer, cell-size probe and layout code. It keeps its progress model, the verify status line and the translated tips.Dashboard tests (
dashboard-release-gate-test.sh,install-media-diagnosis-test.sh) pointPROGRESS_ICONat a no-op fixture,test/unit/fixtures/progress-icon.sh, since CI has no omarchy runtime. They cover the dashboard, not the drawing, which is tested in the omarchy repo..github/workflows/install-test.ymlbuilds pull requests and merges from edge on both architectures. This branch is built against omarchy'squattro, which the edge packages track; x86_64 used stable, which only carries aquattrochange after the next release. Stable and rc stay a choice for runs by hand.Testing
dashboard-release-gate-test.sh(13 checks) andinstall-media-diagnosis-test.sh(15 checks) pass.OMARCHY_PATHat an omarchy checkout carrying the shared file,OMARCHY_UI_AUTO_REBOOT=no, and stand-insystemctl/rebootcommands. It traced 0% to 100% with tips and exited 0 at the finish screen.🤖 Generated with Claude Code