Skip to content

chore: track pipelex keyword-only refactor + migrate to PipelexMTHDSProtocol#75

Open
lchoquel wants to merge 3 commits into
devfrom
chore/keyword-only-pipelex-rev
Open

chore: track pipelex keyword-only refactor + migrate to PipelexMTHDSProtocol#75
lchoquel wants to merge 3 commits into
devfrom
chore/keyword-only-pipelex-rev

Conversation

@lchoquel

@lchoquel lchoquel commented Jun 15, 2026

Copy link
Copy Markdown
Member

What

Pins cocode to the pipelex keyword-only-arguments refactor branch (refactor/Function-calling-4) to validate it in lockstep, and migrates the SWE runner off the removed PipelexRunner class.

Changes

  • pyproject.toml / uv.lock: pipelex ==0.32.1==0.33.0 via a temporary [tool.uv.sources] git pin at rev 529b9082.
  • cocode/swe/swe_cmd.py (production) + tests/integration/test_hello_world.py: PipelexRunnerPipelexMTHDSProtocol, execute_pipeline()execute(). response.pipe_output is unchanged.
  • CHANGELOG.md: [Unreleased] entry.

Why the runner rename is here

The pinned PyPI pipelex (0.32.1) still had PipelexRunner. Pinning to the branch (which tracks pipelex dev) surfaces the already-landed runner rename — the runner is now the MTHDS Protocol implementation (PipelexRunner removed, execute_pipelineexecute) — in addition to the keyword-only work, so cocode needs the rename to keep building.

Verification

Local, all green: make agent-check, make agent-test, uv lock --check.

Note

The git-rev pin is temporary — swap it back to a released pipelex version once the keyword-only refactor lands on PyPI.

🤖 Generated with Claude Code


Summary by cubic

Pins pipelex to the latest keyword-only refactor (git rev 0e32c8c0) and migrates the SWE pipeline to PipelexMTHDSProtocol to stay compatible.

  • Refactors

    • Replace PipelexRunner with PipelexMTHDSProtocol and execute_pipeline() with execute() in cocode/swe/swe_cmd.py and the hello-world test; response.pipe_output unchanged.
  • Dependencies

    • Pin pipelex 0.33.0 via a temporary git source at rev 0e32c8c0 (all remaining non-subject params are now keyword-only). No call-site changes needed; switch back to a released version once available.

Written for commit b82d26c. Summary will update on new commits.

Review in cubic

…rotocol

Pin pipelex to the keyword-only-arguments refactor branch (git rev) and
migrate the SWE runner off the removed PipelexRunner class.

- pyproject/uv.lock: pipelex ==0.32.1 -> ==0.33.0 via git rev 529b9082
- swe_cmd.py + integration test: PipelexRunner -> PipelexMTHDSProtocol,
  execute_pipeline() -> execute() (response.pipe_output unchanged)

make agent-check and agent-test pass; uv lock --check is consistent.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Jun 15, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates cocode for the newer Pipelex runner API and temporary dependency pin. The main changes are:

  • Pins pipelex to 0.33.0 with a temporary uv git source.
  • Replaces PipelexRunner.execute_pipeline() with PipelexMTHDSProtocol.execute() in the SWE runner helper.
  • Updates the hello-world integration test for the renamed runner API.
  • Adds an unreleased changelog note for the Pipelex refactor tracking.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.
  • The updated runner call preserves the response.pipe_output contract used by existing callers.
  • The changed Pipelex calls use keyword arguments where the new API requires them.

Important Files Changed

Filename Overview
cocode/swe/swe_cmd.py Migrates the shared pipeline execution helper to PipelexMTHDSProtocol.execute().
pyproject.toml Updates the Pipelex dependency and adds the temporary uv git source pin.
uv.lock Locks Pipelex to the git source and updates related transitive packages.

Reviews (1): Last reviewed commit: "chore: track pipelex keyword-only refact..." | Re-trigger Greptile

lchoquel and others added 2 commits June 15, 2026 11:11
…ngs)

Tracks the latest pipelex keyword-only refactor commit, which reorders several
function signatures to keyword-only. No call-site changes needed here — every
call site already passes the affected args by keyword. agent-check + agent-test green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bumps the pinned pipelex git rev 755b8211 -> 0e32c8c0. That commit makes
all remaining non-subject params keyword-only (no reordering); all call
sites here already pass by keyword, so this is a no-op bump. agent-check +
agent-test green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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