Skip to content

Fix/cachix pin no response#950

Merged
automergerpr-permission-manager[bot] merged 2 commits intomasterfrom
fix/cachix-pin-no-response
Feb 27, 2026
Merged

Fix/cachix pin no response#950
automergerpr-permission-manager[bot] merged 2 commits intomasterfrom
fix/cachix-pin-no-response

Conversation

@F-WRunTime
Copy link
Member

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.

- 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
Copy link
Collaborator

@dkcumming dkcumming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@automergerpr-permission-manager automergerpr-permission-manager bot merged commit 72f5df2 into master Feb 27, 2026
7 checks passed
@automergerpr-permission-manager automergerpr-permission-manager bot deleted the fix/cachix-pin-no-response branch February 27, 2026 10:55
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants