open-swe/tests
Adam Moussa 6d34c42578
feat: inject extra JSON fields into sandbox create via env var (#1758)
Add SANDBOX_CREATE_EXTRA_JSON so operators can merge extra fields (e.g.
{"_internal_runtime":"v2"}) into the LangSmith sandbox-create request body.
The SDK's create_sandbox builds a fixed payload with no passthrough, so we
wrap the HTTP client's post to inject the fields on the POST /boxes request
only. Malformed JSON fails at startup validation.

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
(cherry picked from commit 2238303306493ae6fcd0c2d4ab4236adf283a896)

Co-authored-by: Ramon Nogueira <ramon.nogueira@langchain.dev>
2026-07-17 16:22:38 -04:00
..
agent refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
analyzer refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
auth refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
dashboard refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
e2e refactor: split webapp.py into api/ + per-source webhook routes 2026-07-17 14:30:05 -04:00
github refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
middleware refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
models refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
reviewer fix: defensive copy in get_reviewer_agent and get_chat_agent [closes #1584] (#1742) 2026-07-17 16:22:38 -04:00
sandbox feat: inject extra JSON fields into sandbox create via env var (#1758) 2026-07-17 16:22:38 -04:00
slack refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
tools feat: add Linear issue search tool (#1748) 2026-07-17 16:22:38 -04:00
webhooks refactor: move tests into tests/<domain>/ layout 2026-07-17 14:42:45 -04:00
conftest.py refactor: split webapp.py into api/ + per-source webhook routes 2026-07-17 14:30:05 -04:00