Skip to content

Conversation

@karajan1001
Copy link
Contributor

@karajan1001 karajan1001 commented Apr 19, 2022

fix: #7448
Current we skip on those experiments which already existed on both sides, but
do not exclude them from the result list. And if we have diverged experiment,
pulling/pushing them will stop the current progress and raise an exception, but
didn't give any information on the condition of other experiments.

  1. Change the exp pull and push to match the new API in scmrepo.
  2. Handle sync status after exp pull/push finished.

Co-authored-by:

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Wait treeverse/scmrepo#59

@karajan1001 karajan1001 requested a review from a team as a code owner April 19, 2022 11:33
@karajan1001 karajan1001 requested review from dtrifiro and pmrowla and removed request for dtrifiro April 19, 2022 11:33
@karajan1001 karajan1001 marked this pull request as draft April 19, 2022 11:34
@karajan1001
Copy link
Contributor Author

karajan1001 commented Apr 19, 2022

The current unstable behavior

asciicast

Behaviour after this PR.

asciicast

@karajan1001 karajan1001 force-pushed the fix7448 branch 2 times, most recently from dfee95f to 8963f1f Compare April 26, 2022 11:08
@karajan1001 karajan1001 changed the title [WIP] exp pull/push: better result handling in exp sharing(#7448) exp pull/push: better result handling in exp sharing(#7448) Apr 26, 2022
@karajan1001 karajan1001 marked this pull request as ready for review April 26, 2022 11:09
@pmrowla
Copy link
Contributor

pmrowla commented Apr 28, 2022

@karajan1001 there's a merge conflict that needs to be resolved

fix: treeverse#7448
Current we skip on those experiments which already existed on both sides, but
do not exclude them from the result list. And if we have diverged experiment,
pulling/pushing them will stop the current progress and raise an exception, but
didn't give any information on the condition of other experiments.

1. Change the exp pull and push to match the new API in `scmrepo`.
2. Handle sync status after `exp pull/push` finished.
3. Bump scmrepo to 0.0.19

Co-authored-by:
@karajan1001 karajan1001 merged commit c81d841 into treeverse:main Apr 28, 2022
@karajan1001 karajan1001 deleted the fix7448 branch April 28, 2022 11:56
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.

exp push/pull: QA

2 participants