kube-HPC / hkube

🐟 High Performance Computing over Kubernetes - Core Repo 🎣
http://hkube.io
MIT License
305 stars 20 forks source link

debug: debugged algorithm error is not reported #1474

Closed maty21 closed 2 years ago

maty21 commented 2 years ago

HKube micro-service node-wrapper

Describe the bug my code fails on error the Algorunner catches it and sends the error via WebSocket but for some reason, it does not fail the job.

Expected behavior fail the job

To Reproduce Steps to reproduce the behavior:

  1. run code with debugging on node.js with something that fails on runtime
  2. run debug from the dashboard
  3. the job is still active

Additional context node wrapper version 2.0.50

yehiyam commented 2 years ago

Tested with nodejs and python algorithms There is no handling of errorMessage message in the debug algorithm.

tamir321 commented 2 years ago

tested on systemVersion: "v2.3.18", fullSystemVersion: "v2.3.18-1648462268639",