57 Commits

Author SHA1 Message Date
Robert Brennan
ef62ccde36
Add pause_closed_runtimes config to pause instead of stop runtimes (#6885)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-02-25 13:43:51 -05:00
Xingyao Wang
003ebc0ded
feat: better error logging for remote runtime (#6805) 2025-02-19 17:54:34 +00:00
Xingyao Wang
1a7003a705
Add sysbox support to remote runtime for eval; Add memory monitor, stress tests to help debug memory issue (#6684)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-02-18 20:02:28 +00:00
tofarr
d46d99a35e
More effective remote runtime identification (#6714) 2025-02-13 09:39:22 -07:00
tofarr
cb5e7f0130
Agent session no longer stuck in starting on raised exception (#6703) 2025-02-13 05:24:44 -07:00
Xingyao Wang
a371562d94
refactor: do not add DEBUG env var when it is not set (#6690) 2025-02-11 22:30:40 +00:00
Robert Brennan
1afe7f1058
Fix debug in remote runtime (#6688) 2025-02-11 17:43:46 +00:00
Xingyao Wang
6a6dc93e03
feat(runtime): use prlimit to limit resource usage of command to avoid OOM Runtime Kill (#6338)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-02-11 11:21:11 +08:00
Rohit Malhotra
9bdc8dda6c
[Enhancement]: Handle GH token refresh inside runtime (#6632) 2025-02-10 11:12:12 -05:00
tofarr
cc104b2e44
Fix for typo (#6592) 2025-02-03 18:37:09 +00:00
tofarr
bbfdc62139
Fix for issue where retries continue on a closed runtime (#6564)
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu>
2025-02-03 08:44:09 -07:00
Ray Myers
83724100e5
fix: Don't close runtime on error (#6549) 2025-01-30 19:09:24 +00:00
Xingyao Wang
1a9971b1bf
misc: make RemoteRuntime API timeout configurable (#6518)
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-30 06:30:18 +08:00
Engel Nyst
89c7bf59a7
Fix first user message (#6471) 2025-01-27 22:09:03 +01:00
Ray Myers
e619929909
Log restart reason if runtime reports it (#6455) 2025-01-25 07:20:18 +01:00
Xingyao Wang
ff3880c76d
fix(remote_runtime): define runtime_id first to fix attrbute error (#6393) 2025-01-21 18:13:43 +00:00
Xingyao Wang
1b6e444ecb
feat(remote runtime): do not resume runtime if not keep_runtime_alive (#6355)
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-19 21:42:00 +00:00
Xingyao Wang
2b04ee2e62
feat(eval): reliability improvement for SWE-Bench eval_infer (#6347) 2025-01-18 14:02:59 -05:00
Calvin Smith
f07ec7a09c
fix: Conversation creation accessing secret without unwrapping (#6335)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
2025-01-17 22:16:57 +00:00
Xingyao Wang
899c1f8360
fix(bash): also show timeout reminder when no_change_timeout is triggered (#6318)
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-18 03:31:23 +08:00
Ray Myers
082d0b25c5
Send status message on runtime restart (#6275) 2025-01-15 03:21:06 +01:00
tofarr
b9884f7609
Fixes for minor cases where FDs were not closed (#6228) 2025-01-13 09:15:23 -07:00
Xingyao Wang
828d169b82
refactor: consolidate runtime startup command into an util function (#6199) 2025-01-11 04:27:13 +08:00
Robert Brennan
3cc20a2576
remove timeouts on remote runtime (#6171) 2025-01-09 12:39:40 -05:00
sp.wack
f6bed82ae2
Add port mappings support (#5577)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: tofarr <tofarr@gmail.com>
Co-authored-by: Robert Brennan <accounts@rbren.io>
Co-authored-by: Robert Brennan <contact@rbren.io>
2025-01-09 15:02:56 +00:00
Robert Brennan
c411a29db4
Move GitHub Token export to backend (#6153)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-08 21:12:46 +00:00
Xingyao Wang
56d7dccec9
fix(runtime): replace send_request with _send_action_server_request (#6035) 2025-01-04 23:38:34 +00:00
Graham Neubig
411b63159f
fix: Use _send_action_server_request in send_action_for_execution (#5951)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-05 08:13:18 +09:00
Xingyao Wang
ec70af9412
refactor: Replace pexpect with libtmux in BashSession (#4881)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-04 05:22:13 +08:00
Xingyao Wang
f14f75b064
feat: runtime improvements for rate-limit and 502/503/404 error (#5975) 2025-01-03 08:36:19 -07:00
Robert Brennan
bb578a2e9d
Fix remote runtime (#5923) 2024-12-30 18:15:51 +00:00
Robert Brennan
0e4e1b3316
Factor out ActionExecutionClient (#5796) 2024-12-30 15:32:13 +00:00
Xingyao Wang
581d5ec7a8
feat(eval): increase resource factor for remote runtime when previous run failed due to resource (#5709) 2024-12-21 01:47:06 +08:00
Xingyao Wang
e9cafb0372
chore: Cleanup runtime exception handling (#5696) 2024-12-19 17:28:29 +00:00
Xingyao Wang
8983eb4cc1
fix(eval): Increase RemoteRuntime request timeouts to cope with busy cluster (#5671) 2024-12-18 17:10:38 +00:00
Xingyao Wang
d6a2c4b167
runtime(eval): increase runtime status request timeout for sessions (#5619) 2024-12-17 00:51:08 +08:00
Xingyao Wang
990f277132
misc: Support folder-level exp analysis for SWE-Bench summarize_outputs.py; Handle CrashLoopBackoff for RemoteRuntime (#5385) 2024-12-03 15:37:21 +00:00
OpenHands
3e49f0f827
Fix issue #5277: [Bug]: AttributeError: 'EventStreamRuntime' object has no attribute 'sid' if runtime_extra_deps is not None (#5330)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2024-12-01 17:05:01 -05:00
tofarr
c7d89713e8
Feat socket io (#5056)
Co-authored-by: Robert Brennan <accounts@rbren.io>
Co-authored-by: Robert Brennan <contact@rbren.io>
2024-11-26 00:12:28 +00:00
Xingyao Wang
7db0a35305
feat(runtime): Set server process to run with highest system priority (#5206)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-11-23 05:31:19 +08:00
Robert Brennan
c9ed9b166b
handle exceptions more explicitly (#4971) 2024-11-19 13:46:03 -05:00
Robert Brennan
f3b35663e9
fix zip downloads (#5009) 2024-11-14 17:17:36 -05:00
Xingyao Wang
07f0d1ccb3
feat(llm): convert function call request for non-funcall OSS model (#4711)
Co-authored-by: Calvin Smith <email@cjsmith.io>
2024-11-15 00:40:09 +08:00
Xingyao Wang
fd81670ba8
feat: add VSCode to OpenHands runtime and UI (#4745)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-11-14 00:20:49 +08:00
Robert Brennan
17f4c6e1a9
Refactor sessions a bit, and fix issue where runtimes get killed (#4900) 2024-11-12 16:20:36 +00:00
Robert Brennan
0633a99298
Fix resume runtime after a pause (#4904) 2024-11-12 09:03:02 -05:00
Robert Brennan
377fadc2eb
fix remote runtimes (#4902) 2024-11-12 00:02:34 +00:00
Robert Brennan
1b5f5bcdad
fixes for upcoming changes to remote API (#4834) 2024-11-11 14:51:14 -05:00
Xingyao Wang
a07e8272da
fix: improve remote runtime reliability on large-scale evaluation (#4869) 2024-11-09 20:17:10 +00:00
tofarr
932de79154
Fix: Buffering zip downloads to files rather than holding in memory (#4802) 2024-11-07 10:24:30 -07:00