Make the compiler's internals deterministic #348
Labels
area - runefile
The parsing and analysis of Runefiles
category - bug
Something isn't working
effort - hard
This should be pretty simple to fix
While implementing #345 we added a fairly benign test to make sure the right error message is emitted when making sure our pipeline is a DAG and has no loops.
However, about half the instead of saying there is a cycle between
another_model -> some_model -> another_model
, it'll say the cycle issome_model -> another_model -> some_model
, which makes the test fail spuriously.I'm guessing this is because queries aren't guaranteed to yield entities in the same order every time, because even when we switch all
HashMap
s toIndexMap
s the test will spuriously fail.The text was updated successfully, but these errors were encountered: