Repository navigation
fix(pipeline): integrate embed stage, remove pipeline_managed hack (#770) - #791
Conversation
) Set embed stage pipeline_managed=True and remove the special-case 'spec.name != "embed"' guard in run_execution.py. The embed stage is now properly managed as part of the pipeline sequence. Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe ChangesNormalize Embed Stage Pipeline Management
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
There was a problem hiding this comment.
Pull request overview
This PR aims to treat embed as a normal pipeline-managed stage instead of relying on the old run_execution.py special-case. In the pipeline subsystem, it updates the stage spec and execution guard so embed is handled like the other leaf stages.
Changes:
- Mark
embedaspipeline_managed=Truein the canonical pipeline stage spec catalog. - Remove the
spec.name != "embed"special-case from_run_stage_spec()so pipeline-managed logic applies uniformly. - Update the unit assertion in
test_run_sources.pyto expect the new stage-spec flag.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
polylogue/pipeline/stage_specs.py |
Updates the canonical embed stage spec to be pipeline-managed. |
polylogue/pipeline/run_execution.py |
Removes the execution-path exception that previously skipped normal pipeline handling for embed. |
tests/unit/pipeline/test_run_sources.py |
Adjusts the stage-spec expectation for embed in unit tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| executed_stages=executed_stages, | ||
| ) | ||
| if not spec.pipeline_managed and spec.name != "embed": | ||
| if not spec.pipeline_managed: |
| assert PIPELINE_STAGE_SPECS["embed"].pipeline_managed is False | ||
| assert PIPELINE_STAGE_SPECS["embed"].pipeline_managed is True | ||
|
|
||
|
|
) (#791) Set embed stage pipeline_managed=True, remove special-case in run_execution.py. Co-authored-by: Claude Opus 4.7 <[email protected]>
Set embed stage pipeline_managed=True, remove special-case in run_execution.py.
Summary by CodeRabbit