Skip to content

fix: resolve four bugs in execution, module, context, and workflow - #154

Merged
FernandoCelmer merged 4 commits into
dotflow-io:developfrom
avarga1:fix/bugs-135-136-137-138
Apr 7, 2026
Merged

fix: resolve four bugs in execution, module, context, and workflow#154
FernandoCelmer merged 4 commits into
dotflow-io:developfrom
avarga1:fix/bugs-135-136-137-138

Conversation

@avarga1

@avarga1 avarga1 commented Apr 6, 2026

Copy link
Copy Markdown

Description

Motivation and Context

Four isolated bug fixes for issues found during core audit. Each fix addresses a correctness or safety issue in the execution pipeline.

Closes #135, #136, #137, #138

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

- execution.py: use == instead of is for string module comparison (dotflow-io#135)
- context.py: accept str in workflow_id setter by converting to UUID (dotflow-io#136)
- module.py: use module.__name__ as sys.modules key instead of module object (dotflow-io#137)
- workflow.py: whitelist valid execution modes before calling getattr (dotflow-io#138)
@FernandoCelmer
FernandoCelmer changed the base branch from master to develop April 6, 2026 23:46
@FernandoCelmer FernandoCelmer added the bug Something isn't working label Apr 6, 2026
Comment thread dotflow/core/context.py
@FernandoCelmer FernandoCelmer added the significant Significant severity label Apr 7, 2026
@FernandoCelmer
FernandoCelmer merged commit 66da8bb into dotflow-io:develop Apr 7, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working significant Significant severity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Module comparison uses 'is' instead of '==' for strings

2 participants