Skip to content

feat: migrations lock #9660

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

Open
wants to merge 4 commits into
base: 4.7
Choose a base branch
from

Conversation

michalsn
Copy link
Member

@michalsn michalsn commented Aug 4, 2025

Description
This PR introduces a database-agnostic locking system for migrations. It guarantees consistent behavior across all supported databases. Lock cleanup is safe and automatically handled through finally blocks, and there are no modifications to the public API, ensuring full compatibility with existing workflows.

Closes #9646

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn added enhancement PRs that improve existing functionalities 4.7 labels Aug 4, 2025
@paulbalandan
Copy link
Member

This should also need to be added in the upgrading under Config section telling people to add the new property.

@michalsn
Copy link
Member Author

michalsn commented Aug 4, 2025

Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.7 enhancement PRs that improve existing functionalities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants