Skip to content

queue-prefork 1.1.2

Choose a tag to compare

@tevkert tevkert released this 19 Nov 22:00
· 9 commits to main since this release

Error trackers get the whole stack trace of a failed job again.

  • Stack traces in Flare, Sentry and Nightwatch: a forked worker's stack trace ends in the launcher the template was started from, not in artisan. The launcher was a copy outside vendor/, so error trackers counted it as the app's own code. Flare drops every frame above the first frame of the app's code, so for a job failing in vendor code (a package's job, for example) only the launcher was left. Sentry marked it as the app's code, and Nightwatch placed such exceptions there. Templates now start through a link to the package's own bin/template.php, so traces name it in vendor/, and error trackers see the trace as in stock. Reported by Funsho Arashi (#5).

Upgrade: composer update tevkert/queue-prefork, then php artisan horizon:terminate (and queue:restart for plain workers) as after any deploy.

Full changelog: v1.1.1...v1.1.2