Skip to content

fix(trakt): add single-flight guard to refreshAfterAuthFailure() (B4)#334

Merged
detain merged 2 commits into
masterfrom
fix/server-trakt-refresh
Jun 29, 2026
Merged

fix(trakt): add single-flight guard to refreshAfterAuthFailure() (B4)#334
detain merged 2 commits into
masterfrom
fix/server-trakt-refresh

Fix trakt refresh: replace usleep spin-wait with Co\sleep and use sys…

fc854af
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 29, 2026 in 1s

59.93% (+0.00%) compared to b859ca0

View this Pull Request on Codecov

59.93% (+0.00%) compared to b859ca0

Details

Codecov Report

❌ Patch coverage is 23.52941% with 78 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.93%. Comparing base (b859ca0) to head (fc854af).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/Plugins/Scrobbler/Trakt/TraktPlugin.php 0.00% 70 Missing ⚠️
src/Plugins/Scrobbler/Trakt/TraktApi.php 75.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             master     #334    +/-   ##
==========================================
  Coverage     59.93%   59.93%            
- Complexity    12927    12961    +34     
==========================================
  Files           480      480            
  Lines         42190    42297   +107     
==========================================
+ Hits          25286    25352    +66     
- Misses        16904    16945    +41     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.