feat(tui): mark restart-required settings and add confirmation modal#417
Merged
SuperCoolPencil merged 4 commits intomainfrom Apr 27, 2026
Merged
feat(tui): mark restart-required settings and add confirmation modal#417SuperCoolPencil merged 4 commits intomainfrom
SuperCoolPencil merged 4 commits intomainfrom
Conversation
Binary Size Analysis
|
1335fa1 to
75073ad
Compare
75073ad to
577a1f0
Compare
577a1f0 to
93bced4
Compare
Comment on lines
+1
to
+5
| package main | ||
| import "syscall" | ||
| func main() { | ||
| syscall.Exec("", nil, nil) | ||
| } |
Contributor
There was a problem hiding this comment.
Scratch file breaks Windows build
Go compiles files matching *_windows.go exclusively on Windows. This file will therefore be compiled only on Windows, but it calls syscall.Exec — a POSIX-only function that does not exist in Go's syscall package on Windows. Any go build ./... on a Windows runner will fail with syscall.Exec undefined. This looks like a leftover from exploratory testing and should be deleted before merging.
Prompt To Fix With AI
This is a comment left during a code review.
Path: scratch/test_windows.go
Line: 1-5
Comment:
**Scratch file breaks Windows build**
Go compiles files matching `*_windows.go` exclusively on Windows. This file will therefore be compiled only on Windows, but it calls `syscall.Exec` — a POSIX-only function that does not exist in Go's `syscall` package on Windows. Any `go build ./...` on a Windows runner will fail with `syscall.Exec undefined`. This looks like a leftover from exploratory testing and should be deleted before merging.
How can I resolve this? If you propose a fix, please make it concise.… Unix compatibility
09c7cdb to
036775c
Compare
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.
Greptile Summary
This PR adds UI markers for restart-required settings and a confirmation modal that gates a clean process re-exec behind an explicit user choice. The cross-platform restart implementation is solid —
syscall.Execon Unix and a detached child-plus-natural-exit on Windows, with the lock explicitly released before spawning — and the reflection-based change detection against a snapshotted baseline is a clean approach. Remaining findings are all P2.Confidence Score: 5/5
Safe to merge; all remaining findings are style/comment P2s with no impact on runtime correctness
No P0 or P1 issues found. The cross-platform restart logic is correct, the ANSI-in-WrapText and other substantive issues were addressed in previous review rounds, and the new test coverage is adequate for the happy path.
internal/utils/run_windows.go (misleading comment), internal/utils/open.go (trivial docstrings)
Important Files Changed
Prompt To Fix All With AI
Reviews (5): Last reviewed commit: "feat: implement platform-specific proces..." | Re-trigger Greptile
Context used: