Skip to content

chore(deps): bump agentfield floor to >=0.1.77#62

Merged
AbirAbbas merged 1 commit into
mainfrom
chore/bump-agentfield-0.1.77
May 6, 2026
Merged

chore(deps): bump agentfield floor to >=0.1.77#62
AbirAbbas merged 1 commit into
mainfrom
chore/bump-agentfield-0.1.77

Conversation

@AbirAbbas
Copy link
Copy Markdown
Collaborator

Summary

  • Bumps the agentfield floor in both pyproject.toml and requirements.txt from >=0.1.73 to >=0.1.77 to pick up the cooperative cancellation feature shipped in agentfield#542.
  • Both pin sites are updated so the Railway install path (pip install -r requirements.txt then pip install -e .) lands on the same floor regardless of which file is consulted first.
  • Without this floor, SWE-AF still serves swe-planner.build / swe-planner.resolve on Railway but doesn't honor cancel-tree — an overlong resolver run can be marked cancelled in the control plane, but the in-flight Claude Agent SDK call or git/CI loop keeps running and burns spend until natural completion.

Test plan

  • pip install -r requirements.txt resolves to agentfield 0.1.77 or later.
  • pip install -e . resolves to agentfield 0.1.77 or later.
  • Deploy to Railway, kick off a github buddy implement on a non-trivial issue (multi-minute resolver loop), hit cancel-tree from the control-plane UI, confirm SWE-AF short-circuits within seconds (CancelledError surfaces inside the Claude Agent SDK await) rather than running to completion.

🤖 Generated with Claude Code

Picks up the cooperative cancellation feature in the AgentField SDK
(per-execution cancel callback at /_internal/executions/<id>/cancel,
asyncio-task wiring inside the worker runtime). With this floor, a
control-plane cancel-tree on a stuck swe-planner run will surface as
CancelledError inside the resolver/builder phase that's currently
awaiting Claude or git/CI output, short-circuiting the in-flight call
rather than letting it run to completion and discarding the result.

Bumped both pyproject.toml and requirements.txt so the
pip-install-then-`pip install -e .` path Railway uses lands on the
same floor.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@AbirAbbas AbirAbbas merged commit 221e58f into main May 6, 2026
2 checks passed
@AbirAbbas AbirAbbas deleted the chore/bump-agentfield-0.1.77 branch May 6, 2026 18:33
AbirAbbas added a commit that referenced this pull request May 7, 2026
#68)

PR #66 added hax-sdk to runtime requirements.txt but left
requirements-docker.txt unchanged. The Dockerfile installs from
requirements-docker.txt, so the deployed image was missing hax-sdk
and the HITL approval gate failed at runtime with "No module named
'hax'" whenever HAX_API_KEY was set (swe_af/app.py:622).

Also bumps agentfield floor to >=0.1.77 to match the runtime list
(drift left over from PR #62) and adds python-dotenv>=1.0 which
was likewise missing from the docker variant.

Co-authored-by: Claude Opus 4.7 (1M context) <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