Commit 7a0af59
feat: add --release flag to playground for pre-built binaries (#19)
* feat: add --release flag to playground for pre-built binaries
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>
* test: add integration tests for --release resolution modes
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>
* ci: add playground release tests to CI pipeline
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>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1e26bec commit 7a0af59
File tree
5 files changed
+416
-13
lines changed- .github/workflows
- scripts
- lib
5 files changed
+416
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
49 | | - | |
50 | | - | |
| 57 | + | |
| 58 | + | |
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
| |||
267 | 275 | | |
268 | 276 | | |
269 | 277 | | |
270 | | - | |
| 278 | + | |
271 | 279 | | |
272 | 280 | | |
273 | 281 | | |
274 | 282 | | |
275 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
276 | 287 | | |
277 | 288 | | |
278 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
89 | 103 | | |
90 | 104 | | |
91 | 105 | | |
| |||
100 | 114 | | |
101 | 115 | | |
102 | 116 | | |
| 117 | + | |
103 | 118 | | |
104 | 119 | | |
105 | 120 | | |
106 | | - | |
| 121 | + | |
107 | 122 | | |
108 | 123 | | |
109 | 124 | | |
| |||
198 | 213 | | |
199 | 214 | | |
200 | 215 | | |
201 | | - | |
| 216 | + | |
202 | 217 | | |
203 | | - | |
204 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
205 | 229 | | |
206 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
207 | 242 | | |
208 | 243 | | |
209 | 244 | | |
| |||
259 | 294 | | |
260 | 295 | | |
261 | 296 | | |
| 297 | + | |
262 | 298 | | |
263 | 299 | | |
264 | | - | |
| 300 | + | |
265 | 301 | | |
266 | 302 | | |
267 | 303 | | |
268 | 304 | | |
269 | 305 | | |
270 | 306 | | |
271 | 307 | | |
| 308 | + | |
272 | 309 | | |
273 | | - | |
| 310 | + | |
274 | 311 | | |
275 | 312 | | |
276 | 313 | | |
277 | | - | |
| 314 | + | |
278 | 315 | | |
279 | 316 | | |
280 | 317 | | |
| |||
0 commit comments