-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add support for merging teams in DASH #137
Comments
@fmoessbauer Which functionality would you like to test exactly? The team split is not reversible in the sense that the created team can not be destroyed explicitly, but on the other hand the original team also doesn't go away and can still be used. I feel that team related operations can actually be very tricky to reason about and therefore I'm hesitant to include an operation such as a join or merge unless we come up with an actual use-case in the context of an application. As long as that compelling use case for merge/join does not exist I'm in favor of a usage model that is as restricted as possible. Currently that restricted model is: The only way to create a new team is to start with an existing team and build a subset. As for multiple team hierarchies - yes, I think that is a viable model with cloned teams. Although this also requires some brainstorming about the consequences too... |
Currently each Team / sub team can only be split once. However in the unit tests we have multiple tests which split the However each test case should not depend on the env created by previous tests. The problem can easily be verified by running the following tests isolated.
Due to this behavior, the CI of PR #135 fails. |
Here is an implementation sketch: Implement a method
The recommended way of using teams in the unit tests (and elsewhere) would then be :
|
Also, from issue #140: All teams should be destroyed in |
Is this going anywhere? |
Currently a team split is a non reversible operation. Together with the specification (or current implementation) that each unit can only be part of a single team hierarchy, team splits cannot be tested in the unit tests. Hence I set the bug label.
To fix this I see the following possibilities:
As far as I see, DART 3.2 already provides an interface therefor.
The text was updated successfully, but these errors were encountered: