wip: article AI polish, category SEO fields, cover generator, membership plan seeder
CI / PHPUnit (PHP 8.3) (push) Failing after 4s
CI / PHPUnit (PHP 8.2) (push) Failing after 1m9s
CI / Deploy (manual gate) (push) Skipped

This commit is contained in:
2026-09-07 18:48:37 +00:00
parent 263b98b218
commit 3cec4c5e18
121 changed files with 4701 additions and 313 deletions
+7 -2
View File
@@ -7,7 +7,10 @@ namespace App\Console\Commands;
use Illuminate\Console\Command;
/**
* Simple alternative to workerman:ai for local/dev: drain AI queues once or loop.
* Dev-friendly alternative to `workerman:ai`.
*
* Does NOT start Workerman. It only wraps Laravel's `queue:work` for the
* AI queues so local setups without pcntl/posix/PM2 can still drain jobs.
*/
class QueueAiWorkCommand extends Command
{
@@ -15,10 +18,12 @@ class QueueAiWorkCommand extends Command
{--once : Process available jobs once and exit}
{--max-time=60 : Max seconds when looping}';
protected $description = 'Process ai-content and ai-moderation queues (dev-friendly alternative to workerman:ai)';
protected $description = 'Drain ai-content/ai-moderation via queue:work (does not start Workerman; use workerman:ai for that)';
public function handle(): int
{
$this->comment('queue:ai → Laravel queue:work (not Workerman). For a long-lived Workerman process use: php artisan workerman:ai start');
$params = [
'--queue' => 'ai-content,ai-moderation',
'--tries' => 3,