Skip to content

fix(example): software-factory pipeline imports PipelineEngine (post-#255)#256

Merged
miguelgfierro merged 1 commit into
issue-147-pipeline-evolutionfrom
fix-ci-software-factory-example
May 28, 2026
Merged

fix(example): software-factory pipeline imports PipelineEngine (post-#255)#256
miguelgfierro merged 1 commit into
issue-147-pipeline-evolutionfrom
fix-ci-software-factory-example

Conversation

@miguelgfierro
Copy link
Copy Markdown
Contributor

Layer 8 (#255) deleted StatePipeline but the import + return type in examples/software_factory/pipeline.py still referenced it. CI on #232 fails to collect tests/examples/software_factory/test_pipeline.py:

ImportError: cannot import name 'StatePipeline' from 'fireflyframework_agentic.pipeline'

Fix: import PipelineEngine instead and drop the now-unnecessary castPipelineBuilder.build() returns PipelineEngine directly after Layer 8.

Test passes locally.

Layer 8 (#255) deleted StatePipeline but I missed the import + return type
in examples/software_factory/pipeline.py. CI on #232 fails to collect
tests/examples/software_factory/test_pipeline.py with:
    ImportError: cannot import name 'StatePipeline' from
    'fireflyframework_agentic.pipeline'

Fix: import PipelineEngine instead and drop the now-unnecessary cast.
PipelineBuilder.build() returns PipelineEngine directly after Layer 8.

Test passes locally.
@miguelgfierro miguelgfierro merged commit 11e58f9 into issue-147-pipeline-evolution May 28, 2026
@miguelgfierro miguelgfierro deleted the fix-ci-software-factory-example branch May 28, 2026 14:35
ancongui pushed a commit that referenced this pull request May 31, 2026
…-example

fix(example): software-factory pipeline imports PipelineEngine (post-#255)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant