Skip to content

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Jan 21, 2026

Description

This PR fixes a bug where invalid 'indexed_at' timestamps in the database were silently defaulting to Unix Epoch (1970-01-01) instead of reporting an error.

Changes

  • Modified 'get_file_by_path' and 'get_all_files' in 'src/core/db.rs' to propagate parsing errors.
  • Added a regression test 'test_invalid_date_parsing_returns_error' to ensure invalid dates return a proper error.

Related Issue

Fixes issue #203 reported in the bounty challenge.

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.

2 participants