Skip to content

fix: respect local config for autoupdate setting#7772

Closed
shubh73 wants to merge 5 commits intoanomalyco:devfrom
shubh73:fix/autoupdate-local-config
Closed

fix: respect local config for autoupdate setting#7772
shubh73 wants to merge 5 commits intoanomalyco:devfrom
shubh73:fix/autoupdate-local-config

Conversation

@shubh73
Copy link
Copy Markdown
Contributor

@shubh73 shubh73 commented Jan 11, 2026

Why

autoupdate: false in local config gets ignored, only global config path is respected. Regression from opentui #2685 which recreated upgrade.ts with Config.global() instead of Config.get() and fix from #3408 was lost.

Fixes #6984.

How

Changed Config.global() to Config.get() so autoupdate reads from merged config.

Test Plan

Added tests for autoupdate config precedence.

@github-actions
Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 5, 2026

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config autoupdate only respected at global path

1 participant