Skip to content

feat: latest session falls back to the last complete session during OpenF1 lockout - #49

Merged
JustMaris merged 1 commit into
masterfrom
feat/latest-complete-session
Sep 25, 2026
Merged

JustMaris merged 1 commit into
masterfrom
feat/latest-complete-session

Conversation

@JustMaris

Copy link
Copy Markdown
Member

When the newest finished session has no results yet (OpenF1 lockout right after it ends), /f1/latest_session/ now returns the newest earlier session held in the durable cache, with a pending field naming the session still waiting. The widget shows a note. Without a cached earlier session, behaviour is unchanged. Adds a test.

@JustMaris
JustMaris merged commit ce892d7 into master Sep 25, 2026
7 checks passed
@JustMaris
JustMaris deleted the feat/latest-complete-session branch September 25, 2026 10:00
@dnb-robot dnb-robot Bot mentioned this pull request Sep 25, 2026
JustMaris added a commit that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant