Skip to content

Bug: Date parsing error in outcome-resolver service #12

@WFord26

Description

@WFord26

Issue Description

Outcome resolver service is throwing \Invalid time value\ errors when processing game results from ESPN API.

Error Details

\
Error checking game result: Invalid time value
\\

Observed In

  • CI/CD test runs
  • Backend test suite: outcome-resolver.service.test.ts
  • Appears to occur during date/time parsing of game data

Impact

  • 2 backend tests failing intermittently
  • May affect bet settlement for completed games
  • Environmental/timing dependent issue

Investigation Needed

  1. Identify which date field is causing the parsing error
  2. Review date/time handling in ESPN API response processing
  3. Add proper date validation and error handling
  4. Ensure timezone handling is correct

Reproduction

Run backend tests and check outcome-resolver service logs for date parsing errors.

Priority

Medium - Environmental issue that doesn't block core functionality but should be investigated for production stability.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions