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

Clear error message for dup branching error #652

Merged

Conversation

bouthilx
Copy link
Member

@bouthilx bouthilx commented Sep 3, 2021

[Fixes #533]

Why:

When trying to branch from an experiment that already has a child with
the same name, Oríon will crash with a RaceCondition error. The problem
is that this issue and a real race-condition are indiscernible as they
lead to the same state. The only thing we can do is clarify the error
message and warn that this error can also be caused by branching from a
parent experiment that already has a child with the same name.

Note:

This issue only arises if the user specifies the version of the parent
experiment, otherwise the EVC will use the child or branch from the
child without any issue.

Why:

When trying to branch from an experiment that already has a child with
the same name, Oríon will crash with a RaceCondition error. The problem
is that this issue and a real race-condition are indiscernible as they
lead to the same state. The only thing we can do is clarify the error
message and warn that this error can also be caused by branching from a
parent experiment that already has a child with the same name.

Note:

This issue only arises if the user specifies the version of the parent
experiment, otherwise the EVC will use the child or branch from the
child without any issue.
@bouthilx bouthilx added the documentation Regarding description, documentation, tutorials, etc label Sep 3, 2021
@bouthilx bouthilx added this to the v0.1.17 milestone Sep 3, 2021
@bouthilx bouthilx added this to In progress in Release v0.1.17 via automation Sep 3, 2021
@bouthilx bouthilx merged commit 77ea6cc into Epistimio:develop Sep 8, 2021
Release v0.1.17 automation moved this from In progress to Done Sep 8, 2021
@bouthilx bouthilx deleted the hotfix/branch_parent_child_name_dup branch September 8, 2021 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Regarding description, documentation, tutorials, etc
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Branching from parent without changing name raises RaceCondition
1 participant