Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assert that no duplicated DataflowObjects exist after any pipeline stage #331

Merged
merged 6 commits into from
Sep 26, 2023

Conversation

rihi
Copy link
Collaborator

@rihi rihi commented Aug 31, 2023

This pull request adds a simple check after every pipeline stage is run, which verifies that no duplicated dataflow objects exist in the cfg. Duplicate meaning objects are the same instance (id(x) == id(y)).
This check is only done if validate_no_dataflow_dup is enabled.

@rihi rihi marked this pull request as draft September 1, 2023 13:36
@rihi rihi marked this pull request as ready for review September 4, 2023 15:26
@rihi rihi force-pushed the assert-cfg-no-duplication branch from 3f7d9f6 to 5454e53 Compare September 4, 2023 15:29
@rihi rihi marked this pull request as draft September 7, 2023 08:17
@rihi rihi force-pushed the assert-cfg-no-duplication branch from 5454e53 to 8980137 Compare September 7, 2023 10:05
@rihi rihi marked this pull request as ready for review September 7, 2023 10:07
@steffenenders steffenenders self-requested a review September 21, 2023 08:34
@steffenenders steffenenders merged commit 5f682d3 into main Sep 26, 2023
1 check passed
@steffenenders steffenenders deleted the assert-cfg-no-duplication branch September 26, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants