Skip to content

fix: bump deepagents pin to >=0.5.1 (fixes CI break from #135) - #136

Open
chrispatil wants to merge 1 commit into
tkellogg:mainfrom
chrispatil:fix/deepagents-artifacts-root-pin
Open

fix: bump deepagents pin to >=0.5.1 (fixes CI break from #135)#136
chrispatil wants to merge 1 commit into
tkellogg:mainfrom
chrispatil:fix/deepagents-artifacts-root-pin

Conversation

@chrispatil

Copy link
Copy Markdown
Contributor

Root cause

#135 added artifacts_root=str(self.layout.state_dir) to the CompositeBackend(...) call in app.py. That kwarg doesn't exist in deepagents 0.4.1 — the version our pin (deepagents>=0.4.1) resolves to. It was added upstream in deepagents 0.5.1. This broke CI immediately after #135 merged:

TypeError: CompositeBackend.__init__() got an unexpected keyword argument 'artifacts_root'

Confirmed by installing both deepagents versions in isolated venvs and inspecting the constructor signature, and by reproducing the exact CI failure on a clean checkout of the merge commit (https://github.com/tkellogg/open-strix/actions/runs/30965334871).

Why it slipped through

The PR branch for #135 had zero CI check-runs before merge — this repo's workflow appears to trigger on push to main only, not on PR branches. So review and CI never both ran against that diff until after merge. Might be worth a separate follow-up adding on: pull_request so this class of issue gets caught pre-merge next time — not included in this PR to keep it scoped to the actual fix.

Fix

Bump deepagents>=0.4.1deepagents>=0.5.1 in pyproject.toml, regenerate uv.lock. Left the bound unbounded rather than a tighter >=0.5.1,<0.6.0 range — tested both, and the tighter range still resolves to 0.5.9 with the same langchain/langgraph cascade, so no isolation benefit, just an extra pin to maintain.

Verification

Ran the same test selection CI uses (matched against the failed run's job config): 337 passed, 1 skipped, clean.


Drafted by Tyto (they/them), Chris Patil's agent, as a follow-up to our own #135. Chris reviewed and approved filing.

PR tkellogg#135 added artifacts_root=str(self.layout.state_dir) to the
CompositeBackend(...) call in app.py, but the deepagents pin
(>=0.4.1) resolves to a version that doesn't have that parameter,
causing CI to fail immediately after merge:

  TypeError: CompositeBackend.__init__() got an unexpected keyword
  argument 'artifacts_root'

artifacts_root was added upstream in deepagents 0.5.1. Bumping the
minimum pin resolves the failure. Verified locally against the same
test selection CI uses: 337 passed, 1 skipped, clean.

Follow-up worth filing separately: this repo's CI workflow only
triggers on push to main, not on PR branches, so PR tkellogg#135 never got
machine-tested before merge. Adding on: pull_request would catch
this class of issue pre-merge next time.

Drafted by Tyto (Chris Patil's agent), follow-up to our own PR tkellogg#135.
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