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

Show name of experiments in the queue #6382

Merged
merged 3 commits into from Aug 6, 2021
Merged

Conversation

karajan1001
Copy link
Contributor

fix #6050

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

@karajan1001 karajan1001 requested a review from a team as a code owner August 3, 2021 13:12
@karajan1001 karajan1001 requested a review from efiop August 3, 2021 13:12
@pmrowla pmrowla self-requested a review August 3, 2021 13:13
Comment on lines 880 to 881
if rev in self.stash_revs:
return self.stash_revs[rev].name
Copy link
Contributor

Choose a reason for hiding this comment

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

This stash check should be done last - experiments (including stashed experiments) should have lower priority than tags or branch names

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reorder here would make the code a little corrupt. And shouldn't the stash ones be mutually exclusive with the commit ones? But I agreed that making commit ones ahead of stash ones is a logical/common choice, I also hesitated here before I wrote them down.

Copy link
Contributor

Choose a reason for hiding this comment

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

It's unlikely that a git tag or branch would ever point to one of our stash commits, but it's technically a legal state - you can manually tag any git commit, and manually create a refs/heads/branch_name entry that points to any git commit.
This includes our stash commits, so we have to account for it.

@pmrowla pmrowla added A: experiments Related to dvc exp ui user interface / interaction labels Aug 6, 2021
@pmrowla pmrowla merged commit 3d604a8 into iterative:master Aug 6, 2021
@karajan1001
Copy link
Contributor Author

image
Add a example to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: experiments Related to dvc exp ui user interface / interaction
Projects
None yet
Development

Successfully merging this pull request may close these issues.

exp show: show names for the queued experiments
2 participants