Files
wehub-resource-sync 8a21a212f8
Deploy Documentation / deploy (push) Has been cancelled
Canary / build-cli (push) Has been skipped
Canary / Upload Install Script (push) Has been skipped
Canary / bundle-desktop (push) Has been skipped
Canary / bundle-desktop-intel (push) Has been skipped
Canary / bundle-desktop-linux (push) Has been skipped
Canary / bundle-desktop-windows (push) Has been skipped
Canary / bundle-desktop-windows-cuda (push) Has been skipped
Canary / Release (push) Has been skipped
Cargo Deny / deny (push) Has been skipped
Unused Dependencies / machete (push) Has been skipped
Canary / Prepare Version (push) Failing after 1s
Live Provider Tests / check-fork (push) Failing after 0s
Create Minor Release PR / check-version-bump-pr (push) Has been skipped
Publish Ask AI Bot Docker Image / docker (push) Failing after 1s
Live Provider Tests / changes (push) Has been skipped
Scorecard supply-chain security / Scorecard analysis (push) Has been skipped
Publish Docker Image / docker (push) Failing after 1s
CI / changes (push) Failing after 8s
Create Minor Release PR / release (push) Has been skipped
Live Provider Tests / Smoke Tests (push) Has been cancelled
Live Provider Tests / Smoke Tests (Code Execution) (push) Has been cancelled
Live Provider Tests / Compaction Tests (push) Has been cancelled
CI / Build Rust Project on Windows (push) Has been cancelled
Live Provider Tests / Build Binary (push) Has been cancelled
CI / Lint Rust Code (push) Has been cancelled
CI / Check Generated Schemas are Up-to-Date (push) Has been cancelled
CI / Test and Lint Electron Desktop App (push) Has been cancelled
CI / Check Rust Code Format (push) Has been cancelled
CI / Build and Test Rust Project (push) Has been cancelled
CI / Check MSRV (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:04:08 +08:00

74 lines
2.5 KiB
Markdown

---
title: Debug Desktop Startup Failures
sidebar_label: Debug Desktop Startup Failures
description: Find the desktop startup diagnostics log, understand the key fields, and share the right artifacts when goose fails to start.
---
When goose Desktop fails before the backend becomes ready, the normal server log may be empty or incomplete. In that case, the most useful artifact is the startup diagnostics JSON written by the desktop app.
## Find the Startup Diagnostics Log
goose Desktop writes one startup diagnostics file per launch attempt.
Typical locations:
- macOS: `~/Library/Application Support/Goose/logs/startup/`
- Windows: `%APPDATA%\Goose\logs\startup\`
- Linux: `~/.config/Goose/logs/startup/`
The files are named like:
```text
goosed-startup-2026-04-21T01-24-03.149Z-23416.json
```
If several files exist, use the newest one.
## What To Share
When reporting a desktop startup failure, share:
- the newest `goosed-startup-*.json`
- your goose version
- your operating system and version
For Windows native crashes, also attach the Windows crash report for `goosed.exe` if available.
Common places to find the Windows crash report:
- Event Viewer: `Windows Logs``Application`
- Reliability Monitor: `View technical details`
- WER files on disk:
- `%LOCALAPPDATA%\Microsoft\Windows\WER\ReportArchive\`
- `%LOCALAPPDATA%\Microsoft\Windows\WER\ReportQueue\`
Look for a `Report.wer` related to `goosed.exe`.
If you are filing a GitHub issue or asking for support, this is usually enough:
- the newest `goosed-startup-*.json`
- your goose version
- your operating system and version
- on Windows, `Report.wer` for `goosed.exe` if Windows created one
## What The Startup Log Contains
In most cases, sharing the newest startup log is enough.
If you want a quick high-level read, focus on these fields:
- `childExitCode` or `childExitSignal`
Shows whether the backend process exited during startup.
- `certFingerprintSeen`
Shows whether the backend reached the TLS startup stage.
- `healthCheckSucceeded`
Shows whether the desktop app ever observed the backend as ready.
- `stderrTail`
Shows the most recent startup output captured from the backend, including major startup stage markers when available.
- `events`
Shows the order of major startup steps like process spawn, health check, and child exit.
## Related Diagnostics
For session or in-app issues after goose has started, use the normal diagnostics bundle described in [Diagnostics and Reporting](/docs/troubleshooting/diagnostics-and-reporting).