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

Do not go into pipeline stage creation mode if dvc.yaml is invalid #3368

Merged
merged 7 commits into from
Mar 1, 2023

Conversation

sroy3
Copy link
Contributor

@sroy3 sroy3 commented Feb 28, 2023

Screen.Recording.2023-02-28.at.1.45.09.PM.mov

@sroy3 sroy3 added the product PR that affects product label Feb 28, 2023
@sroy3 sroy3 self-assigned this Feb 28, 2023
@sroy3 sroy3 marked this pull request as ready for review February 28, 2023 19:36
@@ -444,18 +444,30 @@ export class WorkspaceExperiments extends BaseWorkspaceWebviews<
cwd
)

if (stages === undefined) {
await Toast.showError(
'Cannot perform task. Your dvc.yaml file contains invalid yaml'
Copy link
Member

Choose a reason for hiding this comment

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

[N] Your dvc.yaml file is invalid.

@sroy3 sroy3 enabled auto-merge (squash) March 1, 2023 14:48
@codeclimate
Copy link

codeclimate bot commented Mar 1, 2023

Code Climate has analyzed commit f91e8db and detected 0 issues on this pull request.

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

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

View more on Code Climate.

@sroy3 sroy3 merged commit a09c1e2 into main Mar 1, 2023
@sroy3 sroy3 deleted the inform-invalid-yaml branch March 1, 2023 15:04
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