Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #871 +/- ##
===========================================
- Coverage 97.01% 97.00% -0.02%
===========================================
Files 388 388
Lines 6137 6139 +2
Branches 785 785
===========================================
+ Hits 5954 5955 +1
Misses 95 95
- Partials 88 89 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This PR is well-structured and the fixes are correct. No critical or major issues found. Code QualityThe refactoring of Potential Bugs🔵 The presenceMap is built with const presenceMap = await em.repo(PlayerPresence).find(
{ player: { id: { $in: playerIds } } },
{ populate: ['player'] }, // playerAlias not populated
)
// ...
if (presence && activePlayerAliasIds.has(presence.playerAlias.id)) { // relies on lazy FKThis works because MikroORM exposes the primary key of unloaded Security / Performance / Test CoverageNo issues found. The test correctly targets the documented race condition (presence forced offline while socket is still alive), and all CI shards pass. |
No description provided.