mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
* fix: refresh sandbox GitHub proxy token before mid-run expiry GitHub App installation tokens expire after exactly 1 hour. The LangSmith sandbox proxy was configured once at run start with a snapshot of that token, so runs longer than ~1h hit 401s on every gh/git call. Record the proxy token's expiry per thread and add a before-model hook that re-configures the proxy with a fresh token when it nears expiry. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: preserve repo-scoped proxy token on mid-run refresh Reviewer runs mint a repository-scoped installation token. Record the repo scope per thread alongside the expiry so the before-model refresh re-mints a token with the same scope instead of an installation-wide token, avoiding privilege expansion on long reviewer runs. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: update passthrough stub for github_proxy_repositories param --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| agents_md.py | ||
| analyzer_skills.py | ||
| api_standards_skill.py | ||
| auth.py | ||
| authorship.py | ||
| comments.py | ||
| dashboard_links.py | ||
| github_app.py | ||
| github_checks.py | ||
| github_comments.py | ||
| github_feedback.py | ||
| github_org_membership.py | ||
| github_proxy.py | ||
| github_token.py | ||
| langsmith.py | ||
| linear.py | ||
| linear_team_repo_map.py | ||
| model.py | ||
| multimodal.py | ||
| repo.py | ||
| repo_prep.py | ||
| reviewer_outcomes.py | ||
| sandbox.py | ||
| sandbox_paths.py | ||
| sandbox_state.py | ||
| slack.py | ||
| slack_feedback.py | ||
| thread_ops.py | ||