Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: correct EventBus capacity accounting - #29

#29
Draft
MagMueller wants to merge 1 commit into
mainbrowser-use/bubus:mainfrom
fix/eventbus-capacity-accountingbrowser-use/bubus:fix/eventbus-capacity-accountingCopy head branch name to clipboard
Draft

fix: correct EventBus capacity accounting#29
MagMueller wants to merge 1 commit into
mainbrowser-use/bubus:mainfrom
fix/eventbus-capacity-accountingbrowser-use/bubus:fix/eventbus-capacity-accountingCopy head branch name to clipboard

Conversation

@MagMueller

@MagMueller MagMueller commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • count queued and processing events as non-overlapping capacity inputs
  • report queue saturation with accurate queue and processing counts
  • replace the misleading capacity regression with a focused 50-event queue test

Tests

  • uv run pytest -q tests/
  • uv run ruff check .
  • uv run ruff format --check .
  • uv run pyright

Summary by cubic

Fixes EventBus capacity checks by separating queued from processing events and enforcing a queue‑full condition to prevent premature capacity errors.

  • Bug Fixes
    • Compute pending as queue size + started events only; stop double counting queued items in history.
    • Raise capacity errors with a clear reason ('100 max' or 'queue full') and report separate Queue and Processing counts.
    • Replace the 100-limit stress test with a focused 50-event queue saturation test that validates accurate counts and messaging.

Written for commit 3ab4c41. Summary will update on new commits.

Review in cubic

@claude

claude Bot commented Jul 23, 2026

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.