Skip to content

Fix tile cache stale revalidation#318

Merged
stef-k merged 10 commits into
mainfrom
fix/tile-cache-stale-revalidate-316
May 20, 2026
Merged

Fix tile cache stale revalidation#318
stef-k merged 10 commits into
mainfrom
fix/tile-cache-stale-revalidate-316

Conversation

@stef-k
Copy link
Copy Markdown
Owner

@stef-k stef-k commented May 20, 2026

Summary

  • Adds stale-while-revalidate tile cache behavior so stale cached tiles can be served immediately while refresh work runs in the background.
  • Aligns Trip Editor tile retry/concurrency slot accounting so retries release and reacquire capacity consistently with the stale-refresh path.

Closes #316.

Validation

  • npm run build passed, existing Vite chunk-size warning.
  • focused tile tests passed, 65/65.
  • dotnet test passed, 1557/1557.
  • LOC check passed with warnings only, no hard failures.

Manual validation gap

  • No browser/manual repeated-map-visit check was run.
  • Frontend slot-accounting path was validated by inspection and build, not direct client test, because no suitable frontend unit harness exists.

@stef-k stef-k merged commit 4b7167d into main May 20, 2026
1 check passed
@stef-k stef-k deleted the fix/tile-cache-stale-revalidate-316 branch May 20, 2026 17:25
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.

Improve tile cache coordination with stale-while-revalidate behavior

1 participant