Skip to content

Add DelegateServiceStatusTrackingMixin, allowing status tracking to be delegated to an inner service#112

Merged
CorinChappy merged 1 commit into
mainfrom
cc-status-passthrough
May 20, 2026
Merged

Add DelegateServiceStatusTrackingMixin, allowing status tracking to be delegated to an inner service#112
CorinChappy merged 1 commit into
mainfrom
cc-status-passthrough

Conversation

@CorinChappy
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 20, 2026 14:05
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a lightweight mixin to let wrapper/composite services expose ProcessStatus by delegating to an inner status-aware service, improving composition ergonomics in the logicblocks.event.processing.services layer.

Changes:

  • Introduced DeferServiceStatusTrackingMixin that forwards status to an abstract inner HasProcessStatus service.
  • Exported the mixin from processing.services and top-level processing packages.
  • Added unit tests validating status delegation behavior and protocol conformance; added a changelog entry.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/unit/logicblocks/event/processing/services/test_status.py Adds unit tests for the new status-delegating mixin.
src/logicblocks/event/processing/services/status.py Implements DeferServiceStatusTrackingMixin alongside StatusTrackingService.
src/logicblocks/event/processing/services/init.py Re-exports the new mixin from the services package.
src/logicblocks/event/processing/init.py Re-exports the new mixin from the top-level processing package.
changelog.d/20260520_150418_corin_cc_status_passthrough.md Documents the addition in the changelog.

Comment thread src/logicblocks/event/processing/services/status.py Outdated
Comment thread changelog.d/20260520_150418_corin_cc_status_passthrough.md Outdated
Comment thread tests/unit/logicblocks/event/processing/services/test_status.py Outdated
@CorinChappy CorinChappy force-pushed the cc-status-passthrough branch 2 times, most recently from bff0744 to b007ea4 Compare May 20, 2026 15:21
@CorinChappy CorinChappy requested a review from Copilot May 20, 2026 15:21
@tobyclemson tobyclemson changed the title Add DeferServiceStatusTrackingMixin, allowing status tracking to be deferred to an inner service Add DelegateServiceStatusTrackingMixin, allowing status tracking to be deferred to an inner service May 20, 2026
@tobyclemson tobyclemson changed the title Add DelegateServiceStatusTrackingMixin, allowing status tracking to be deferred to an inner service Add DelegateServiceStatusTrackingMixin, allowing status tracking to be delegated to an inner service May 20, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Comment thread src/logicblocks/event/processing/services/status.py
Comment thread tests/unit/logicblocks/event/processing/services/test_status.py Outdated
Comment thread src/logicblocks/event/processing/services/status.py
@CorinChappy CorinChappy force-pushed the cc-status-passthrough branch from b007ea4 to b0cc9b0 Compare May 20, 2026 15:29
@CorinChappy CorinChappy force-pushed the cc-status-passthrough branch from b0cc9b0 to 2424452 Compare May 20, 2026 15:30
@CorinChappy CorinChappy merged commit 131cf31 into main May 20, 2026
3 checks passed
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.

3 participants