Skip to content

Containerize Uuid optional dependencies for testability#1659

Merged
alganet merged 1 commit into
Respect:mainfrom
alganet:container-uuid
Jan 31, 2026
Merged

Containerize Uuid optional dependencies for testability#1659
alganet merged 1 commit into
Respect:mainfrom
alganet:container-uuid

Conversation

@alganet

@alganet alganet commented Jan 31, 2026

Copy link
Copy Markdown
Member

This change makes the ramsey/uuid optional dependency testable by using the ContainerRegistry to acquire an instance to its factory instead of relying on class_exists directly.

@codecov

codecov Bot commented Jan 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.34%. Comparing base (b352f17) to head (b346ff1).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1659      +/-   ##
============================================
+ Coverage     99.29%   99.34%   +0.04%     
  Complexity      920      920              
============================================
  Files           190      190              
  Lines          2141     2145       +4     
============================================
+ Hits           2126     2131       +5     
+ Misses           15       14       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This change makes the ramsey/uuid optional dependency testable
by using the ContainerRegistry to acquire an instance to its factory
instead of relying on `class_exists` directly.
@alganet alganet marked this pull request as ready for review January 31, 2026 13:22
@alganet alganet merged commit 9def16a into Respect:main Jan 31, 2026
7 checks passed
@alganet alganet deleted the container-uuid branch January 31, 2026 17:18
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.

2 participants