Skip to content

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

Merged
lchoquel merged 5 commits into
devfrom
chore/keyword-only-pipelex-rev
Jul 6, 2026
Merged

chore: track pipelex keyword-only refactor + migrate to PipelexMTHDSProtocol#75
lchoquel merged 5 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

Tracks the pipelex keyword-only-arguments refactor and migrates the SWE runner to PipelexMTHDSProtocol. Moves from a temporary git pin to the released pipelex 0.37.0 and cleans up configs/docs to match the new protocol.

  • 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.
    • Remove experimental flags from pipelex configs; drop deprecated combined_output in *.mthds, normalize the changelog template, and rename TestingStrategyDocTestStrategyDoc (field testing_strategytest_strategy) in SWE docs.
  • Dependencies

    • Use pipelex 0.37.0 from PyPI (keyword‑only non‑subject params); removed the temporary local/git pin. Call sites already pass affected args by keyword.
    • Pin ruff to 0.14.13; lockfile updated.

Written for commit 0a52a82. 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 4 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>
- Removed experimental feature flags from pipelex.toml.
- Updated VSCode settings to enable format on save and organize imports.
- Cleaned up ai_instruction_update.mthds by removing combined_output.
- Adjusted changelog.mthds template formatting for consistency.
- Removed combined_output from swe_docs.mthds.
- Renamed TestingStrategyDoc to TestStrategyDoc in swe_docs.py and updated references.
- Updated pipelex.toml to remove pipeline tracking and reporting flags.
- Specified exact version for ruff in pyproject.toml and updated dependencies.
- Updated uv.lock to reflect changes in package versions and sources.
@lchoquel lchoquel merged commit 7fd3223 into dev Jul 6, 2026
16 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2026
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.

1 participant