-
Notifications
You must be signed in to change notification settings - Fork 52
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
Test runtime log does not contain errors #1457
Conversation
xsebek
commented
Aug 23, 2023
- closes Check scenario ordering errors in CI #1449
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.
Looks good to me!
9db9081
to
6abe9c2
Compare
It seems there is an error about achievements in CI:
@kostmo any ideas? |
I don't understand how that message is even possible. It is coming from here: swarm/src/Swarm/Game/Failure.hs Line 93 in 8ed5b92
The swarm/src/Swarm/Game/Failure.hs Lines 40 to 44 in 8ed5b92
I don't understand how calling ...oh, lol, the swarm/src/Swarm/Game/Failure.hs Lines 88 to 89 in 8ed5b92
It looks so plausible! Fixing this will not fix the error but at least the error message will be more reasonable. |
I restarted ghc-9.6.2 job, it should at least show a better error message, but will still need more investigation. |
I don't know if rerunning the test will pick up the bug fix unless we manually merge |
6abe9c2
to
606bc8f
Compare
@byorgey I thought it was running tests on merged state, but maybe I remembered that wrong. 😕 |
Ah, no, it looks like you're right. The failed test now has a correct error message. |
(That's because I force-pushed the rebased branch 😉) Seems like we are missing the achievements directory in CI. 🤔 swarm/src/Swarm/Game/Achievement/Persistence.hs Lines 49 to 51 in 49903de
If I understand it correctly, having no achievements before playing should not be an error. 🤔 |
Ah, yes, that makes sense. Not having the achievements directory exist is just the normal state of affairs when playing the game for the first time. It should not give a warning. I think we should just get rid of that |