Skip to content

fix(downloads): never surface research-edition releases as the beta - #68

Merged
ErikBjare merged 1 commit into
masterfrom
fix/exclude-research-releases
Aug 6, 2026
Merged

fix(downloads): never surface research-edition releases as the beta#68
ErikBjare merged 1 commit into
masterfrom
fix/exclude-research-releases

Conversation

@ErikBjare

Copy link
Copy Markdown
Member

Summary

v0.14.0b3-research is a published prerelease with a newer created_at than standard v0.14.0b3, so on the next site build update-downloads.py would have picked it as "the latest pre-release" and offered Research Edition builds (privacy filter enabled by default) to regular beta users on /downloads.

Fix: filter releases to an allowlist of standard version tags (^v\d+\.\d+\.\d+(?:(?:a|b|rc)\d+)?$) before selecting stable/prerelease. An allowlist also keeps any future suffixed variants out, not just -research.

Test plan

  • Ran scripts/update-downloads.py against the live API: now selects Stable: v0.13.2; newer pre-release: v0.14.0b3 (previously would pick v0.14.0b3-research, the newest prerelease by created_at).

Research builds (e.g. v0.14.0b3-research) are published as prereleases
on the same repo, so the newest-prerelease pick would offer them to
regular beta users. Allowlist standard version tags instead.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@greptile-apps

greptile-apps Bot commented Aug 6, 2026

Copy link
Copy Markdown

Greptile Summary

The PR restricts download generation to standard ActivityWatch version tags so special editions cannot be selected as the public beta.

  • Adds an allowlist for stable, alpha, beta, and release-candidate tag formats.
  • Applies the allowlist before selecting the latest stable and prerelease downloads.

Confidence Score: 5/5

The PR appears safe to merge, with no actionable defects identified in the changed release-selection behavior.

The allowlist excludes the research-edition suffix as intended while accepting the standard stable and prerelease tag formats used by current and historical releases.

Important Files Changed

Filename Overview
scripts/update-downloads.py Adds a narrowly scoped release-tag filter that excludes suffixed editions while preserving the repository’s established standard tag formats.

Reviews (1): Last reviewed commit: "fix(downloads): never surface research-e..." | Re-trigger Greptile

@ErikBjare
ErikBjare merged commit 0dfc635 into master Aug 6, 2026
2 checks passed
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