Skip to content

should fail silently#159

Merged
dmbf29 merged 1 commit into
mainfrom
bug/refresh_views
Jun 21, 2026
Merged

should fail silently#159
dmbf29 merged 1 commit into
mainfrom
bug/refresh_views

Conversation

@dmbf29

@dmbf29 dmbf29 commented Jun 21, 2026

Copy link
Copy Markdown
Owner

No description provided.

@dmbf29 dmbf29 requested a review from Copilot June 21, 2026 04:13
@dmbf29 dmbf29 self-assigned this Jun 21, 2026
@dmbf29 dmbf29 added the bug Something isn't working label Jun 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the DatabaseViews.deactivate_callback behavior so disabling the after_commit :refresh_materialized_views callback no longer raises if the callback is missing, aligning with the intent implied by the title (“should fail silently”).

Changes:

  • Update DatabaseViews.deactivate_callback to call skip_callback(..., raise: false) so it won’t raise when the callback isn’t present.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dmbf29 dmbf29 merged commit 2035ab6 into main Jun 21, 2026
1 check passed
@dmbf29 dmbf29 deleted the bug/refresh_views branch June 21, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants