Skip to content

Add LSTK_UPDATE_CHECK to control the self-update check - #472

Draft
anisaoshafi wants to merge 1 commit into
mainfrom
allow-disabling-update
Draft

Add LSTK_UPDATE_CHECK to control the self-update check#472
anisaoshafi wants to merge 1 commit into
mainfrom
allow-disabling-update

Conversation

@anisaoshafi

@anisaoshafi anisaoshafi commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Motivation

lstk start checks for updates and shows a prompt or notice, and does not offer a way to disable update checks completely. This is causing friction for installations managed by external tools.

Solution

Two ways to skip or change the check, env var wins over config:

  • LSTK_UPDATE_CHECK env var
  • cli.update_check in config.toml

Both take prompt (today's default), notify (one line, no wait), or off (skips the check entirely).

Review

Small, additive, fully tested. Self-merge candidate.

Towards DEVX-1029

@anisaoshafi anisaoshafi added semver: patch docs: needed Pull request requires documentation updates labels Aug 27, 2026
@anisaoshafi
anisaoshafi force-pushed the allow-disabling-update branch from 9e8020b to ea60205 Compare August 27, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs: needed Pull request requires documentation updates semver: patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant