Skip to content

Stop showing auto-update notices in unpackaged dev builds. A dev…#398

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jun 30, 2026
Merged

Stop showing auto-update notices in unpackaged dev builds. A dev…#398
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Stop showing auto-update notices in unpackaged dev builds. A dev desktop app never downloads or installs updates, so the boot-time "Update to X didn't install" banner, the staged-update relaunch banner, and the "what's new" toast were all noise driven by stale local state. They're now gated on the same signal that gates update checks (app.isPackaged), with the OK_UPDATER_FORCE_DEV escape hatch preserved for the manual update smoke.

Dev desktop builds never download or install updates, but boot-time update
state (attemptedInstall / versionPendingInstall / lastSeenVersion) could still
surface the 'Update to X didn't install' banner, the staged-update relaunch
banner, and the 'what's new' toast from stale local state.

Gate every user-visible update notice on the same isPackaged || forceDevBypass
signal that already gates update checks: the boot-time failed-install and
what's-new emits in auto-updater.ts, and the late-window re-broadcast in
index.ts. OK_UPDATER_FORCE_DEV stays as the escape hatch so the manual update
smoke can still observe the toasts in a dev build.

GitOrigin-RevId: 3e39659a329cdceaca428611fe3caac67b412a21

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/28471294990). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit 7aaebeb into main Jun 30, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 30, 2026 19:46
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.

1 participant