mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #226] Fix/fastf1 telemetry guards #233
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#233
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/226
Author: @PabbisettySivaKumar
Created: 2/13/2026
Status: 🔄 Open
Base:
main← Head:fix/fastf1-telemetry-guards📝 Commits (2)
ddf2b1bHandled unsuppoeted FastF1 telemetry and add defensive telemetry guards for unsupported/partial history58ec9c4Remove local editor config files from PR📊 Changes
2 files changed (+142 additions, -55 deletions)
View changed files
📝
src/f1_data.py(+125 -46)📝
src/gui/race_selection.py(+17 -9)📄 Description
Summary
src/f1_data.pyto prevent multiprocessing crashes on partially supported FastF1 sessions.DataNotLoadedError,KeyError, and empty-sequenceValueError) so problematic laps are skipped safely.src/gui/race_selection.pywith PySide6-compatible enum usage and small type-safety fixes for cleaner static analysis and safer UI handling.Why
Some race sessions (especially older or partially supported seasons) caused replay generation to fail due to unhandled telemetry edge cases in worker processes.
This change makes replay loading resilient and improves failure behavior for unsupported data scenarios.
Test plan
python main.pywith a modern session (e.g. 2024/2025) and verify telemetry extraction completes normally.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.