"autoupdate": false setting is ignored for local config file #2264

Closed
opened 2026-02-16 17:34:53 -05:00 by yindo · 1 comment
Owner

Originally created by @kynnyhsap on GitHub (Oct 24, 2025).

Description

PR to fix it https://github.com/sst/opencode/pull/3408

Undocumented workaround is to use OPENCODE_DISABLE_AUTOUPDATE=true env var

OpenCode version

0.15.16

Steps to reproduce

  1. Create opencode.json config with "autoupdate": false setting in local directory (not global config)
  2. Downgrade your current opencode version with bun install -g opencode-ai@0.15.0
  3. Launch opencode
  4. opencode still installs the update not respecting "autoupdate": false setting in local config

Screenshot and/or share link

No response

Operating System

macOS 26.0.1

Terminal

Ghostty

Originally created by @kynnyhsap on GitHub (Oct 24, 2025). ### Description PR to fix it https://github.com/sst/opencode/pull/3408 Undocumented workaround is to use `OPENCODE_DISABLE_AUTOUPDATE=true` env var ### OpenCode version 0.15.16 ### Steps to reproduce 1. Create `opencode.json` config with `"autoupdate": false` setting in local directory (not global config) 2. Downgrade your current `opencode` version with `bun install -g opencode-ai@0.15.0` 3. Launch `opencode` 4. `opencode` still installs the update not respecting `"autoupdate": false` setting in local config ### Screenshot and/or share link _No response_ ### Operating System macOS 26.0.1 ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:34:53 -05:00
yindo closed this issue 2026-02-16 17:34:53 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 24, 2025):

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

  • #1793: Environment variable for disabling auto-updater (provides OPENCODE_DISABLE_AUTOUPDATE workaround)
  • #1039: Downgrading clobbered by auto-update (same behavior where auto-update ignores user intentions)
  • #3407: opencode.json/config.json search path (related to local config file loading and precedence)

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

@github-actions[bot] commented on GitHub (Oct 24, 2025): This issue might be a duplicate of existing issues. Please check: - #1793: Environment variable for disabling auto-updater (provides OPENCODE_DISABLE_AUTOUPDATE workaround) - #1039: Downgrading clobbered by auto-update (same behavior where auto-update ignores user intentions) - #3407: opencode.json/config.json search path (related to local config file loading and precedence) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2264