Raise bug-fix workflow credit cap and run pytest from PATH - #4508
Raise bug-fix workflow credit cap and run pytest from PATH#4508gyanu2507 wants to merge 1 commit into
Conversation
The agentic bug-fix run hit the 1K default and then failed trying ./.venv/bin/python (Permission denied). Give the workflow 2K credits, allow `python` as well as python3, and tell the agent to use PATH. Fixes github#4472
|
Thanks @gyanu2507 — a process heads-up. This one turns out to touch security-sensitive agentic-workflow infra: the change only takes effect once the compiled Two small design tweaks I'm weighing as I do, with rationale to follow in the finishing commit: keeping the credit cap as-is if the pytest-from-PATH fix removes the retry loop that caused the ~8-credit overrun, and keeping the bash allowlist at |
|
Sounds good. I'll leave the lockfile recompile and the credit / python allowlist tweaks to you. |
Description
The agentic bug-fix workflow hit the 1K default credit cap, then failed trying
./.venv/bin/python -m pytestwith Permission denied.This sets
max-ai-credits: 2000, allowspythonas well aspython3on the bash allowlist, and tells the agent to usepython3 -m pytest/pytestfrom PATH instead of a project venv interpreter.Testing
uv sync && uv run pytestuv run pytest tests/test_bug_fix_workflow.pyAI Disclosure
LLM-assisted implementation. I chose the issue, wrote the tests, and ran them locally.
Fixes #4472