RepoJournal
Laravel

@laravel

PHP's most popular framework - Forge, Vapor, and a massive paying audience

Keep up with Laravel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: PHP Full archive →

The Wire · Showcase

LARAVEL AI FIXES QUEUE WORKER DRIVER EXTENSIONS

By RepoJournal · Filed · About Laravel

Long-running queue workers just lost custom AI drivers between jobs—a fix landed overnight.

AiManager was bound as scoped, which meant every time Horizon or queue:work processed a new job, Laravel would discard the manager instance and lose any driver extensions that packages registered at boot [1]. This created a cascade failure: the next job would resolve a fresh AiManager with an empty customCreators registry, then immediately throw "Instance driver not supported" when trying to load an extended driver [2]. The fix rebinds AiManager as a singleton, preserving custom driver registrations across the entire queue worker lifecycle. If you're running third-party AI drivers (like Anthropic, OpenAI packages) with long-running workers, this was breaking your queue jobs silently until you hit that specific driver call.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Bind AiManager as singleton to preserve driver extensions across jobs (#411) laravel/ai
  2. [2] Bind AiManager as singleton to preserve driver extensions across jobs ↗ laravel/ai

Quick answers

What shipped in Laravel on May 4, 2026?
Long-running queue workers just lost custom AI drivers between jobs—a fix landed overnight. In total, 1 commits and 1 pull requests landed.
Who contributed to Laravel on May 4, 2026?
1 developer shipped this update, including ejtmicroventures.
What were the notable Laravel updates?
Bind AiManager as singleton to preserve driver extensions across jobs (#411) and Bind AiManager as singleton to preserve driver extensions across jobs.

More from @laravel

Daily updates, in your inbox

Follow Laravel

Keep up with Laravel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?