Skip to content

[Bug] Desktop app 15-second delay creating new windows due to Temporal scheduler timeout #4614

@erickirt

Description

@erickirt

Describe the bug The Goose Desktop app takes exactly 15 seconds to create new windows due to the bundled Temporal scheduler failing to start and timing out before falling back to the legacy scheduler.

To Reproduce Steps to reproduce the behavior:

Install Goose Desktop app via Homebrew (brew install --cask block-goose)
Launch the Goose Desktop application
Click "New Chat" or try to create any new window
Observe exactly 15-second delay before window appears
Expected behavior New windows should open instantly or within 1-2 seconds, similar to other desktop applications.

Screenshots N/A - This is a timing/performance issue rather than a visual bug.

Please provide following information:

OS & Arch: macOS 26.0 arm64 (confirmed on other macOS versions)
Interface: Desktop UI
Version: 26 beta 2 or 3
Extensions enabled: Default extensions (Developer, Memory, Computer Controller)
Provider & Model: OpenRouter - x-ai/grok-code-fast-1
Additional context

Root Cause: Based on log analysis from ~/.local/state/goose/logs/server/, the issue occurs because:

Goose attempts to start bundled Temporal service on port 58080
Service fails to become ready within 15-second timeout (30 attempts × 0.5s)
After timeout, falls back to legacy scheduler
Only then does window creation complete
Log evidence:

2025-09-11T16:57:16.247264Z INFO goose::scheduler_factory: Attempting to create Temporal scheduler
2025-09-11T16:57:31.567085Z WARN goose::scheduler_factory: Failed to create Temporal scheduler: Scheduler internal error: Temporal service failed to become ready within 15s timeout (30 attempts)
2025-09-11T16:57:31.567114Z INFO goose::scheduler_factory: Falling back to legacy scheduler
Simple Workaround: Setting export GOOSE_SCHEDULER_TYPE=legacy completely resolves the issue - windows open instantly.

Impact: This affects every single window creation, making the app feel broken/unresponsive and significantly degrading user experience(Imagine wanting a new window or chat and waiting for 20 seconds before it appears)

Metadata

Metadata

Assignees

Labels

p3Priority 3 - Low

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions