Repository navigation
fix(devserver): surface settings app failure reason (backport #23833) - #25756
Merged
agneszitte merged 1 commit intoOct 27, 2026
Merged
Conversation
When the sign-in ("Settings") app exits within the launch window, its own
message (e.g. "Another instance of this app is running") was logged only at
debug, so users saw a bare "Settings application exited with code 2" and assumed
a failure. Surface stderr/stdout as the reason on the error line.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
(cherry picked from commit c5eda05)
4 of 5 tasks
agneszitte
approved these changes
Oct 27, 2026
This was referenced Nov 9, 2026
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.
GitHub Issue: Related to internal tracker unoplatform/uno.app-mcp#122
Closes https://github.com/unoplatform/uno.app-mcp/issues/122
PR Type:
🐞 Bugfix
What changed? 🚀
Scoped down per review (@carldebilly). This PR is now just the diagnostics fix.
When the sign‑in ("Settings") app exits within the launch window, its own message — e.g. "Another instance of this app is running" — was logged only at
Debug, so users saw a bareSettings application exited with code 2and assumed a failure. This surfaces the app'sstderr/stdoutas the reason on the error line.Dropped from this PR (superseded)
The earlier project‑less‑login fallback commit (cache‑scan / restore‑latest
uno.settings.devserverwhen noglobal.json) was removed. Per review, the right fix for project‑less login is not to rebuild theglobal.json → Uno.Sdk → packages.jsonresolution chain, but to publishUno.Settingsas a real dotnet tool from the licensing stack (it already ships as a self‑contained publish) so the CLI invokes it viadnx. That gives official NuGet acquisition/integrity/execution, version coherence by construction, and pinning/kill‑switch for free — and removes the hand‑rolled resolution entirely. That work is tracked on the licensing side; it is out of scope here.Validation
Uno.UI.DevServer.Clibuilds clean on current master.loginwith a sign‑in window already open now printsSettings application exited with code 2: Another instance of this app is running, exitinginstead of a bare exit code.PR Checklist ✅
This is an automatic backport of pull request #23833 done by [Mergify](https://mergify.com).