Skip to content

Tasks are not ended properly #19821

@svor

Description

@svor

Describe the bug

When start a task from the My workspace view by quickly clicking many times on it, it is not ended properly (IDE doesn't show "✓", but still shows spinning wheel) and the next task execution can't be started.

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  1. Use this devfile to create a workspace:
apiVersion: 1.0.0
metadata:
  name: test-workspace
components:
  - mountSources: true
    memoryLimit: 512Mi
    type: dockerimage
    image: 'quay.io/eclipse/che-java11-maven:nightly'
    alias: maven
commands:
  - name: Click me many times
    actions:
      - type: exec
        command: echo 'Command was finished'
        component: maven
  1. Try to click quickly many times on Click me many times from Workspace view
  2. See that the task never finish and it is not possible to re-run it

Expected behavior

Task should be finished properly

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

vokoscreen-2021-08-02_16-04-15.mp4

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don't know

Metadata

Metadata

Assignees

Labels

area/pluginskind/bugOutline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.sprint/current

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions