FIRST-Tech-Challenge / FIRST-Tech-Challenge/scorekeeper

Edge case: Replaying a committed elims match does not reset the bracket display

Open
#780 1 comment 0 reactions 0 assignees View on GitHub
bug Local
Dominant language
No language data
Stars
110
Forks
26
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After committing an elims match, the bracket display is updated to reflect the outcome of the match (e.g. Red wins, Blue advances to lower bracket). If the match is replayed, the bracket retains the previous outcome state.

**To Reproduce**
Steps to reproduce the behavior:
1. Generate an elims schedule. Observe that no match outcomes are recorded on the bracket display.
2. Play and commit Playoff Match 1 such that there is a winner. Wait ~30s. Observe on the bracket that the match outcome is displayed.
3. Click "Replay" on Playoff Match 1. Observe that the match is reset and prepared for replay (state = UNPLAYED, score reset to 0).
4. Observe that the bracket never returns to the unplayed state, the winner/lower bracket icons remain.

**Expected behavior**
The bracket should update to show that the outcome of the match is still pending.

**Device (please complete the following information):**
- OS: macOS 15.1 (24B83)
- Browser: Firefox 131.0.3 (aarch64)
- FTCLive v6.2.1

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the replay flow described in the issue: generate an elims schedule, commit Playoff Match 1, then click Replay and observe the bracket display. Trace the bracket outcome update and replay reset paths; done means the bracket returns to its unplayed, pending state with no winner or lower-bracket icons after replay.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.