Remove post-hook feature and move post-hook to mkosi recipe#402
Remove post-hook feature and move post-hook to mkosi recipe#402canercidam merged 7 commits intomainfrom
Conversation
|
Claude finished @canercidam's task in 2m 39s —— View job PR Review: Remove post-hook feature and move post-hook to mkosi recipe
The Go-side cleanup is clean — the post-hook abstraction, registration logic, and related types are removed consistently. A few issues in the new shell script and some leftover dead code in Go: Issues flagged inline:
Not inline (lines outside diff):
|
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
|
Claude finished @canercidam's task in 1m 24s —— View job PR Review: Remove post-hook feature and move post-hook to mkosi recipe
Good progress — the follow-up commits addressed three of the original issues (misleading comment, dead Remaining dead code that should be cleaned up:
These are minor but worth cleaning up to avoid confusion — users will see |
|
Claude finished @canercidam's task in 1m 20s —— View job PR Review: Remove post-hook feature and move post-hook to mkosi recipe
The latest push addresses most of the shell script issues from the previous review (comment fix, Remaining dead code in Go (carried over from previous review, not yet addressed):
|
|
Claude finished @canercidam's task in 1m 30s —— View job PR Review: Remove post-hook feature and move post-hook to mkosi recipe
Good cleanup overall — the post-hook abstraction is removed cleanly from the Go side and the registration logic is faithfully ported to the shell script. I see the latest commits addressed several issues from the prior review (comment fix, dead Remaining issues:
|
|
Claude finished @canercidam's task in 2m 0s —— View job PR Review: Remove post-hook feature and move post-hook to mkosi recipe
The latest commit ( No new issues found. The post-hook abstraction, registration logic, and all related types/fields/flags are removed consistently. The shell script correctly ports the registration flow. The Pre-existing issue (not introduced by this PR): The mount validation loop in |
|
Claude finished @canercidam's task in 1m 28s —— View job PR Review: Remove post-hook feature and move post-hook to mkosi recipe
The Go-side cleanup is now complete — all dead code ( The shell script faithfully ports the registration flow and the previous review issues (misleading comment, dead No new issues introduced by this PR. Pre-existing issue (not introduced by this PR): The mount validation loop in |
The mkosi recipe can now take in the builder registration responsibility off the playground code.
This helps us remove the complex and unncessary post-hook feature and get rid of an orchestration problem about host dependencies. It is feasible for future to think of and plan ways to orchestrate containers and host services (binaries, custom services with lifecycle hooks) together, with cross-dependencies at start, but the post-hook feature gets in the way of further improvements (observed from a recent personal experiment).