fix: update deprecated libtmux API calls#12596
Merged
neubig merged 1 commit intoOpenHands:mainfrom Mar 16, 2026
Merged
Conversation
Replace deprecated libtmux Session methods with their modern equivalents: - session.attached_pane -> session.active_pane (deprecated in 0.31.0) - session.kill_session() -> session.kill() (deprecated in 0.30.0)
Contributor
|
This PR is stale because it has been open for 40 days with no activity. Remove the stale label or leave a comment, otherwise it will be closed in 10 days. |
neubig
approved these changes
Mar 16, 2026
Contributor
|
Thank you! |
Closed
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of PR
Fixed two outdated function calls in the local runtime that were causing the app to crash on startup.
The
libtmuxlibrary updated their API and removed some old methods. This PR updates those method calls to use the new ones:session.attached_pane→session.active_panesession.kill_session()→session.kill()Without this fix, running
make runwithRUNTIME=localthrows an error and the app won't start.Demo Screenshots/Videos
N/A - This is a small code fix. The proof is that the app now starts without crashing.
Change Type
Checklist
Fixes
Resolves startup crash when using local runtime with newer versions of libtmux.
Release Notes
Fixed local runtime startup failure caused by deprecated libtmux API methods.