chore(deps): bump agentfield floor to >=0.1.77#62
Merged
Conversation
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>
3 tasks
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agentfieldfloor in bothpyproject.tomlandrequirements.txtfrom>=0.1.73to>=0.1.77to pick up the cooperative cancellation feature shipped in agentfield#542.pip install -r requirements.txtthenpip install -e .) lands on the same floor regardless of which file is consulted first.swe-planner.build/swe-planner.resolveon 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.txtresolves to agentfield 0.1.77 or later.pip install -e .resolves to agentfield 0.1.77 or later.github buddy implementon 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