Skip to content

Conversation

@AAraKKe
Copy link
Contributor

@AAraKKe AAraKKe commented Jan 21, 2026

What does this PR do?

This PR introduces a new, abstract Event Bus implementation designed to serve as the foundation for the future TestDispatcher. It provides a flexible framework for decoupled task execution and message processing.

The core components are:

  • EventBusOrchestrator: Manages the lifecycle of the event loop, handles message routing, and ensures tasks are executed within defined timeout constraints.
  • BaseTask: An abstract base class for defining units of work. Tasks subscribe to specific message types and can define custom success and error handling logic.
  • BaseMessage: A dataclass-based structure for defining the data payload passed between tasks.

Motivation

This is the foundation of the TestDispatcher that we will be developed to orchestrate unit tests through GitHub actions.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@AAraKKe AAraKKe added the qa/skip-qa Automatically skip this PR for the next QA label Jan 21, 2026
@AAraKKe AAraKKe changed the title Add EventBusOrchestrator to ddev [AI-6470] Add EventBusOrchestrator to ddev Jan 21, 2026
@AAraKKe AAraKKe marked this pull request as ready for review January 21, 2026 18:25
@AAraKKe AAraKKe requested a review from a team as a code owner January 21, 2026 18:25
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 05331dd42a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

❌ Patch coverage is 97.17949% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.77%. Comparing base (695ff3e) to head (97fb754).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ddev qa/skip-qa Automatically skip this PR for the next QA team/agent-integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants