Skip to content

regression: Near-silent failure to start when convict file is bad #7521

Closed

Description

@ariane-emory

Description

When the configuration file is bad - for example, if it contains unknown keys, or unknown key commands in its keybindings - opencode, when run using bun dev, simply fails to start with no error other than error: script "dev" exited with code 1 instead of reporting a specific error as it used to. This error was introduced yesterday in commit adae0d185.

Sample bad opencode.json file:

{
  "$schema": "https://opencode.ai/config.json",
  "bad_setting": "i am a bad configuration file",
}

Plugins

None

OpenCode version

1.1.8

Steps to reproduce

  1. Use the configuration file above.
  2. Try to start opencode using bun dev.
  3. Observe that open code silently fails to start.

Screenshot and/or share link

No response

Operating System

MacOS Sequoia latest

Terminal

iTerm2

Activity

  1. github-actions commented on Jan 9, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. github-actions commented on Jan 9, 2026

    @github-actions
    Contributor

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  3. ariane-emory commented on Jan 9, 2026

    @ariane-emory
    ContributorAuthor

    Resolved via #7522.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions