Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9415

Hot reload not working as expected

    XMLWordPrintable

Details

    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 27-29 (from Jul 3), 2023 Week 24-26 (from Jun 12)

    Description

      When we run quarkus:dev with a hello world workflow and then update the workflow with [1] + its specs files (for instance), we're getting this error [2] after starting the workflow. On the other hand, if we run quarkus:dev with the files already in, the error does not occur.

      Looks like a hot reload issue when references to specs are added.

      Reproducer:
      1. Clone https://github.com/krisv/kogito-serverless-workflow-helloworld
      2. Change Kogito to 1.40.0.Final on pom.xml
      3. Rename [1] to workflow-service.sw.json.not just to keep it out
      4. Run quarkus:dev
      5. Open Dev UI
      6. Rename [1] back to its original name and refresh Dev UI
      7. Start the workflow -> error is thrown

      [1] https://github.com/krisv/kogito-serverless-workflow-helloworld/blob/main/src/main/resources/workflow-service.sw.json
      [2] https://gist.github.com/caponetto/e6f654885f4793a7e3cfb0531a36dba1

      Attachments

        Activity

          People

            hbelmiro@redhat.com Helber Belmiro
            hbelmiro@redhat.com Helber Belmiro
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: