-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ordering of replicated relationships in deployment environment is non-deterministic #362
Comments
Perhaps it's related to |
@simonbrowndotje, thank you; I will check that! |
@simonbrowndotje, the code you referenced is only used for animations, and the workspace in the provided test does not use any animation in it. So it can't be the LinkedHashMap. Do you think I could gather some example data for you? |
I've just released v3.2.1 that should resolve this for you ... it turns out that it was the process of replicating relationships when software system/container instances were added to deployment nodes that was non-deterministic, rather than calling |
Description
Running tests in https://github.com/goto1134/structurizr-d2-exporter, I face multiple false-negative results.
The tests are end-to-end: given a structurizr workspace.dsl the code produces a d2 output and check if it is the same as expected.
The diffs for failed tests usually contain the same data but a different order of relationships added:
See an example here: https://github.com/goto1134/structurizr-d2-exporter/pull/143/checks?check_run_id=33778947846
Please provide a deterministic order of relationships in the workspace to be exported.
Priority
I have no budget and there's no rush, please add this feature for free
More information
No response
The text was updated successfully, but these errors were encountered: