feat: add --release flag to playground for pre-built binaries#19
Merged
miguelgila merged 3 commits intomainfrom Feb 20, 2026
Merged
feat: add --release flag to playground for pre-built binaries#19miguelgila merged 3 commits intomainfrom
miguelgila merged 3 commits intomainfrom
Conversation
The playground script can now download pre-built binaries from GitHub Releases instead of building from source, making it faster to try Reaper without any build toolchain. Defaults to latest release when no version is specified. Also clarifies in the README that no Rust toolchain is needed for the playground (builds happen inside Docker or are skipped entirely with --release). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extract resolve_latest_release() into scripts/lib/release-utils.sh so it can be sourced independently. Add test-playground-release.sh with 9 tests covering: - Latest release resolution via gh CLI (authenticated) - Latest release resolution via curl (unauthenticated GitHub API) - Consistency check between both methods - curl works without GITHUB_TOKEN credentials - Argument parsing: --release (bare), --release v0.2.4, --release --flag - --help output includes --release documentation - Graceful failure for nonexistent repos Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a lightweight job to the Tests workflow that runs the --release resolution tests in parallel with existing jobs. No Rust, Docker, or Kind needed — just checkout and run. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
=======================================
Coverage 86.20% 86.20%
=======================================
Files 4 4
Lines 174 174
=======================================
Hits 150 150
Misses 24 24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--release [version]flag tosetup-playground.shthat downloads pre-built binaries from GitHub Releases instead of building from source, making it the fastest way to try ReaperghCLI (withcurlfallback for unauthenticated environments)--releasevs build-from-source)resolve_latest_release()intoscripts/lib/release-utils.shfor testabilityghresolution,curlfallback, unauthenticated API access, argument parsing, and error handlingplayground-releaseCI job to the Tests workflow (runs in parallel, ~5s, no heavy dependencies)Test plan
./scripts/test-playground-release.shpasses locally (9/9 tests)playground-releasejob passes on this PR./scripts/setup-playground.sh --releaseresolves latest version./scripts/setup-playground.sh --release v0.2.4uses explicit version🤖 Generated with Claude Code