Skip to content

Fix false update-available nags - #1819

Merged
RhysSullivan merged 2 commits into
mainfrom
issue-1766
Aug 28, 2026
Merged

Fix false update-available nags#1819
RhysSullivan merged 2 commits into
mainfrom
issue-1766

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Fixes #1766

Two causes:

  • A build with the placeholder 0.0.0 version (no real version baked in at build time) always compared as older than every release.
  • A prerelease build on a channel with no matching dist-tag (e.g. 1.6.0-rc.1) fell back to comparing against latest and always lost.

Both now suppress the check instead of nagging: resolveComparisonChannel in packages/core/api/src/update-check.ts returns null for an unstamped version or an unmatched prerelease channel, and isUpdateAvailable treats null as "nothing to compare." The CLI's checkForUpdate short-circuits before hitting the registry, and the sidebar UpdateCard skips the /v1/app/npm/dist-tags fetch entirely for the same case.

…nel builds

A 0.0.0 build-time fallback compared as older than any release, and a
prerelease with no matching dist-tag (rc, alpha, ...) always lost the
compare against latest. Both cases now short-circuit to "no update"
before hitting the registry, via a shared resolveComparisonChannel /
isUpdateAvailable used by both the CLI check and the sidebar card.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 28, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 3cb23da Commit Preview URL

Branch Preview URL
Aug 28 2026, 09:16 AM

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 28, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 3cb23da Aug 28 2026, 09:17 AM

@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1819

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1819

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1819

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1819

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1819

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1819

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1819

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1819

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1819

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1819

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1819

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1819

executor

npm i https://pkg.pr.new/executor@1819

commit: 3cb23da

@RhysSullivan
RhysSullivan marked this pull request as ready for review August 28, 2026 18:13
@RhysSullivan
RhysSullivan merged commit 1cd81d6 into main Aug 28, 2026
44 checks passed
@RhysSullivan RhysSullivan mentioned this pull request Aug 28, 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.

Dashboard shows an update is available when Executor is already on that version

1 participant