Repository navigation
feat(sandbox): OpenCode and Pi on the agents drive, pinned, checksummed, bumped nightly #9866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
saddlepaddle
merged 5 commits into
main
from
superset/thin-opencode-and-pi-on-the-agents-drive-b9075b6b
Nov 17, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
530a58c
feat(sandbox): ship OpenCode and Pi on the agents drive only
saddlepaddle 50ae7fa
feat(sandbox): move opencode and pi in the release, past a 3-day cool…
saddlepaddle 72355bc
feat(sandbox): drop the opencode and pi release cooldown
saddlepaddle 09226d6
fix(sandbox): put drive-only pins in the bundle hash
saddlepaddle 3d155e2
Merge branch 'main' into superset/thin-opencode-and-pi-on-the-agents-…
saddlepaddle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| import { describe, expect, test } from "bun:test"; | ||
| import { type GithubRelease, pickRelease } from "./produce"; | ||
|
|
||
| const ASSET = "tool-linux-x64.tar.gz"; | ||
|
|
||
| function release( | ||
| tag: string, | ||
| overrides: Partial<GithubRelease> = {}, | ||
| ): GithubRelease { | ||
| return { | ||
| tag_name: tag, | ||
| draft: false, | ||
| prerelease: false, | ||
| assets: [ | ||
| { | ||
| name: ASSET, | ||
| digest: `sha256:${"a".repeat(64)}`, | ||
| browser_download_url: `https://example.invalid/${tag}/${ASSET}`, | ||
| }, | ||
| ], | ||
| ...overrides, | ||
| }; | ||
| } | ||
|
|
||
| const pick = (releases: GithubRelease[]) => | ||
| pickRelease(releases, ASSET)?.version; | ||
|
|
||
| describe("pickRelease", () => { | ||
| test("takes the highest version, not the first listed or an older line's newer patch", () => { | ||
| expect( | ||
| pick([release("v1.19.6"), release("v2.3.0"), release("v2.2.9")]), | ||
| ).toBe("2.3.0"); | ||
| }); | ||
|
|
||
| test("skips drafts, prereleases, other tags and releases without the asset", () => { | ||
| expect( | ||
| pick([ | ||
| release("v3.0.0", { draft: true }), | ||
| release("v2.9.0", { prerelease: true }), | ||
| release("v2.8.0-rc.1"), | ||
| release("process-daemon-v9.0.0"), | ||
| release("v2.7.0", { assets: [] }), | ||
| release("v2.6.0"), | ||
| ]), | ||
| ).toBe("2.6.0"); | ||
| }); | ||
|
|
||
| test("no stable release picks nothing", () => { | ||
| expect(pick([release("v1.0.0", { prerelease: true })])).toBeUndefined(); | ||
| }); | ||
| }); |
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read all release pages before selecting the highest version.
per_page=100returns one page, not the complete release list. (docs.github.com) If 100 newer maintenance releases precede an existingv2.3.0,pickReleasecannot seev2.3.0. A valid maintenance artifact then replaces the pin with a lower version instead of triggering the fallback. Follow pagination and select across all pages.