Skip to content

Conversation

@Evalir
Copy link
Member

@Evalir Evalir commented Nov 2, 2023

Fixes #5726, fixes #6082, fixes #6024

fail_on_revert was not getting respected correctly after a recent refactor, in which we stopped populating the error in InvariantFailures. This was causing mainly failures in handlers to not be detected leading to erroneous [PASS] states.

We were also collecting the logs and traces of the last error twice, which is not necessary as we replay the entire run. This could lead to situations where it seems an invariant gets called twice, but it's just the error log popping up twice.

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

can you get a repro for this as an additional test?

all of this feels like open heart surgery all the time

@Evalir
Copy link
Member Author

Evalir commented Nov 2, 2023

yep will do—just haven't finished adding the test :D

@Evalir Evalir merged commit 543b58c into master Nov 2, 2023
@Evalir Evalir deleted the evalir/fix-invariant-1 branch November 2, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants