Versioning

Versioning in Cognition is a feature designed to track the versions of the pipeline editor. It captures changes made to strategies and strategy steps, creating a new version of the pipeline for each modification. Every adjustment, such as adding or removing strategy steps, renaming strategies, altering step configurations, or changing the order of steps, results in the creation of a new version. The sequential listing of the most recent versions provides a comprehensive overview of the pipeline's development and enables you to track each change in chronological order. On default, 10 versions are kept in history.
The versioning feature addresses the challenges encountered during the testing of various strategy setups to identify the optimal configuration for the project. It eliminates the need for engineers to manually export strategies after each change, saving time when iterating through different pipeline solutions.
It is available exclusively for users with the engineer role and can be accessed from the editor's view. Each version is labeled with a unique name, corresponding to the date and time it was created. The current version is always marked as ‘Current/Active’, regardless of which version is selected.
Screenshot 2025-04-04 at 10.58.00.png
The dropdown menu displays a list of all available versions, with the currently viewed version highlighted in green. Clicking on a version loads its state into the editor, including all associated strategies, settings, and nodes. This action only updates the editor view and does not activate the selected version. You will find the currently active version displayed at the bottom. For each version, the following actions are available:
  • Compare - Displays the differences between the currently active version and the selected version in a JSON-style comparison of its attributes. Additions are highlighted in green, deletions in red (See example below).
  • Activate - Sets the selected version as the new active version.
  • Persist - Saves the selected version with a custom name. Persisted versions are not overwritten when the version history limit is reached.
  • Delete - Removes the selected version from the recent history.
Screenshot 2025-04-04 at 13.39.11.png