Skip to content

Refactor/rename pipeline#45

Merged
lchoquel merged 7 commits intodevfrom
refactor/Rename-Pipeline
Jun 3, 2025
Merged

Refactor/rename pipeline#45
lchoquel merged 7 commits intodevfrom
refactor/Rename-Pipeline

Conversation

@lchoquel
Copy link
Copy Markdown
Member

@lchoquel lchoquel commented Jun 3, 2025

📝 Description

  • rename Mission to Pipeline
  • enable to start a pipeline and let in run in the background, getting it's run id, but not waiting for the output
  • Makefile: avoid defaulting pytest to verbose. Setup target make test-xdist = Run unit tests with xdist, make it the default for shorthand make t. The old make t is now make tp (test-with-prints)

🔄 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📚 Documentation update
  • 🧹 Code refactor
  • ⚡ Performance improvement
  • ✅ Test update

lchoquel added 7 commits June 3, 2025 13:15
Setup target `make test-xdist`  = Run unit tests with xdist, make it the default for shorthand `make t`. The old make t is now make tp (test-with-prints)
@lchoquel lchoquel requested a review from thomashebrard June 3, 2025 14:05


class SpecialMissionId(StrEnum):
class SpecialPipelineId(StrEnum):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notableinstead of Special?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not better



class Pipeline(BaseModel):
pipeline_run_id: str
Copy link
Copy Markdown
Member

@thomashebrard thomashebrard Jun 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need "pipeline" here ?
I am trying to imagine this code:

my_pipeline = Pipeline()
my_pipeline.pipeline_run_id

seems heavy

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not strictly but for a while, while we transition from the run_pipe API

Copy link
Copy Markdown
Member

@thomashebrard thomashebrard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems great

@lchoquel lchoquel merged commit fddda66 into dev Jun 3, 2025
13 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2025
@lchoquel lchoquel deleted the refactor/Rename-Pipeline branch June 3, 2025 14:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants