Repository navigation
Repair DesktopLauncher configuration and Compose lifecycle - #952
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #952 +/- ##
=======================================
Coverage 74.35% 74.35%
=======================================
Files 183 183
Lines 36516 36516
Branches 2540 2540
=======================================
+ Hits 27150 27151 +1
+ Misses 8456 8455 -1
Partials 910 910 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
wangyinz
marked this pull request as draft
August 14, 2026 06:01
wangyinz
marked this pull request as ready for review
August 14, 2026 15:46
wangyinz
marked this pull request as draft
August 25, 2026 16:17
Member
Author
|
Renewed review found three blockers:
Maintainer decision needed: if some configured Compose services are already running on entry, should |
wangyinz
force-pushed
the
codex/issue-808-iu-desktop
branch
from
August 25, 2026 17:16
aa2d9f5 to
053a12c
Compare
Member
Author
|
Implemented the reviewed lifecycle policy and rebased onto #951/master.
Keeping this PR draft until the refreshed CI is green. |
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.
Summary
DesktopLauncherondata/yaml/compose.yaml, canonical Linux/macOS/Windows browser argv, and argv-only subprocess executionmspass-frontend, and report ready only when every configured service is runningValueError; Compose, readiness, and browser failures raiseRuntimeErrorRoot cause
The prototype queried logs before readiness, mixed Compose configuration and service names, built platform-specific browser shell strings, ignored command return codes, and did not track stack/browser ownership consistently.
The first version of this PR followed an issue-authored contract too literally: it targeted and checked only the frontend service, which can leave a scheduler with no worker, and changed ordinary launcher failures to
MsPASSError(Invalid)without a compatibility basis. The scientific/API re-audit corrected both expansions.Impact
Desktop launches now fail explicitly, require the database/scheduler/worker/frontend topology to be running, never fabricate a fallback URL, preserve caller-owned stacks, and clean up owned resources without replacing the original exception when cleanup itself also fails.
Validation
git diff --check: passedDesktopLauncherin a legacy file whose unrelated HPC section is not Black-formattedThis PR remains draft pending the full renewed compatibility/scientific re-audit.
Fixes #808