Files
cloudron-box/src/test
Girish Ramakrishnan 7047ee9391 shell: add timeout logic and rework error handling
what's important:

* if task code ran, it exits with 0. this code is regardless of (error, result)
  * when it exited cleanly, we will get the values from the database

* if task timed out, the box code kills it and it has a flag tracking timedOut. we can
  ignore exit code in this case.

* if task code was stopped, box code will send SIGTERM which ideally it will handle and end with 70.

* if task code crashed and it caught the exception, it will return 50

* if task code crashed and node nuked us, it will exit with 1

* if task code was killed with some unhandleabe signal, taskworker.sh will return the signal (9=SIGKILL)
2025-07-17 12:44:24 +02:00
..
2017-10-02 23:08:16 -07:00
2021-08-13 11:34:05 -07:00
2024-12-04 16:17:07 +01:00
2025-06-06 08:34:21 +02:00
2024-10-14 18:37:22 +02:00
2024-09-20 18:48:55 +02:00
2025-07-17 00:09:50 +02:00
2024-07-07 20:23:32 +02:00
2025-06-06 18:07:03 +02:00
2023-07-11 18:45:49 +05:30
2025-02-12 14:21:46 +01:00
2025-05-06 16:26:35 +02:00
2025-03-07 17:50:50 +01:00
2024-12-07 20:41:22 +01:00
2023-08-03 13:38:42 +05:30
2024-12-11 22:44:04 +01:00
2025-06-06 15:48:21 +02:00
2024-12-04 16:36:05 +01:00
2025-07-15 09:07:23 +02:00
2025-02-13 17:28:10 +01:00
2025-07-17 00:09:50 +02:00
2025-02-13 14:51:51 +01:00
2025-03-07 12:32:50 +01:00