Files
dtf-system/web/upload.js
Cauê Faleiros cc460c6e0c
Some checks failed
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Failing after 8m39s
Build and deploy / Secret scan and release gate (push) Successful in 4s
Build and deploy / Publish images (push) Has been skipped
fix: the page waits for the antivirus while the server can still be on the file (DTF-WEB-2E)
The worker scans one file at a time for every customer. On 2026-12-02 two
files were checked together, and the one waiting behind the other gave up
after two and a half minutes with "Verificação de segurança pendente"; its
budget counted only its own scan, not the queue. The page now waits the
file's own time plus the 15 minutes the worker gives one file before it
calls the scan stuck (SCAN_STUCK_SECONDS), polling each second for the
first two and a half minutes and then every five, and stops at once when
the customer removes the file. A scan that never ends still says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 14:56:25 -03:00

8.5 KiB