Skip to content

timeline: regenerate releases, now including aw-android - #83

Merged
ErikBjare merged 3 commits into
masterfrom
feat/timeline-releases
Oct 6, 2026
Merged

ErikBjare merged 3 commits into
masterfrom
feat/timeline-releases

Conversation

@ErikBjare

Copy link
Copy Markdown
Member

The /timeline/ page stopped at desktop v0.13.1 and Android v0.10.0.

  • scripts/get-releases.py now also generates _data/releases_android.yml from aw-android's GitHub releases (it was hand-maintained), skips drafts, nightlies (dev2026…) and Research Edition builds (-research), uses per_page=100 and GITHUB_TOKEN if set, and fails loudly on API errors.
  • Regenerated: desktop adds v0.13.2 and v0.14.0b1–b8 (70 entries); Android now lists all 33 releases through v0.14.2.

Draft until v0.14.0 is published: re-run GITHUB_TOKEN=$(gh auth token) python3 scripts/get-releases.py so v0.14.0 is included, then merge.

@greptile-apps

greptile-apps Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Low risk] Regenerates release timeline data from GitHub.

The PR appears safe to merge, with a non-blocking gap in CI coverage.

Findings

  1. P2 Release tests never run ▶

Summary

Refreshes desktop and Android release history for the timeline.

  • Desktop history now includes v0.14.0; Android history reaches v0.14.2.
  • The script fetches both repositories, excludes drafts and special builds, and stops on API errors.
  • The previous request for filter tests is addressed. The new tests still need to be added to CI.

Reviews (3) · Last reviewed commit: "timeline: regenerate with v0.14.0"

Comment thread scripts/get-releases.py
Comment on lines +56 to +57
for release in sorted(releases, key=lambda r: r["created_at"], reverse=True)
if not release["draft"] and not SKIP_TAG.search(release["tag_name"])

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Release filters lack tests

format_releases adds draft, nightly, and Research Edition filtering, but no tests cover these new rules. Add small release fixtures that check excluded tags, retained stable and beta tags, and the fallback for an empty release name. This would catch changes that silently remove valid history or add unwanted builds.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Added in 14b72a4: scripts/test_get_releases.py (same pattern as test_update_downloads.py) covers kept stable/beta tags, skipped drafts/nightlies/-research, newest-first order and the empty-name fallback. get-releases.py now runs its fetch under main so it's importable.

@ErikBjare

Copy link
Copy Markdown
Member Author

@greptileai review

get-releases.py also fetches aw-android releases (previously a
hand-maintained file that stopped at v0.10.0), skips drafts, nightlies
and Research Edition builds, pages 100 at a time and accepts
GITHUB_TOKEN. Adds v0.13.2, the v0.14.0 betas and aw-android
v0.12.x-v0.14.2 to /timeline/.
@ErikBjare
ErikBjare marked this pull request as ready for review October 6, 2026 13:39
@ErikBjare
ErikBjare force-pushed the feat/timeline-releases branch from 14b72a4 to 4deaf4c Compare October 6, 2026 13:39
@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.

@ErikBjare
ErikBjare merged commit 753e87b into master Oct 6, 2026
2 checks passed
@ErikBjare
ErikBjare deleted the feat/timeline-releases branch October 6, 2026 13:40
}


class FormatReleasesTest(unittest.TestCase):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Release tests never run

CI calls only scripts/test_update_downloads.py, and no test discovery step includes scripts/test_get_releases.py. These new tests cannot catch broken release filters before merging. Add this file to the workflow so future filter changes are checked automatically.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

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