Skip to content

Remove Roster object caching to fix Laravel 13 serialization issue#692

Merged
pushpak1300 merged 1 commit intomainfrom
fix/remove-roster-object-caching
Mar 17, 2026
Merged

Remove Roster object caching to fix Laravel 13 serialization issue#692
pushpak1300 merged 1 commit intomainfrom
fix/remove-roster-object-caching

Conversation

@pushpak1300
Copy link
Copy Markdown
Member

Laravel 13 adds serializable_classes => false in config/cache.php, which prevents PHP from unserializing arbitrary objects from the cache. This causes the cached Roster object to come back as __PHP_Incomplete_Class, breaking Boost.

Approach

  • Remove the cache layer entirely — the Roster singleton already ensures scanning only happens once per request, and the cost of re-parsing lock files is already very minimal

@pushpak1300 pushpak1300 marked this pull request as ready for review March 17, 2026 16:35
@pushpak1300 pushpak1300 merged commit 9e3dd5f into main Mar 17, 2026
24 checks passed
@pushpak1300 pushpak1300 deleted the fix/remove-roster-object-caching branch March 17, 2026 16:42
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