Skip to content

refactor: unify post_install routing between install and migrate#156

Merged
indaco merged 1 commit intomainfrom
refactor/post-install-unified
Apr 23, 2026
Merged

refactor: unify post_install routing between install and migrate#156
indaco merged 1 commit intomainfrom
refactor/post-install-unified

Conversation

@indaco
Copy link
Copy Markdown
Owner

@indaco indaco commented Apr 23, 2026

Description

Migrate now calls the shared post_install.drive helper instead of carrying its own copy of the locate -> execute -> route -> fall back decision tree. Both commands route through one entry point, so users see byte-identical human and JSON envelopes for every post_install outcome regardless of which command did the work.

Related Issue

  • None

Notes for Reviewers

  • None

Both commands now drive post_install through a single shared helper, so
human and JSON envelopes match byte-for-byte regardless of which command
ran the hook. Migrate's duplicated decision tree is gone.
@indaco indaco merged commit 3b8c0bc into main Apr 23, 2026
3 checks passed
@indaco indaco deleted the refactor/post-install-unified branch April 23, 2026 09:06
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