openhands 2bbb780001 test(enterprise): Add comprehensive test coverage for telemetry service
- Add tests for _collect_metrics method covering success, collector failures, and skip logic
- Add tests for _initial_collection_check for different database states
- Add tests for _upload_pending_metrics covering all edge cases:
  * No Replicated SDK available
  * Missing publishable key
  * No pending metrics
  * No admin email
  * Successful uploads
  * Partial upload failures
- Add tests for _get_or_create_identity edge cases:
  * Replicated SDK failure with UUID fallback
  * No Replicated SDK with UUID generation
- Add comprehensive error handling tests for:
  * _should_collect database errors
  * _should_upload database errors
  * License warning status errors
  * Admin email query errors

These tests exercise critical code paths that weren't previously covered,
including error handling, fallback logic, and edge cases in the two-phase
telemetry service implementation.

Co-authored-by: openhands <openhands@all-hands.dev>
2025-12-19 16:59:38 +00:00
2025-10-14 02:16:44 +00:00
2025-10-29 16:17:46 -04:00
2025-05-26 21:35:27 -04:00
2025-05-26 21:35:27 -04:00
2025-03-01 13:21:31 +00:00
2025-05-12 15:41:14 -04:00
2025-12-16 21:53:15 +00:00
2025-12-16 21:53:15 +00:00

Logo

OpenHands: AI-Driven Development


🙌 Welcome to OpenHands, a community focused on AI-driven development. Wed love for you to join us on Slack.

There are a few ways to work with OpenHands:

OpenHands Software Agent SDK

The SDK is a composable Python library that contains all of our agentic tech. It's the engine that powers everything else below.

Define agents in code, then run them locally, or scale to 1000s of agents in the cloud.

Check out the docs or view the source

OpenHands CLI

The CLI is the easiest way to start using OpenHands. The experience will be familiar to anyone who has worked with e.g. Claude Code or Codex. You can power it with Claude, GPT, or any other LLM.

Check out the docs or view the source

OpenHands Local GUI

Use the Local GUI for running agents on your laptop. It comes with a REST API and a single-page React application. The experience will be familiar to anyone who has used Devin or Jules.

Check out the docs or view the source in this repo.

OpenHands Cloud

This is a deployment of OpenHands GUI, running on hosted infrastructure.

You can try it with a free $10 credit by signing in with your GitHub account.

OpenHands Cloud comes with source-available features and integrations:

  • Integrations with Slack, Jira, and Linear
  • Multi-user support
  • RBAC and permissions
  • Collaboration features (e.g., conversation sharing)

OpenHands Enterprise

Large enterprises can work with us to self-host OpenHands Cloud in their own VPC, via Kubernetes. OpenHands Enterprise can also work with the CLI and SDK above.

OpenHands Enterprise is source-available--you can see all the source code here in the enterprise/ directory, but you'll need to purchase a license if you want to run it for more than one month.

Enterprise contracts also come with extended support and access to our research team.

Learn more at openhands.dev/enterprise

Everything Else

Check out our Product Roadmap, and feel free to open up an issue if there's something you'd like to see!

You might also be interested in our evaluation infrastructure, our chrome extension, or our Theory-of-Mind module.

All our work is available under the MIT license, except for the enterprise/ directory in this repository (see the enterprise license for details). The core openhands and agent-server Docker images are fully MIT-licensed as well.

If you need help with anything, or just want to chat, come find us on Slack.

Description
🙌 OpenHands: Code Less, Make More
Readme MIT Cite this repository 668 MiB
Languages
Python 77.3%
TypeScript 19.9%
Shell 1.3%
Jinja 0.8%
JavaScript 0.3%
Other 0.3%