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

Have queue workers respect dvc.studio.shareExperimentsLive #3398

Merged
merged 3 commits into from
Mar 6, 2023

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Mar 6, 2023

Related to #3077

This PR connects new queue workers with Studio. If an access token is present then the queue will start processing with the correct environment variables to send everything to Studio. This is handy because the functionality is not currently available locally.

Demo

Screen.Recording.2023-03-06.at.12.22.57.pm.mov

@mattseddon mattseddon added the product PR that affects product label Mar 6, 2023
@mattseddon mattseddon self-assigned this Mar 6, 2023
constructor(
config: Config,
getStudioLiveShareToken: () => string | undefined,
getRepoUrl: (cwd: string) => Promise<string>,
Copy link
Member Author

Choose a reason for hiding this comment

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

[F] Currently needed due to iterative/dvclive#485.

Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

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

Great work!

@mattseddon mattseddon enabled auto-merge (squash) March 6, 2023 17:28
@codeclimate
Copy link

codeclimate bot commented Mar 6, 2023

Code Climate has analyzed commit 17514aa and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

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

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

View more on Code Climate.

@mattseddon mattseddon merged commit 4ffda7c into main Mar 6, 2023
@mattseddon mattseddon deleted the send-queue-metrics branch March 6, 2023 17:39
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