feat(cache): add cache implementation diagnostics and operational support - #60
Merged
Conversation
- Clarify that module-stage logging uses a placeholder logger before the DI container is built - Resolve memory and disk cache services from the completed container during pipeline configuration - Log the concrete implementations actually bound to cache service contracts
- Explain that DI validation may construct the NoOp floor even when a real provider is active - Rename the log message to identify safe-off construction without implying service resolution
- Explain that DI validation may construct the NoOp disk cache floor even when a real provider is active - Rename the log message to identify safe-off construction without implying disk cache resolution
- Inject a logger into the BitFaster cache service - Log configured cache capacity during initialization - Clarify that constructor execution does not prove the provider is the active DI implementation
- Add Microsoft.Extensions.Logging.Abstractions for BitFaster cache diagnostics
- Update the Cache family version to 1.3.4 - Remove the outdated version rationale comment
…feature/cache-diagnostics
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.
This PR adds comprehensive diagnostics for the Cache feature and introduces the Operational package family that provides the supporting contracts and infrastructure for application diagnostics, issue capture, logging, event persistence, and resilience policies.
Cache diagnostics include:
Operational package family includes:
The changes preserve the existing cache abstractions and provider boundaries while making cache behavior and initialization state more observable in production environments.