-
Notifications
You must be signed in to change notification settings - Fork 158
Testing build K and Publish to Cachix #4895
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
automergerpr-permission-manager
merged 16 commits into
develop
from
fix/cachix-release-timeout
Jan 6, 2026
Merged
Testing build K and Publish to Cachix #4895
automergerpr-permission-manager
merged 16 commits into
develop
from
fix/cachix-release-timeout
Jan 6, 2026
+10
−3
Conversation
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
- release.yml sync'd with changes in test-pr.yml after confirmation push works. - test-pr has added back all other steps commented out for testing.
- Replace kup publish with direct nix build + cachix push in release.yml - Add cachix pin commands to replicate --keep-days 180 functionality - Update test-pr.yml to validate cachix push approach - Fix shellcheck lint errors by adding double quotes around variables This addresses connection reset errors during multipart uploads on macOS by using direct cachix push instead of kup's multipart upload mechanism.
ehildenb
reviewed
Jan 5, 2026
juliankuners
requested changes
Jan 5, 2026
…cing to least number of changes necessary to function. Update workflows to use public mac runner
Member
Author
|
Decided to go with least amount of change needed although dependency on kup would be simpler, better to not poke the bear and make more changes that necessary |
juliankuners
approved these changes
Jan 6, 2026
ehildenb
approved these changes
Jan 6, 2026
ehildenb
reviewed
Jan 6, 2026
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.
Fix macOS Cachix upload timeouts by switching to public runner
Problem
The K Framework release workflow was experiencing "Connection reset by peer" errors when uploading large files to Cachix on macOS. This occurred during multipart uploads of large dependencies (e.g.,
hs-backend-booster-dev-tools~748MB) when usingkup publishon the self-hosted macOS runner.Solution
Switch from the self-hosted macOS runner (
self-macos-latest) to the public GitHub-hosted macOS runner (macos-latest). Testing confirmed thatkup publishworks reliably on the public runner, eliminating the need for more complex workarounds.Changes
.github/workflows/release.yml: Changed macOS runner fromself-macos-latesttomacos-latest(public runner)kup publishcommands remain unchanged - no need to replace with directcachix push.k,.k.openssl.secp256k1,.k.openssl.procps.secp256k1) continue to be published with 180-day retentionTesting
Added a test job in
test-pr.ymlthat validatedkup publishworks successfully on the public macOS runner with large file uploads.Impact
kup publishworkflow