Skip to content

fix(devserver): surface settings app failure reason (backport #23833) - #25756

Merged
agneszitte merged 1 commit into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-23833
Oct 27, 2026
Merged

agneszitte merged 1 commit into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-23833

Conversation

@mergify

@mergify mergify Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

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 bare Settings application exited with code 2 and assumed a failure. This surfaces the app's stderr/stdout as the reason on the error line.

Dropped from this PR (superseded)

The earlier project‑less‑login fallback commit (cache‑scan / restore‑latest uno.settings.devserver when no global.json) was removed. Per review, the right fix for project‑less login is not to rebuild the global.json → Uno.Sdk → packages.json resolution chain, but to publish Uno.Settings as a real dotnet tool from the licensing stack (it already ships as a self‑contained publish) so the CLI invokes it via dnx. 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

  • Compile — Uno.UI.DevServer.Cli builds clean on current master.
  • Runtime — re‑running login with a sign‑in window already open now prints Settings application exited with code 2: Another instance of this app is running, exiting instead of a bare exit code.

PR Checklist ✅

  • 🧪 Behavior verified at runtime (diagnostics message)
  • 📚 Docs — N/A (log message only)
  • 🖼️ N/A — no UI surface
  • ❗ Contains NO breaking changes
  • 👀 Reviewed 2 other open pull requests

This is an automatic backport of pull request #23833 done by [Mergify](https://mergify.com).

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)
@agneszitte
agneszitte merged commit eae7ac7 into release/stable/6.7 Oct 27, 2026
12 checks passed
@agneszitte
agneszitte deleted the mergify/bp/release/stable/6.7/pr-23833 branch October 27, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant