che icon indicating copy to clipboard operation
che copied to clipboard

Handle gracefully when an invalid devfile is found in a git repository

Open l0rd opened this issue 4 years ago • 3 comments

Is your enhancement related to a problem? Please describe

Currently Che starts successfully workspaces from a Git repository where there are no devfiles: the default component and editor will be used. When a workspace has a devfile that's invalid instead, there is no way for a user to start it using the default component (to fix the devfile for example).

Describe the solution you'd like

When Che finds a devfile in a git repository but that's an invalid devfile, we should warn the user and prompt him if the workspace should start anyway (ignoring the existing devfile) or if he wants to cancel the workspace startup.

warning-invalid-devfile

This is related to https://github.com/eclipse/che/issues/20616.

l0rd avatar Nov 05 '21 17:11 l0rd

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

che-bot avatar May 04 '22 00:05 che-bot

I have updated the wireframe and the description.

l0rd avatar Jul 22 '22 15:07 l0rd

I have updated the warning text after some a @RickJWagner comment on #21606

l0rd avatar Aug 04 '22 08:08 l0rd

Sync'd with Red Hat JIRA https://issues.redhat.com/browse/CRW-3638

max-cx avatar Dec 15 '22 23:12 max-cx