import { BaseCommand, flags } from '@adonisjs/core/ace' import { CommandOptions } from '@adonisjs/core/types/ace' import QueueService from '#services/QueueService' import InspectionQueue, { INSPECTION_PRIORITY } from '#services/InspectionQueue' /** * One-off (LOG.md 2026-10-07 (8)): moves the inspection jobs waiting in * BullMQ into the inspection_queue table, then empties BullMQ's waiting and * prioritized jobs so Redis gives the memory back. The file id is read from * the job id (file-, content--