Skip to content

Non deterministic order of addDependentFiles in interface files

I've found that the list of addDependentFiles in the interface file can be in a non-deterministic order.

The cause is ImportedMods in ImportAvails is backed by a non-deterministic module map which gets converted to a list and then passed to mkUsageInfo (then to mkObjectInfo) which will leak into the interface.

Screenshot_2024-08-02_at_15.36.02

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information