Skip to content

Add cached projection reads and API polling diagnostics - #308

Merged
Ninjonik merged 1 commit into
mainfrom
dev
Nov 14, 2026
Merged

Ninjonik merged 1 commit into
mainfrom
dev

Conversation

@Ninjonik

Copy link
Copy Markdown
Owner

Summary

  • Add bounded, process-local caching and request coalescing for supported API projection reads.
  • Preserve live authentication, grants, rate limits, revision checks, and cache invalidation counters.
  • Add X-Logi-Cache reporting and privacy-safe API read diagnostics for polling analysis.
  • Improve projection concurrency and reuse identity lookups within roster and player-stat reads.
  • Restrict scheduled-job completion payloads to the documented result fields.
  • Document caching, polling guidance, diagnostics, and synchronization behavior.

Testing

  • Added coverage for projection cache hits, invalidation, revocation, grants, and dependency versions.
  • Added tests for bounded concurrent player projection reads and roster lookup reuse.
  • Added tests for API read diagnostics and scheduled-batch completion payloads.
  • Not run: full test suite, typecheck, lint, build, and Convex deployment.

- Cache validated API projections with live invalidation checks
- Bound projection fan-out and coalesce concurrent reads
- Add diagnostics for slow and repeated integration reads
@Ninjonik
Ninjonik merged commit c1399a0 into main Nov 14, 2026
2 checks passed
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