Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[12.x] Consider after_commit config in SyncQueue #51035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

hansnn
Copy link
Contributor

@hansnn hansnn commented Apr 12, 2024

AfterCommit support was added to the SyncQueue in #48860. However, it only works if the job in question implements the ShouldQueueAfterCommit interface or sets the afterCommit property - it does not work if after_commit is set to true in the sync driver's configuration. This makes the behavior inconsistent, which is what this PR intends to solve.

I am adding it to the master branch as I consider it a breaking change.

I spent some time unsuccessfully trying to figure out how to write a test for this. If anyone has an idea, please let me know and I'll add a test.

@taylorotwell taylorotwell changed the base branch from master to 11.x April 15, 2024 18:05
@taylorotwell taylorotwell changed the base branch from 11.x to master April 15, 2024 18:06
@taylorotwell
Copy link
Member

It's fine to send this to 11.x branch please. Thanks.

@hansnn hansnn deleted the add-after_commit-config-to-sync-queue branch April 15, 2024 18:35
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.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.