Skip to content

feat: schedule ingestion — real data 24/7#5

Merged
Kwickos merged 1 commit into
developfrom
feat/schedule-ingestion
Jun 10, 2026
Merged

feat: schedule ingestion — real data 24/7#5
Kwickos merged 1 commit into
developfrom
feat/schedule-ingestion

Conversation

@Kwickos

@Kwickos Kwickos commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Fills the API with real data even when no game is live.

Added

  • ScheduledMatch domain type + LolFeedAdapter.fetch_schedule() (getSchedule endpoint).
  • Repository.upsert_schedule(): idempotent upsert of leagues + matches (status refresh on re-poll).
  • SchedulePoller (default every 5 min) run alongside LiveGameTracker in the worker and in RUN_WORKER_IN_API mode.
  • Tests: insert + idempotent status update.

Verified

  • ruff clean · pytest 14/14 · real run: 80 matches / 8 leagues (EMEA Masters, LCK, LCS, LJL, LPL, LRN, LRS, VCS) ingested from the live schedule into SQLite.

@Kwickos Kwickos merged commit 8c9a05d into develop Jun 10, 2026
2 checks passed
@Kwickos Kwickos deleted the feat/schedule-ingestion branch June 10, 2026 14:20
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