Skip to content

Bug fix to load_timeline_for_day_and_user #1061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TeachMeTW
Copy link
Contributor

Addresses the issue where data wasn't being processed by the pipeline due to date being set to 1970.

This update tracks most recent location timestamp from background/location. Also tracks latest phone data timestamp from metadata.

Some real examples result in key error in case of things, I added checks for fields to prevent these key errors

After loading the data, we now update the user profile with these timestamps to reflect the newly loaded data. It also initializes the pipeline_range field if doesn't exist.

These fixes should ensure that profiles are properly updated with timestamps so it won't be skipped.

…nd phone data timestamps

- Added functionality to find and store the most recent location and phone data timestamps during the loading process.
- Updated user profile with the latest timestamps after loading entries.
- Initialized pipeline range if not already set to ensure proper processing of data.
@shankari shankari force-pushed the master branch 4 times, most recently from a2a9a44 to e50e9f3 Compare June 4, 2025 15:34
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