-
Notifications
You must be signed in to change notification settings - Fork 87
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
Play with runners #775
Play with runners #775
Conversation
Transactions CostsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
Cost of Init Transaction
Cost of Commit TransactionCurrently only one UTxO per commit allowed (this is about to change soon)
Cost of CollectCom Transaction
Cost of Close Transaction
Cost of Contest Transaction
Cost of Abort TransactionSome variation because of random mixture of still initial and already committed outputs.
Cost of FanOut TransactionInvolves spending head output and burning head tokens. Uses ada-only UTxO for better comparability.
|
Test Results296 tests - 11 290 ✔️ - 11 20m 25s ⏱️ -44s Results for commit 66d07a4. ± Comparison against base commit 58b1631. This pull request removes 11 tests.
♻️ This comment has been updated with latest results. |
24ff9e2
to
a1e0aa3
Compare
|
||
# Customize github runner for nix | ||
|
||
So that the jobs can find nix later, you should customize the runner settings by adding some |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't we also install nix
by hand here or was this done by the workflow?
a1e0aa3
to
76ecd90
Compare
We remove the cachix step because: 1. we encounter a bunch of troubles with making it work on a self-hosted runner 2. we don't care about uploading built stuff to cachix from the smoke tests, there are other C.I. steps to do it 3. downloading from cachix works anyway We remove the github cache because we're going to run the smoke tests several times on the same self-hosted runner so no need for a cache as everything is already available locally. We use a shared absolute path to store the cardano database. We should maybe move the hydra state to a more local and voltaile directory since we remove it everytime but that's good enough for now. We ensure that we do not share the same cardano databases storage between two concurrent work with concurrency github parameter.
76ecd90
to
66d07a4
Compare
Contributes to #761
We want to run the smoke tests on mainnet but that means that we need way more resources than we used to need when only running them on preview or preprod. Just caching the cardano database between two runs will not work anymore or take forever as it's way bigger.
To solve that, we invest in a self-hosted GitHub runner dedicated to running the smoke tests and that will persistently keep the cardano-node database on disk between several runs.
This P.R. updates the C.I. so that the smoke tests use the runner. It also describes the procedure to install a GitHub runner for this. A runner has already been setup and smoke test do work on it: