Heptapod PAAS Runner: improvements in job tracking, shutdown sequence and logs
- Jan 14, 2023
-
-
Georges Racinet authored
In case a job has an already launched PAAS resource (not to be confused with the job being fully launched, we really need to come up with a change in terminology), before this change the log would have said "Launching job.." but that was just acknowledging the start of `launch_job` which itself may do nothing else than resuming the tracking of the job trace.
328dc95ab0af -
Georges Racinet authored
We simply weren't loading the `launched` attribute, resulting in failed Git pushes (already mitigated by parent changeset).
7b2615357481 -
Georges Racinet authored
In theory, Heptapod PAAS Runner state tracking should avoid attempting to deploy again an application. In practice, we currently have a silly bug about that (making easy to test for real that this change works). The bug will be fixed in next commit, leaving hopefully only exceptional cases (hard shutdown).
1843e74d8274 -
Georges Racinet authored
Using the new format already in service in the debug signal. Also, pending jobs are currently especially interesting, since we just implemented #42 and #39, hence logging their details at the `INFO` level.
71af31d73f69 -
Georges Racinet authored
Now that the launcher threads are long (they wait for full job startub, see #42) and interruptible, waiting for them has become useless: all it was doing was to block shutdown until general timout, hence creating doubt about the consequences for ininterruptible operations (there weren't any, actually).
36e969f98948 -
Georges Racinet authored
The contract of `repr()` for `JobHandle` is not really appropriate, as we don't want to log the token. On the other hand we really nead more information about the state, and this is used with `--debug-signal`
2324215e2ae9
-
- Jan 13, 2023
-
-
Georges Racinet authored0a1b1117f7fd
-
Georges Racinet authored
This was intended to be the content of 05a640bd76ae but I have obviously messed up and it ended up missing.
d1673bf0c4ca
-