You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: fix coverage and stale state in player_live/show
- Collapse nested with in handle_params to single chain with correct
{:noreply, redirect} return type (removes 2 dead error branches)
- Replace with/else in handle_info(game:updated) with case; add
coveralls-ignore on unreachable {:error} arm
- In handle_event(next_round) can_continue? branch: reload game from DB
before returning so LiveView state reflects round_open: false
(addresses Copilot stale-state review comment)
- Simplify {:error, changeset} arms in toggle_continue_vote and
toggle_vote to {:error, _} + Logger.debug; add coveralls-ignore
0 commit comments