-
Notifications
You must be signed in to change notification settings - Fork 88
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
Only check with -Werror in CI #1431
Conversation
6f7a91c
to
b4f77ea
Compare
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 TransactionThis is using ada-only outputs for better comparability.
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.
End-To-End Benchmark ResultsThis page is intended to collect the latest end-to-end benchmarks results produced by Hydra's Continuous Integration system from the latest Please take those results with a grain of salt as they are currently produced from very limited cloud VMs and not controlled hardware. Instead of focusing on the absolute results, the emphasis should be on relative results, eg. how the timings for a scenario evolve as the code changes. Generated at 2024-05-14 20:17:12.053817995 UTC Baseline Scenario
Three local nodes
|
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.
Why does this work? Why didn't it work before?
Our cabal.project does set -Werror
on all local packages. So using cabal build
I get the expected errors when doing:
rm -rf dist-newstyle && cabal build hydra-node
So why was the ci-nix.yaml
workflow not failing on master
? My hypothesis is that haskell.nix is not correctly picking up the project file and nix build .#hydra-node-tests
does not fail (as does cabal build hydra-node
above).
So my requested change: Clarify why it was not working before and fix it not only for nix flake check
but for any builds through nix.
It's categorically a bad user experience to fail a |
I don't have such a strong opinion and would be fine with allowing warnings in all our However, my request would then be to make the behavior consistent with how |
67f2d5c
to
de067cf
Compare
@locallycompact FYI I extended the PR description |
Adds a
nix flake check
CI job to run on each PR which now also builds all components with-Werror
enabled.Removes
-Werror
fromcabal.project
, to have the same behavior asnix build
when building withcabal
.