Skip to content

Do not force commit on collection delete#3658

Merged
leplatrem merged 2 commits intomainfrom
do-not-force-commit-on-purge-deleted-views
Feb 26, 2026
Merged

Do not force commit on collection delete#3658
leplatrem merged 2 commits intomainfrom
do-not-force-commit-on-purge-deleted-views

Conversation

@leplatrem
Copy link
Contributor

Regression introduced by #3618

purge_deleted() is also used in collection deleted hook and shouldn't force commit.

storage.purge_deleted(resource_name=None, parent_id=parent_id)

This was unveiled in Kinto/kinto-emailer#502 which leverages transactions lifecycles to send emails

@leplatrem leplatrem force-pushed the do-not-force-commit-on-purge-deleted-views branch from 24f978b to 2b84156 Compare February 25, 2026 12:33
@leplatrem leplatrem added the bug label Feb 25, 2026
run: |
pip install tomli coveralls
coveralls --service=github
coveralls --service=github || true
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, I see that coveralls is failing...

@leplatrem leplatrem merged commit 582c86c into main Feb 26, 2026
13 checks passed
@leplatrem leplatrem deleted the do-not-force-commit-on-purge-deleted-views branch February 26, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants