RepoJournal
Laravel

@laravel

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

Pick a date

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.

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

FAQ

What changed in Laravel on May 4, 2026?
Long-running queue workers just lost custom AI drivers between jobs—a fix landed overnight.
What should Laravel teams do about it?
Update laravel/ai and verify custom drivers work in queue:work daemon • Check Horizon logs for 'not supported' driver errors if you're already on latest
Which Laravel repositories shipped on May 4, 2026?
laravel/ai

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.