Skip to content

Refresh materialized view task not running #381

@MoralCode

Description

@MoralCode

while testing #292, i hacked in the ability to include fractional numbers of days for the refresh interval

despite observing the logs when the task was scheduled and at least two iterations of

[core] | [2026-06-10 22:38:33,607: INFO/MainProcess] Scheduler: Sending due task collectoss.tasks.db.refresh_materialized_views.refresh_materialized_views() (collectoss.tasks.db.refresh_materialized_views.refresh_materialized_views)

I dont think the views actually got refreshed. When i checked after these iterations, the explorer_contributor_actions view has about 300k records. manually refreshing it took about 7 seconds and made the total go to ~500k records. this is at 18:44 EDT (for comparison with the UTC timestamp above

im also not seeing logs from this task (maybe there arent many, but it would be nice to know when each view gets refreshed)

Something is not working right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions