Repository navigation
build(Terminal): vendor ghostty's translate-c dependency so CI does not need Codeberg - #162
Merged
Merged
Conversation
…ot need Codeberg Since 2026-11-17 Codeberg answers CI runners with 429 / 504, and zig build fetches translate-c from there: the Native jobs of the v1.1.1 and v1.2.0-preview.1 tag runs failed or hung until their timeout, so neither release reached nuget.org. CI cannot restore an earlier Zig cache either (tag runs only see their own ref's caches). build-ghostty.sh now seeds the Zig package cache from native/ghostty/deps/ (zig fetch, which checks the package hash) before it builds; the file is the 93 KB MIT-licensed archive, named after its Zig hash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
239573049
added a commit
that referenced
this pull request
Nov 18, 2026
The 3D engine and its controls as four new preview packages with their own version (0.1.0-preview.1), and the Terminal build fix of #162. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
239573049
added a commit
that referenced
this pull request
Nov 18, 2026
The 3D engine and its controls as four new preview packages released with the main version, and the Terminal build fix of #162. 1.2.0-preview.2 was never published. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Why. Codeberg currently answers CI runners with 429 / 504, and ghostty's
pkg/translate-cis fetched from there. As a result:v1.1.1tag run (macOS hung until its 60-minute timeout) and of thev1.2.0-preview.1tag run (Linux:bad HTTP response code: '504 Gateway Timeout') failed;Tag runs cannot restore an earlier Zig cache either: caches are scoped to the ref, and the Native job does not run on
main.What.
native/ghostty/deps/holds the 93 KB MIT-licensedtranslate_carchive, named after its Zig package hash.build-ghostty.shseeds the Zig cache with it (zig fetch, which checks the hash) beforezig build.native/ghostty/deps/README.mdsays how to refresh the file when the ghostty pin moves.Checked locally (osx-arm64). With an empty-for-translate-c Zig cache, the build seeds the package from the vendored file and produces
libghostty-vt.dylib. A manualCIrun on this branch withpublishoff checks the Native and Pack jobs.🤖 Generated with Claude Code