Skip to content

Draw first-boot setup with the ISO's traced-icon progress screen - #17156

Merged
dhh merged 2 commits into
quattrofrom
provision-icon-progress
Oct 31, 2026
Merged

dhh merged 2 commits into
quattrofrom
provision-icon-progress

Conversation

@dhh

@dhh dhh commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

omarchy-provision-owner ported the ISO install dashboard's progress screen so a deferred install's first boot continues the screen the install started on. The ISO switched to tracing Omarchy's icon on 2026-09-23 (omacom/omarchy-iso 9373d0e), but the port kept its 34-cell bar. Apple Silicon Macs install from macOS and their only Linux-side install screen is this one, so they never saw the new screen.

Change

  • New install/provisioning/progress-icon.sh: the icon tracer, its console layout, and the percentage, status and tip rows beneath it, moved out of the ISO dashboard. Sourcing it only defines functions. Callers use progress_icon_layout, progress_icon_static, progress_icon_frame <pm> [status] [tip] and progress_icon_finish.
  • omarchy-provision-owner sources it in place of its bar and the layout helpers only the bar used. It now animates at 10 Hz and reads its phase at 2 Hz, as the dashboard does, and completes the drawing only after its worker succeeds. Its progress model is unchanged.
  • test/shell.d/luks-rekey-journal-test.sh stubs the new render_setup_finish alongside the other render functions.

The ISO vendors this file from the runtime package, as it does setup-form.sh, so both screens are drawn from one file and can't drift again. The ISO side is omacom/omarchy-iso#371, which can only merge after a runtime carrying this file is published.

Testing

  • Built the icon with both this file and the ISO's previous copy, at scales 1–3 and cell sizes 8×16, 10×20 and 9×19. Pixel order, fill and cell output are identical.
  • Drove progress_icon_layout, progress_icon_frame and progress_icon_finish in a 40×120 pseudo-terminal: the final frame is the solid icon, 100%, the status line and the tip, with no errors.
  • test/shell.d/luks-rekey-journal-test.sh: 39/39.
  • Ran the ISO dashboard sourcing this file through a fake install in a pseudo-terminal: it traced 0% to 100% with tips and finished cleanly.
  • Not run on a real first boot.

🤖 Generated with Claude Code

omarchy-provision-owner ported the ISO install dashboard's progress
screen so a deferred install's first boot continues the screen the
install started on. The ISO moved to tracing Omarchy's icon on
2026-09-23 and the port kept its 34-cell bar, so Apple Silicon Macs,
whose only Linux-side install screen this is, never saw the new one.

Move the tracer, its layout and the text rows beneath it into
install/provisioning/progress-icon.sh. provision-owner sources it, and
the ISO vendors it from this package as it does setup-form.sh, so both
draw the screen from one file and can't drift again. Each keeps its own
progress model and hands the screen a per-mille position.

provision-owner now animates at 10 Hz and reads its phase at 2 Hz, as
the dashboard does, and completes the drawing only after its worker
succeeds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; both previous findings are fixed.

Summary

First-boot setup now uses the shared traced-icon progress screen instead of a bar.

  • First-boot setup shows the ISO’s traced-icon progress screen.

Reviews (2) · Last reviewed commit: "Keep the progress text's width limit acr..." · Reviewed by Greptile

Comment thread install/provisioning/progress-icon.sh Resolved
Comment thread install/provisioning/progress-icon.sh Resolved
progress_icon_static fed the width already narrowed for the current
console back into progress_icon_layout as the caller's limit, so a
console that shrank and grew back kept tips cut at the narrow width.
Keep the requested limit apart from the width this console leaves.

Indent the cell-size probe's Python with two spaces, as the repo's
style and its other embedded Python do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit 7b6efb0 into quattro Oct 31, 2026
3 checks passed
DjDeveloperr added a commit to DjDeveloperr/omarchy that referenced this pull request Oct 31, 2026
omacom#17156 landed the same port as this branch, with the tracer
moved into install/provisioning/progress-icon.sh for the ISO to vendor.
Take its provision-owner, re-key test stub and keyboard test whole; the
commits after this apply this branch's review fixes to the shared file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
xdanger pushed a commit to xdanger/omarchy-iso that referenced this pull request Oct 31, 2026
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>
ryanrhughes added a commit that referenced this pull request Nov 4, 2026
…17517)

Backports #17156 and #17036 to 4.5. #17036 only edits install/provisioning/progress-icon.sh, which #17156 adds, so both come over together.

(cherry picked from commits 689e2e8, b11ae7d and 6ba05d7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant