Skip to content

Upgrade to 0.43.0#3

Open
shabbir-shakudo wants to merge 1259 commits intomainfrom
upgrade-to-0.42.0
Open

Upgrade to 0.43.0#3
shabbir-shakudo wants to merge 1259 commits intomainfrom
upgrade-to-0.42.0

Conversation

@shabbir-shakudo
Copy link
Copy Markdown

@shabbir-shakudo shabbir-shakudo commented Jun 25, 2025

✍️ Custom Changes in Fork

All recent customizations are tracked in the upgrade-to-0.42.0 branch of the DevSentient OpenHands fork.

Key Modifications

  1. Frontend UI Behavior

    • File: frontend/src/hooks/query/use-settings.ts
    • Change: Disabled a popup that was shown by default.
  2. Agent Startup Timeout

    • File: openhands/runtime/impl/action_execution/action_execution_client.py
    • Change: Increased the wait time for agent startup to improve reliability.
  3. Custom Docker Runtime Enhancements

    • File: openhands/runtime/impl/docker/docker_runtime.py
    • Custom functions and variables are prefixed with shak_
    • Changes to OpenHands functions:
      • init_container: Custom initialization logic and dynamic workspace path.
      • vscode_url: Constructs VS Code exposure URL
      • web_hosts: Manages multi-host application exposure
      • _attach_to_container: Custom logic for container attachment
      • close: to cleanup the workspace on container

These changes support enhanced startup control, URL generation for multi-host apps, and better lifecycle management of containers.


Give a summary of what the PR does, explaining any non-trivial design decisions

  • DockerRuntime Enhancements:

    • Added dynamic port assignment support for the application.
    • Improved the handling and backup of app port configuration, including resetting logic and validation.
    • Introduced a port conversion utility to better support VSCode URL construction.
    • Updated the host URL format for app secrets and enhanced secret generation methods.
    • Dynamic host mount workspace paths
    • Clearing the workspace when containers are destroyed
  • Configuration Adjustments:

    • Revised default values in configuration (e.g., changed default debug settings and the use_host_network flag in SandboxConfig).
    • Updated the VSCODE_PORT_RANGE to correct its upper limit.
    • Made refinements to dynamic workspace path construction and other runtime settings for better consistency.
  • Additional Fixes and Refactoring:

    • Removed unused code segments – for example, unused backup references for app ports.
    • Merged some upstream changes (from upgrade-to-0.41.0), ensuring consistency with the latest remote updates.
    • Introduced improvements to error handling, especially around runtime connection and dependency checks.
    • Carried out minor performance optimizations and refactorings to simplify the code.

Link of any specific issues this addresses

malhotra5 and others added 30 commits May 21, 2025 19:17
…ates (OpenHands#8617)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: amanape <83104063+amanape@users.noreply.github.com>
Co-authored-by: openhands <openhands@all-hands.dev>
…config (OpenHands#8620)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Robert Brennan <contact@rbren.io>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
…in the version-all group (OpenHands#8611)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: openhands <openhands@all-hands.dev>
…rmation (OpenHands#8558)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: mamoodi <mamoodiha@gmail.com>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: tofarr <tofarr@gmail.com>
Co-authored-by: Rohit Malhotra <rohitvinodmalhotra@gmail.com>
…8264)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Engel Nyst <engel.nyst@gmail.com>
Co-authored-by: openhands <openhands@all-hands.dev>
…penHands#8635)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: amanape <83104063+amanape@users.noreply.github.com>
Co-authored-by: czlll <gangda@huaihe.usc.edu>
Co-authored-by: Hoang Tran <descience.thh10@gmail.com>
…xt dependency (OpenHands#8659)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
…ervation when visualized in frontend (OpenHands#8644)

Co-authored-by: openhands <openhands@all-hands.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.