multiple `cml pr` runs
If the data is changed after a PR it's going to run again generating strange branch names.
experiment-cml-pr-da72cf16-cml-pr-da72cf16-cml-pr-da72cf16
Things to consider:
- If we revert the state use
send-commentto comment into the new PR viacml send-comment --pr --commit-sha HEADwont work - Do not take into account current branch name to avoid concatenation
- Take into account file changes to generate the branch name also we have to consider #792
I wonder if is practical to fix it, I mean, should cml pr allow double execution? Which ones would be those plausible scenarios?
Related to / duplicate of https://github.com/iterative/cml/issues/758?
Related (not duplicated) to
- #758
- #778
- #792
Enough material for an epic? 🤔
@0x2b3bfa0 Im attacking them in a PR
@DavidGOrtega since there are lots of approaches I'd suggest writing CLI docstrings for your ideas so we can discuss them before spending time implementing a polished PR.
@casperdcl not really that complex, assuming that we are not rolling back the only issue here is more:
- a naming issue
- the only rollback to have into account is the user.name user.email
- add the parameters to even allow the pr name as @daavoo suggested.
I would not consider it even an epic in terms of big.