Repository navigation
feat(release): build Linux desktop and t3 archives for PseudoCode releases - #84
Merged
Merged
Conversation
The Linux AppImage name was hardcoded to T3-Code, so a PseudoCode build published T3-Code-x86_64.AppImage while every other artifact followed T3CODE_APP_NAME. It now uses the same base name, still without a version so electron-updater can replace it in place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eases Linux packages cannot be built on the Mac, so a dispatch-only workflow builds the AppImage, .deb and t3 CLI archive for x64 and arm64 on GitHub's Ubuntu runners from the commit a release is pinned to, then adds them to that release. It uses no secrets; only the jobs that read or write the release get write access, the publish job accepts only the eight expected file names, and dry_run builds without uploading. SHA256SUMS is now rebuilt from the hashes GitHub records for every t3 archive on the release, in both ship-mac.sh and the workflow, so neither can drop the other's lines. ship-mac.sh also stops on a release lookup error instead of creating a second draft. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
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.
PseudoCode ships only a macOS DMG and a darwin-arm64
t3archive. Linux packages can't be built on the Mac (build-desktop-artifact.tsrefuses), so there was no way to install the fork on a Linux box, and SSH installs to Linux hosts stopped with "publishes no t3 archive".What changed
.github/workflows/pseudocode-linux.yml(fork-only, started by hand withtag=pseudocode-v<version>):apps/server/package.jsondisagrees with the tag..debandt3-<version>-linux-<arch>.tar.gzonubuntu-24.04(x64) andubuntu-24.04-arm(arm64). Smoke-tests the CLI archive and opens the x64 app under Xvfb, the same check upstream runs.dry_run=truebuilds without uploading. Uploading runs only from main.contents: read. The two jobs with write access never run repo or dependency code. The publish job accepts only the eight expected Linux file names, so nothing the build drops can overwrite the signed macOS files.SHA256SUMSrebuilt from the release.ship-mac.shand the workflow both regenerate it from thesha256digests GitHub records for everyt3-*asset. It goes up last, together with the update manifest. Neither side carries the other's lines forward, so a failed or repeated run can't drop a platform. I checked the helper againstpseudocode-v0.1.15: it reproduces the published file byte for byte.ship-mac.shstops when the release lookup fails for any reason other than "release not found". Before, a network blip could create a second draft with the same tag.T3-Code-<arch>.AppImageand now followsT3CODE_APP_NAME(PseudoCode-x86_64.AppImage), still without a version so the updater can replace it in place.Verification
names the updatable AppImage after the fork's app name: failed before the fix (expected 'T3-Code-${arch}.${ext}' to equal 'PseudoCode-${arch}.${ext}'), andscripts/build-desktop-artifact.test.tspasses 59/59 after it.vp run check:changedexited 0 (format, lint, knip, typecheck for 44 packages, tests).latest-mac.yml, a DMG, the darwint3archive,SHA256SUMS, a wrong-version.deb, and a missing file.--clobberupload, there was no file allowlist, a lookup error was treated as "missing", and nothing checked the commit was on main.dry_runagainstpseudocode-v0.1.15.Model: Claude Opus 5.5, Claude Code in PseudoCode.
🤖 Generated with Claude Code