kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
10.82k stars 938 forks source link

[UI] Gantt view not updated anymore after a Pause task #5503

Open loicmathieu opened 1 week ago

loicmathieu commented 1 week ago

Describe the issue

Using the following flow:

id: sandbox
namespace: company.team

tasks:
  - id: pause
    type: io.kestra.plugin.core.flow.Pause
    delay: PT5S
  - id: hello
    type: io.kestra.plugin.core.log.Log
    message: "Hello World"

After triggering the flow, the UI goes to the Gantt view. After the pause task is executed, the Gantt is not updated with the new Log task, but refreshing the page shows the task.

See the screen share: screen-capture (4).webm

Environment

LidiaDomingos commented 1 week ago

Hi @loicmathieu!! I would like to work on it if possible!

MilosPaunovic commented 1 week ago

Absolutely, go for it @LidiaDomingos! 🚀

LidiaDomingos commented 5 days ago

Hi again @loicmathieu !! I tried to run locally with the backend running on docker but I keep getting an error "Failed to resolve import "Pre-transform error: Failed to resolve import "#build/mdc-image-component.mjs" from "node_modules/@nuxtjs/mdc/dist/runtime/components/prose/ProseImg.vue". Does the file exist?" and indeed I cant find that file. Any ideia what could be? My node is v18.20.4

MilosPaunovic commented 5 days ago

That problem should've been amended, try to pull latest changes from develop, @brian-mulier-p could confirm.

LidiaDomingos commented 5 days ago

I am already up to date! https://github.com/LidiaDomingos/kestra

MilosPaunovic commented 4 days ago

@LidiaDomingos Try to check out answers on this thread on Slack, as the person had the same issue.

MilosPaunovic commented 4 days ago

Okay, @LidiaDomingos, we have response on Slack, on this tread.

That was nuxtjs/mdc package that is giving the conflict downgrading it to 0.8.3 will solve the problem.

Steps: Delete the package-lock.json file and node_modules folder. Pull the latest changes Do Npm i Open the package-lock.json file,change the @nuxtjs/mdc version to 0.8.3 Again do Npm install, it will resolve your problem.

Let me know if this does it for you.

LidiaDomingos commented 3 days ago

It worked!! thank you so much @MilosPaunovic