Continuous Delivery
To ensure consistency in behavior, especially regarding security and the API contract with the Vue website, Flowork mandates that users run the latest version of the Go Engine. By eliminating version fragmentation, the development team avoids supporting deprecated legacy endpoints.
The Boot Flow
When a user opens Flowork OS:
1. The Electron Wrapper starts gui.exe.
2. gui.exe boots flowork-engine.exe as a child process.
3. The Engine pauses initialization and checks the cloud for updates.
4. If a newer version exists, it downloads it.
5. Due to Windows executable locking, it renames the currently running executable to .old and writes the new download as the primary executable.
6. The Engine restarts itself seamlessly.
This aggressive auto-update pattern is completely hands-off for the end user and guarantees absolute parity across the Flowork OS ecosystem, preventing issues where the cloud API expects JSON structures that an older Engine cannot parse.