Repository navigation
fix(v3): wait for standard dev frontend before app startup - #6093
Closed
leaanthony wants to merge 1 commit into
Closed
leaanthony wants to merge 1 commit into
leaanthony wants to merge 1 commit into
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Merged
Member
|
Closing in favor of unified solution in: #6150 |
11 of 15 tasks
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.
A standard
wails3 devproject can launch its native app while frontend dependency installation is still running; the app then exhausts its short startup retry window. Wait for the standard frontend task to open the selected development port before starting the app.Uses the published
github.com/atterpac/refreshv1.1.3 readiness gate, following the upstream-orchestration direction discussed on #5828. Existing standard configurations work without Taskfile edits; custom commands and explicit readiness settings are preserved. The default gate is 60 seconds and follows--portand HTTPS settings. Refresh now owns signal handling, and Wails returns when its blocking supervisor finishes.Fixes #4905. Related: #5828 and #6049. This overlaps #6049's refresh dependency/supervisor changes and needs coordination when either lands; it does not add that PR's primary-process exit policy.
Validation:
STARTED BEFORE FRONTENDon master andREADYwith this change after a six-second delayed frontend.go test -race ./internal/commands -count=1andgo vet ./internal/commandspass on Linux.v3/test/manual/frontend-readiness/check.pyfor the process-ordering regression.git diff --checkpasses. Requiredcoderabbit --plainwas attempted but is unsupported by the installed CLI; supportedcoderabbit review --uncommittedwas attempted and blocked by the free OSS review limit.The readiness gate checks TCP connectivity, as supported by the published refresh release; it does not assert HTTP status. Runtime frontend checks remain in place. Draft pending review and native platform validation.