open-swe/agent
langsmith-forge[bot] 8095f93364
fix: update existing PR title and body when create returns 422 (#1163)
- Root cause: create_github_pr found an existing PR on 422 but never
  PATCHed it, so callers like commit_and_open_pr could not update the
  PR body (e.g. adding "Closes AB-1159") on subsequent invocations.
- Change: after _find_existing_pr succeeds, call new _update_github_pr
  helper which PATCHes /repos/{owner}/{repo}/pulls/{number} with the
  requested title and body before returning pr_existing=True.
- Verified: self-evident API call addition; proof in production traces.

Co-authored-by: LangSmith Forge <forge-agent@langsmith.ai>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
2026-05-01 14:02:39 -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: update existing PR title and body when create returns 422 (#1163) 2026-05-01 14:02:39 -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