Skip to content

🪲 BUG-#127: Fix workflow_id=None passed to execution engine - #145

Merged
FernandoCelmer merged 1 commit into
developfrom
feature/127
Apr 7, 2026
Merged

🪲 BUG-#127: Fix workflow_id=None passed to execution engine#145
FernandoCelmer merged 1 commit into
developfrom
feature/127

Conversation

@FernandoCelmer

@FernandoCelmer FernandoCelmer commented Apr 6, 2026

Copy link
Copy Markdown
Member

Description

  • dotflow/core/workflow.py: Fix Manager.__init__ passing the raw workflow_id parameter (which may be None) to the execution engine instead of self.workflow_id (which holds the generated UUID)

Motivation and Context

When no explicit workflow_id is provided, Manager.__init__ generates a UUID via uuid4() and stores it in self.workflow_id. However, the execution call was passing the original parameter (None) instead of the resolved value. This broke checkpoint/resume and workflow identification for all auto-generated IDs.

Closes #127

Types of changes

  • Bug fix (change that fixes an issue)
  • New feature (change which adds functionality)
  • Documentation

Checklist

  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG
  • I have updated the documentation accordingly

@FernandoCelmer FernandoCelmer added bug Something isn't working critical Critical severity - must fix labels Apr 6, 2026
@FernandoCelmer FernandoCelmer self-assigned this Apr 6, 2026
@FernandoCelmer
FernandoCelmer deleted the feature/127 branch April 7, 2026 02:00
@FernandoCelmer
FernandoCelmer restored the feature/127 branch April 7, 2026 02:02
@FernandoCelmer FernandoCelmer reopened this Apr 7, 2026
@FernandoCelmer
FernandoCelmer merged commit cbc3bee into develop Apr 7, 2026
20 checks passed
@FernandoCelmer
FernandoCelmer deleted the feature/127 branch April 7, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working critical Critical severity - must fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant