fix stale vote submission error after reset - #38
Conversation
laceyp99
left a comment
There was a problem hiding this comment.
Good simple fix. Just cleaning it up properly and a regression test. Love it!
Agent PR reviewValidationValidation passed: SummaryPR #38 clears stale vote submission state during Issues and risksNo blocking issues found. The change in arena/state/voting.py matches the stated intent and preserves the existing guards for missing, submitted, or not-ready rounds. Test coverageThe new unit test covers the failed-submission reset path and asserts both state clearing and hidden status UI. Existing integration tests already cover failed vote submission and retry behavior. Local scoped checks passed:
I could not run local pytest fully in this sandbox because there is no writable temp directory. The provided review context reports the full project validation passed: RecommendationLooks safe to continue review. This is an automated review. Please treat it as advisory; human review is still required. |
Summary
Testing
py -3.13 -m ruff format --check .- passedpy -3.13 -m ruff check .- passedpy -3.13 -m pytest- passed (112 tests)