chore(predict): enable world cup games for live sports#29740
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These changes are low-risk, purely additive, and don't touch any shared infrastructure (Engine, controllers, navigation, modals, or other feature areas). Tags selected:
No other tags are warranted as the changes are isolated to the Predict feature's data layer. Performance Test Selection: |
|



Description
Adds FIFA World Cup (
fifwc) as a supported sports league in the Predict feature, enabling users to browse and bet on World Cup match markets with live game data.Changes:
fifwcto thePredictSportsLeagueunion typefifwcinSUPPORTED_SPORTS_LEAGUESso World Cup markets appear in the sports feedfifwctoDRAW_CAPABLE_LEAGUESsince soccer matches can end in drawsgameParser.tswith:fifwc-{team1}-{team2}-{date}home-awayfifa-world-cupThis follows the existing pattern for adding new leagues as documented in
sports.ts.Changelog
CHANGELOG entry: Added FIFA World Cup support to live sports predictions
Related issues
Fixes: N/A — feature enablement for FIFA World Cup 2026
Manual testing steps
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Low risk: this only extends existing league allowlists and slug parsing to recognize a new
fifwcleague, with minimal impact on existing leagues unless upstream data unexpectedly matches the new pattern/tag.Overview
Enables FIFA World Cup games in the Predict live sports flow by adding the
fifwcleague across the sports league type, the supported/draw-capable league allowlists, and the game slug parsing configuration.This allows events tagged as
fifa-world-cupwith slugs matchingfifwc-{team1}-{team2}-{date}to be recognized and parsed like other soccer leagues.Reviewed by Cursor Bugbot for commit 4db00e5. Bugbot is set up for automated code reviews on this repo. Configure here.