Skip to content

feat: add distributed counting semaphore with multi-provider support

a1769a3
Select commit
Loading
Failed to load commit list.
Open

feat: add distributed counting semaphore with multi-provider support #117

feat: add distributed counting semaphore with multi-provider support
a1769a3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 22, 2026 in 0s

70.34% (-4.45%) compared to 9e5bcf6

View this Pull Request on Codecov

70.34% (-4.45%) compared to 9e5bcf6

Details

Codecov Report

❌ Patch coverage is 65.97622% with 887 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.34%. Comparing base (9e5bcf6) to head (a1769a3).

Files with missing lines Patch % Lines
.../MultiLock.ZooKeeper/ZooKeeperSemaphoreProvider.cs 45.98% 158 Missing and 17 partials ⚠️
src/MultiLock/SemaphoreService.cs 62.50% 124 Missing and 14 partials ⚠️
...viders/MultiLock.Consul/ConsulSemaphoreProvider.cs 58.66% 88 Missing and 17 partials ⚠️
...reBlobStorage/AzureBlobStorageSemaphoreProvider.cs 54.92% 85 Missing and 11 partials ⚠️
...ultiLock.FileSystem/FileSystemSemaphoreProvider.cs 67.94% 61 Missing and 14 partials ⚠️
...ultiLock.PostgreSQL/PostgreSqlSemaphoreProvider.cs 76.89% 60 Missing and 7 partials ⚠️
.../MultiLock.SqlServer/SqlServerSemaphoreProvider.cs 82.68% 42 Missing and 7 partials ⚠️
...roviders/MultiLock.Redis/RedisSemaphoreProvider.cs 79.08% 28 Missing and 4 partials ⚠️
....ZooKeeper/ZooKeeperServiceCollectionExtensions.cs 0.00% 22 Missing ⚠️
...ostgreSQL/PostgreSQLServiceCollectionExtensions.cs 0.00% 15 Missing ⚠️
... and 16 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
- Coverage   74.78%   70.34%   -4.45%     
==========================================
  Files          36       65      +29     
  Lines        2237     4839    +2602     
  Branches      293      597     +304     
==========================================
+ Hits         1673     3404    +1731     
- Misses        452     1209     +757     
- Partials      112      226     +114     
Files with missing lines Coverage Δ
src/MultiLock/Exceptions/SemaphoreException.cs 100.00% <100.00%> (ø)
src/MultiLock/Exceptions/SemaphoreFullException.cs 100.00% <100.00%> (ø)
...MultiLock/Exceptions/SemaphoreProviderException.cs 100.00% <100.00%> (ø)
.../MultiLock/Exceptions/SemaphoreTimeoutException.cs 100.00% <100.00%> (ø)
src/MultiLock/SemaphoreChangedEventArgs.cs 100.00% <100.00%> (ø)
src/MultiLock/SemaphoreInfo.cs 100.00% <100.00%> (ø)
src/MultiLock/SemaphoreServiceExtensions.cs 100.00% <100.00%> (ø)
src/MultiLock/SemaphoreStatus.cs 100.00% <100.00%> (ø)
...rs/MultiLock.Consul/ConsulLeaderElectionOptions.cs 100.00% <100.00%> (ø)
...ileSystem/FileSystemServiceCollectionExtensions.cs 100.00% <100.00%> (ø)
... and 31 more

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e5bcf6...a1769a3. Read the comment docs.

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