Add DelegateServiceStatusTrackingMixin, allowing status tracking to be delegated to an inner service#112
Merged
Merged
Conversation
There was a problem hiding this comment.
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
DeferServiceStatusTrackingMixinthat forwardsstatusto an abstract innerHasProcessStatusservice. - Exported the mixin from
processing.servicesand top-levelprocessingpackages. - 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. |
bff0744 to
b007ea4
Compare
DeferServiceStatusTrackingMixin, allowing status tracking to be deferred to an inner serviceDelegateServiceStatusTrackingMixin, allowing status tracking to be deferred to an inner service
DelegateServiceStatusTrackingMixin, allowing status tracking to be deferred to an inner serviceDelegateServiceStatusTrackingMixin, allowing status tracking to be delegated to an inner service
b007ea4 to
b0cc9b0
Compare
… be deferred to an inner service
b0cc9b0 to
2424452
Compare
tobyclemson
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.