Skip to content

Conversation

@justincasher
Copy link
Owner

Summary

  • Updates config to automatically find the most recent timestamped extraction directory (YYYYMMDD_HHMMSS format) when resolving ACTIVE_DATA_PATH
  • Eliminates the need for hardcoded version paths like v4.24.0

Resolution Priority

  1. DATA_DIRECTORY if it contains lean_explore.db directly
  2. Most recent timestamped extraction directory
  3. DATA_DIRECTORY / ACTIVE_VERSION as fallback

Test plan

  • Verify Config.ACTIVE_DATA_PATH resolves to latest timestamped directory

Updates config to automatically find the most recent timestamped
extraction directory (YYYYMMDD_HHMMSS format) when resolving
ACTIVE_DATA_PATH, eliminating the need for hardcoded version paths.

Priority order:
1. DATA_DIRECTORY if it contains lean_explore.db directly
2. Most recent timestamped extraction directory
3. DATA_DIRECTORY / ACTIVE_VERSION as fallback
@justincasher justincasher merged commit 94544a9 into main Jan 28, 2026
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