Skip to content

Ordering of replicated relationships in deployment environment is non-deterministic #362

@goto1134

Description

@goto1134

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:
image
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions