Replace daily conversation limit with daily sandbox limit

Open
#806 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@neubig is already working on this.

Since Oct 15, 2026.

Assessment

This issue has not been assessed yet.

Description

Goal

Replace the daily conversation limit with a daily sandbox limit, enforced at sandbox creation — the chokepoint every caller (including automation runs, which never touch the app-conversation start path) passes through.

Linked PRs

  • OpenHands/enterprise#786 — feat(quota): replace daily conversation limit with daily sandbox limit (main implementation; closes this issue)
  • OpenHands/automation#583 — feat: skip runs when the daily sandbox limit is reached (companion: automation runs that hit the quota are SKIPPED, not retried/FAILED) — Part of this issue
  • OpenHands/saas-deploy#1486 — feature-preview deployment of the two PRs above (housekeeping; no separate issue) — Part of this issue

Acceptance criteria

  • Sandbox creation reserves/releases daily quota correctly (429 DAILY_SANDBOX_LIMIT_REACHED), with user → org → env-default resolution and legacy OH_DAILY_CONVERSATION_LIMIT fallback.
  • Automation runs hitting the limit are marked SKIPPED with status_detail.kind = daily_sandbox_limit, without retries.
  • Preview validation (saas-deploy#1486) passes before the enterprise/automation PRs land.

Related (predecessor counting fix, separate issue): OpenHands/enterprise#722 / Linear OHE-3547.

Issue created by an AI agent (OpenHands) on behalf of Graham Neubig, to organize previously unlinked PRs.

Dominant language
Python
Stars
9
Forks
17
Avg merge
1d 7h
Merged PRs (30d)
396

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenHands/enterprise

All issues in OpenHands/enterprise

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.