Skip to content

Conversation

@ilicfilip
Copy link
Collaborator

Context

We use data collectors for some time now, they are primarily used in Local Tasks but can also be used by other parts of the codebase. They have their own hooks and data collector manager also takes care that their data is re-cached once a day.

This PR autoloads all data collectors, so we don't need to do it manually.

@aristath , I looked int making an object instance at the data collector class file (and then just required it) but I need the object in order to loop all of them and do daily cache refresh - so I created objects in the data manager class.

@ilicfilip ilicfilip requested a review from aristath April 9, 2025 08:05
@github-actions
Copy link
Contributor

github-actions bot commented Apr 9, 2025

Test on Playground
Test this pull request on the Playground
or download the zip

@github-actions
Copy link
Contributor

✅ Code Coverage Report

Metric Value
Total Coverage 31.50% 📉
Base Coverage 31.49%
Difference 📈 0.01%

⚠️ Coverage below recommended 40% threshold

🎉 Great job maintaining/improving code coverage!

📊 File-level Coverage Changes (1 files)

📉 Coverage Decreased

Class Before After Change
Progress_Planner\Suggested_Tasks\Data_Collector\Data_Collector_Manager 64.29% 63.33% -0.96%
ℹ️ About this report
  • All tests run in a single job with Xdebug coverage
  • Security tests excluded from coverage to prevent output issues
  • Coverage calculated from line coverage percentages

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.

3 participants