Version 0.7 has been released.
Groups
The main update in this release is the support for 'groups'.
Previously, starting a lot of tasks - e.g., within a loop - caused the graph rendered in the UI to become large and difficult to use. Particularly when those tasks themselves started other tasks.
With the introduction of groups, only one of the tasks started within the group will be displayed in the UI at a time. Groups don't affect the execution of the tasks themselves, but they do unlock the ability for Coflux to be used to observe map-reduce-style workflows.
Defining a group is done with a context manager:
with cf.group("Count words"): # 👈
for chapter in chapters:
process_chapter(chapter)
In the UI, the group is highlighted, and only the first task is displayed:
A different task can be selected from the selector:
See the documentation for more details.
Concept renaming
This release also renames some concepts to try to make them a bit clearer.
'Environments' have been renamed to 'workspaces' to avoid confusing them with deployed environments (like 'production' or 'staging'). Whilst it may make sense to have a workspace per (deployment) environment, it's also encouraged to create workspaces temporarily to develop a feature or fix a bug. See the documentation for details.
'Repositories' have been renamed to 'modules' to avoid confusion with version control repositories.