CatgirlIntelligenceAgency/code/api/executor-api/src/main
Viktor Lofgren eccb12b366 (control) Fix spurious state detection in control-side actors
A race condition was found where precession actors would sometimes skip a step, because when invoking ExecutorRemoteActor.getState(), it would get the last 'OK' actor state from a previous run of the actor!

To avoid this, the trigger method was changed from returning a boolean to the message ID, negative if an error occurred, to be passed to getState to select only messages that pertain to the present or future runs.
2023-12-09 12:50:05 +01:00
..
java/nu/marginalia/executor (control) Fix spurious state detection in control-side actors 2023-12-09 12:50:05 +01:00