Skip to content

Conversation

@mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Aug 19, 2022

1/2 main <- this <- #2221

This PR gives the user the option to share an experiment as a branch from the context menus available in the experiments tree and table.

Demo

Screen.Recording.2022-08-19.at.2.23.06.pm.mov

Note: There are a few things to follow up with in terms of outstanding housekeeping, I also want to add all calls to git into our output channel and add a new (matching) command to the palette. Next step after that is to add a "Commt and Share" command.

@mattseddon mattseddon added the product PR that affects product label Aug 19, 2022
@mattseddon mattseddon self-assigned this Aug 19, 2022
demo/dvc.yaml Outdated
deps:
- data/MNIST
- train.py
- data/MNIST/raw
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[F] Change proposed here treeverse/dvc#8113 (comment)

name
)
await experiments.runCommand(AvailableCommands.PUSH, dvcRoot)
return Toast.showOutput(gitPushBranch(dvcRoot, input))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[C] This makes me think that we should be showing all of the git commands that we run inside of our DVC output channel.

I will follow up and give Git its own reader/executor.

'Modify, Reset and Run',
'Modify and Resume',
'Modify and Queue',
'Star Experiment',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think 'Experiment' needs to be here. I'll follow up

"title": "%command.views.experiments.shareExperiment%",
"command": "dvc.views.experiments.shareExperiment",
"category": "DVC",
"icon": "$(repo-push)"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

demo/dvc.yaml Outdated
deps:
- data/MNIST
- train.py
- data/MNIST/raw
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will make this change separately

@mattseddon mattseddon marked this pull request as ready for review August 19, 2022 04:45
@mattseddon mattseddon requested a review from sroy3 as a code owner August 19, 2022 04:45
@mattseddon mattseddon enabled auto-merge (squash) August 19, 2022 20:40
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 9b025f7 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1
Duplication 2

The test coverage on the diff in this pull request is 91.6% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.6% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit e06f4ce into main Aug 19, 2022
@mattseddon mattseddon deleted the share-experiment branch August 19, 2022 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product PR that affects product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants