Skip to content

Background refresh errors still log successful completion #110

Description

@n30nex

ViewRefreshTask logs a materialized-view refresh error but always returns nil. The scheduler also prints complete after a task returns an error. This makes a failed refresh look completed successfully in the task log.

I would like to make a small stability fix: preserve the errors (including which view failed), still attempt the remaining views, and only log successful completion when the task succeeds. Regression tests should cover partial failure, all-success and cancellation. Per-view freshness metadata or new endpoints can follow separately.

This is an AI-assisted investigation; code will be reviewed before a contribution is submitted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions