Fix/cachix pin no response#950
Merged
automergerpr-permission-manager[bot] merged 2 commits intomasterfrom Feb 27, 2026
Merged
Conversation
- New script to test if current commit is published to k-framework-binary cachix registry and pinned - Integrate script to release.yml WF - Provide a specific WF dispatch job to allow directly testing in WF
… after a failed 524 pin attempt before the pin shows up
dkcumming
approved these changes
Feb 27, 2026
Collaborator
dkcumming
left a comment
There was a problem hiding this comment.
Nice, I can't say I have much knowledge of these systems but I can't see anything here that looks bad so let's give it a go!
Comment on lines
+28
to
+34
| for i in $(seq 1 "$PIN_VISIBILITY_ATTEMPTS"); do | ||
| PUSH_STATUS="$(curl -sS -o /dev/null -w '%{http_code}' "$PUSH_NARINFO_URL")" || PUSH_STATUS="000" | ||
| if curl -fsSL "$PIN_API_URL" | jq -e --arg k "$KEY" 'any(.[]; .name == $k)' > /dev/null; then | ||
| PIN_STATUS="pin-ok" | ||
| else | ||
| PIN_STATUS="pin-missing" | ||
| fi |
Collaborator
There was a problem hiding this comment.
I think that if PIN_STATUS="pin-ok" on a loop but this continues it would always update to "pin-ok" for iterations from there on, but I want to make this comment in case I am wrong or to add some scrutiny to that belief.
Member
Author
There was a problem hiding this comment.
Yeah it would continue to report "pin-ok" until both push and pin are "200" and "pin-ok" and then exit or fail out at the end of the loop count.
Generally the order "should" be, we see push status returns 200, and then "pin-ok" shows up within a few minutes.
This was referenced Mar 3, 2026
dkcumming
added a commit
to runtimeverification/solana-token
that referenced
this pull request
Mar 4, 2026
- More `BinOp::Offset` tests https://github.com/runtimeverification/mir-semantics/pull/#935 - fix: type of offset for applyBinOp(binOpOffset, ...) https://github.com/runtimeverification/mir-semantics/pull/#936 - Add type-correcting projections on pointer cast and related operations https://github.com/runtimeverification/mir-semantics/pull/#937 - Fix metadata on `PtrToPtr` cast https://github.com/runtimeverification/mir-semantics/pull/#941 - Corrections to Multisig cheatcodes https://github.com/runtimeverification/mir-semantics/pull/#942 - Handled additional Range constructor in `toSigners` side condition. https://github.com/runtimeverification/mir-semantics/pull/#944 - Update dependency: deps/stable-mir-json_release runtimeverification/mir-semantics#938 - Improved `show` printing for leaves runtimeverification/mir-semantics#946 - Fix/cachix pin no response runtimeverification/mir-semantics#950 - Hotfix/cachix pin checks runtimeverification/mir-semantics#951 - fix(rt): remove mutability guard on local variable assignment runtimeverification/mir-semantics#948 - Makefile `stable-mir-json` command to build release also runtimeverification/mir-semantics#963 - Add `rust-toolchain.toml` runtimeverification/mir-semantics#959 - Add cut-point rules for specific functions / intrinsics (via definition) runtimeverification/mir-semantics#960 - Update dependency: deps/stable-mir-json_release runtimeverification/mir-semantics#947 - Updated Solana cheatcodes with `Span` in `Call` `Terminator` (c17566dc)
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.
Something I have been noticing when testing pin and push with kup / cachix is we get a failure on 'cachix pin' and it times out after 120 seconds, and then a few minutes later the pin shows up.
The workaround here may likely be just wait and keep trying for a few more minutes to determine if it actually did fail or if the error we're getting from cachix is a false failure. -- This very much seems to be the case.