Skip to content

panic: status service not initialized. Call status.InitService() at application startup. when running opencode #15

Closed

Description

@maxstevens-nl

Happens right after calling the command. The culprit seems to lie here, where status.Warn is called before the status service is initialized. Installing fzf avoids the warning and thus fixes the issue.

full output:

panic: status service not initialized. Call status.InitService() at application startup.

goroutine 1 [running]:
github.com/sst/opencode/internal/status.GetService(...)
        /home/runner/work/opencode/opencode/internal/status/status.go:61
github.com/sst/opencode/internal/status.Warn(...)
        /home/runner/work/opencode/opencode/internal/status/status.go:104
github.com/sst/opencode/internal/fileutil.init.0()
        /home/runner/work/opencode/opencode/internal/fileutil/fileutil.go:31 +0x158

Activity

  1. adamdotdevin commented on May 15, 2025

    @adamdotdevin
    Member

    fixed this with aa8b3ce, can you pull and verify?

  2. added a commit that references this issue on Mar 7, 2026
  3. added a commit that references this issue on Apr 7, 2026
  4. added a commit that references this issue on May 2, 2026
  5. added a commit that references this issue on Jun 14, 2026
    d92c7f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions