Toward the next release (v2.5.0) #128
Miksus
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I think Rocketry version 2.5 will be again a significant update in terms of what one can do with Rocketry.
Here is the feature set I aim for the release:
Multi-launch (implemented)
The multi-launch system enables running the same task multiple times. The runs are tracked in run stacks. Here is an example:
This task can run four times parallel. Multilaunch can also be set on session config to apply to all tasks by default.
The
rocketry.conds.running
was also refactored in order to be useful with multi-launch. For example, this will start four parallel runs:And this will terminate if there are over 4 runs at the same time:
Event system (close to be done)
The event system enables an easy way to trigger tasks based on some datetimes.
For example, an event notification example:
The above will run only when it has not run after the event happened (the datetime in the event).
This also supports event carried state transfer:
The value of the argument
event
will bea value
in the above example. There is also caching and the functionmy_event
is not run when the argument's value is set (as it was already run for the condition check). Futhermore, there is acheck_cond
that can be customized in order to decrease the amount of function call in case it is expensive (ie. if the event is inspected from a database).Logging improvements
The logging works well and it has been moderately documented. However, the documentation could be improved and setting up the logging could be made more natural.
Beta Was this translation helpful? Give feedback.
All reactions