• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bolshakov / stoplight / 14374828186
100%

Build:
DEFAULT BRANCH: master
Ran 10 Apr 2025 07:32AM UTC
Jobs 3
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Apr 2025 07:31AM UTC coverage: 100.0%. Remained the same
14374828186

push

github

web-flow
Drop Redlock gem in favor of notification deduplication mechanism (#284)

- Renamed `with_notification_lock` to `with_deduplicated_notification` to accurately reflect its purpose
- Implemented a Redis-based notification deduplication system using Lua scripting

The previous approach attempted to use a locking mechanism, but what we actually needed was notification deduplication. This change:
- Eliminates unnecessary complexity and dependencies
- More precisely addresses the actual problem: preventing duplicate notifications
- Provides better performance by using atomic Lua operations

This PR introduces a backward incompatible change to the `Stoplight::DataStore::Base` interface:
`with_notification_lock` was renamed to `with_deduplicated_notification`

- Developers who have created custom data store implementations that inherit from `Stoplight::DataStore::Base`
- Users who directly call the `with_notification_lock` method

Custom data store implementations should rename their method from `with_notification_lock` to `with_deduplicated_notification` and
update implementation to match the new signature.

15 of 15 new or added lines in 4 files covered. (100.0%)

423 of 423 relevant lines covered (100.0%)

250.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ruby-3.1 - 14374828186.1 10 Apr 2025 07:32AM UTC 22
100.0
GitHub Action Run
2 ruby-3.2 - 14374828186.2 10 Apr 2025 07:32AM UTC 22
100.0
GitHub Action Run
3 ruby-3.0 - 14374828186.3 10 Apr 2025 07:32AM UTC 22
100.0
GitHub Action Run
Source Files on build 14374828186
  • Tree
  • List 22
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8bec7365 on github
  • Prev Build on master (#14307978857)
  • Next Build on master (#14376661783)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc