open-swe/agent
langsmith-forge[bot] 15a7268d30
fix: return actionable error when push fails with workflows scope error (#1153)
* fix: return actionable error when git push fails due to workflows scope

- Root cause: push failure with "workflows scope" error returned a generic
  "Git push failed: ..." message, causing the agent to retry 10+ times
- Change: detect "workflows" + "scope" in push output and return a clear
  message instructing the agent to remove .github/workflows/ file changes
- Verified: unit tests cover both the workflow-scope path and the
  non-workflow path to prevent regressions

* fix: detect github workflow permission push failures

* style: ruff-format checkout line in commit_and_open_pr

---------

Co-authored-by: LangSmith Forge <forge-agent@langsmith.ai>
Co-authored-by: Johannes du Plessis <johannes@langchain.dev>
2026-05-01 13:09:54 -07:00
..
integrations fix: lower default LangSmith sandbox size to fit "large" tier (#1226) 2026-04-30 13:24:15 -07:00
middleware fix: stop agent retrying commit_and_open_pr on 403 permission denied (#1123) 2026-05-01 19:37:53 +00:00
tools fix: return actionable error when push fails with workflows scope error (#1153) 2026-05-01 13:09:54 -07:00
utils fix: recover existing PR after httpx.HTTPError in create_github_pr (#1148) 2026-05-01 13:00:23 -07:00
encryption.py chore: Drop monorepo (#1029) 2026-03-06 16:10:34 -08:00
prompt.py fix: stop agent retrying commit_and_open_pr on 403 permission denied (#1123) 2026-05-01 19:37:53 +00:00
server.py feat: add github CI check run tools for shepherding CI (#1121) 2026-05-01 12:19:04 -07:00
webapp.py feat: give agent ability to read cross-posted Slack message links [closes OPE-37] (#1200) 2026-04-29 17:42:27 -07:00