Skip to content

Mark migrations done with one touch on first install - #18985

Merged
dhh merged 1 commit into
quattrofrom
fast-migration-markers
Nov 15, 2026
Merged

dhh merged 1 commit into
quattrofrom
fast-migration-markers

Conversation

@dhh

@dhh dhh commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

The first-install branch of omarchy-provision-user marked each migration done with its own basename and touch: over 500 processes, 1.4s at the end of the user finalizer on an N1x (process start is ~1.3 ms there). One touch over the expanded names makes the same 272 markers in 3 ms.

test/shell.d/provision-user-test.sh passes.

🤖 Generated with Claude Code

A basename and a touch per migration were over 500 processes at the end of
the user finalizer, 1.4s on an N1x, where starting a process costs about
1.3 ms. One touch makes the same markers in 3 ms.

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

greptile-apps Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This change appears safe to merge.

Summary

omarchy-provision-user now creates first-install migration markers with one touch instead of running basename and touch for every migration.

  • First-install setup creates all migration markers with one touch call.

Reviews (1) · Last reviewed commit: "Mark migrations done with one touch on f..." · Reviewed by Greptile

@dhh
dhh merged commit b88f490 into quattro Nov 15, 2026
3 checks passed
@dhh
dhh deleted the fast-migration-markers branch November 15, 2026 13:44
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