Skip to content

Scalibility improvementsd#46

Merged
iazaran merged 4 commits into
mainfrom
Scalibility-improvementsd
Jun 16, 2026
Merged

Scalibility improvementsd#46
iazaran merged 4 commits into
mainfrom
Scalibility-improvementsd

Conversation

@iazaran

@iazaran iazaran commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Pull Request

Description

After-commit deferral — model cache flushes now wait for DB commit, preventing stale re-caching mid-transaction.
Tag metadata hardening — locked read-modify-write for tag indexes and dependencies (fixing lost updates), namespace-aware tag flushing, and dead-reference pruning.
Dedup fix — identical re-writes no longer skip when the value was evicted but its hash survived.
Observability — new TagFlushed event exposing the flush source (manual/model/model_helper).
Backward compatibility — interface signature kept unchanged (optional $source only on the concrete class), and the declarative cacheInvalidation() method is guarded against signature collisions.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

  • Test Locally

Test Configuration:

  • PHP version: 8.5
  • Laravel version: 13

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@iazaran iazaran force-pushed the Scalibility-improvementsd branch from 0b8b7f6 to c6e2b0f Compare June 16, 2026 15:14
@iazaran iazaran merged commit b31a40a into main Jun 16, 2026
22 checks passed
@iazaran iazaran deleted the Scalibility-improvementsd branch June 16, 2026 15:16
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.

1 participant