Skip to content

Hotfix/cachix pin checks#951

Merged
automergerpr-permission-manager[bot] merged 3 commits intomasterfrom
hotfix/cachix-pin-checks
Feb 28, 2026
Merged

Hotfix/cachix pin checks#951
automergerpr-permission-manager[bot] merged 3 commits intomasterfrom
hotfix/cachix-pin-checks

Conversation

@F-WRunTime
Copy link
Member

Cachix Test Pin Workflow Updates

  • Addressing an issue when parsing the json blob incorrectly. Store paths returned by this call returns ALL associated pins to the kmir project and the associated architectures on that query. We look for 'latest' and compare is our desired artifact there, yes? done, else wait 5 seconds and try again.

  • The Cachix Test WF also now properly checks out the correct branch being modified and tested.
    Problem: Before it was checking out the target 'Git ref', if you're trying to fix / test changes to the script or the test WF it would pull the wrong code to run.

This combo of script and WF allows now for developers to test / get a better view of what is on cachix, compare expectations to reality.

  • Release workflow should now also find the expected revision it just prodcued on cachix.

NOTE

  • What remains in question. Is 120 seconds enough or do we need to allow more time for cachix to update and notify the pin was made. It is slow, how slow? Maybe longer than 2 minutes. Increase this wait time to 5 minutes if it fails again.

For the most recent release I tested manually with the test workflow here:
https://github.com/runtimeverification/mir-semantics/actions/runs/22501138031

…'re getting ALL pins at once in the response
Adjust the test workflow to provide the REV instead of interpret it from git
ON feature branch the ref: field pull the target we want to test REV for
but checks that code branch out.

Breaks testing Wf on feature branches
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.

Looks good from what I can tell!

@automergerpr-permission-manager automergerpr-permission-manager bot merged commit e23e477 into master Feb 28, 2026
8 checks passed
@automergerpr-permission-manager automergerpr-permission-manager bot deleted the hotfix/cachix-pin-checks branch February 28, 2026 03:21
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