browser-use/bubus
54.3
Adequate · 9 November 2026
2.9k
lines of production code
Python
primary language
10
measurements over time
What this system is
This system is a Python-based event bus library named 'bubus', designed to manage asynchronous event processing for a browser-use agent. It provides core capabilities for event enqueueing, handler registration, and parent-child event tracking, with built-in support for concurrency control via semaphores and graceful shutdown mechanisms. The implementation relies on Pydantic for data validation and includes comprehensive testing to ensure reliability in handling nested event hierarchies and system overload scenarios.
Features
Initial Cursor IDE configuration for Python development
Added initial configuration files for the Cursor IDE to streamline Python development. The setup includes launch configurations for debugging the current file and running pytest with verbose output, along with settings that enforce strict type checking, enable automatic formatting and import organization on save using Ruff, and disable variable type inlay hints.
.cursor · high confidence
Introduce bubus event bus library for browser-use agent
Adds the bubus package, an event bus implementation for the browser-use agent. This includes the core EventBus service with a custom CleanShutdownQueue to prevent asyncio warnings during shutdown, BaseEvent and EventResult models with support for child event tracking and generic type hints, and helper utilities for logging event trees and managing system overload via semaphores. The library also introduces a retry decorator with multiprocess semaphore support and configurable logging levels.
bubus · high confidence
Test coverage
Added comprehensive test suite for EventBus core features
Added a new test suite covering EventBus initialization, event enqueueing, handler registration, and execution order. Tests verify parent-child event tracking, timeout enforcement with nested event hierarchies, and the event\_bus property access within handlers. The suite also includes tests for automatic event\_result\_type extraction from generic parameters, name conflict resolution with garbage collection, and logging history tree output.
tests · high confidence
Dependencies
Initial release of bubus event bus library
This change introduces the bubus project, an advanced Pydantic-powered event bus with async support, establishing the initial package structure and dependencies. The Python package (pyproject.toml) defines a minimum Python version of 3.11 and includes runtime dependencies such as aiofiles, anyio, portalocker, pydantic, typing-extensions, and uuid7. It also sets up a development environment with tools like ruff, pyright, pytest, and pre-commit. Additionally, a Node.js lock file (package-lock.json) is added, specifying TypeScript 5.8.3 and the uuidv7 library.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 56 → 54 (-1.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 57 → 57 (+0.0)
- Architecture 100 → 95 (-5.1)
- Maturity 45 → 44 (-1.0)
- Readiness 58 → 58 (+0.0)
- Security 76 → 64 (-12.0)
- Performance 100 → 100 (+0.0)
New (1)
- Scattered collaborators
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
browser-use/bubus was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 9 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit de1519b9f09a80546b42f56311e700896d3bb8fa — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.4+preprod-464a0040a931.