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

Add scheduled data status cli output test #2125

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Aug 1, 2022

2/2 main <- #2091 <- this

As promised here.

This PR adds a test to the daily CLI output test suite that runs against the main branch of DVC.

@mattseddon mattseddon self-assigned this Aug 1, 2022
@mattseddon mattseddon changed the base branch from main to data-status-prototype August 1, 2022 17:13
@mattseddon mattseddon force-pushed the cli-test-data-status branch from 465e568 to 4625502 Compare August 1, 2022 17:14
@mattseddon mattseddon force-pushed the cli-test-data-status branch from 4625502 to a4fd1a2 Compare August 1, 2022 17:14
@@ -91,8 +90,7 @@ export class RepositoryData extends DeferredDisposable {
const dataStatus =
await this.internalCommands.executeCommand<DataStatusOutput>(
AvailableCommands.DATA_STATUS,
this.dvcRoot,
Flag.UNCHANGED
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] This was here because I was going to try and call for a full or partial update based on the path that fired the watcher. However, with the new data, it will require a more extensive rewrite to make this more efficient. Luckily the test caught the oversight.

'status',
'--with-dirs',
'--granular',
'--unchanged',
Copy link
Member Author

Choose a reason for hiding this comment

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

@mattseddon mattseddon marked this pull request as ready for review August 1, 2022 17:20
@mattseddon mattseddon merged commit eac5b10 into data-status-prototype Aug 2, 2022
@mattseddon mattseddon deleted the cli-test-data-status branch August 2, 2022 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants