CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m26s
CI / Check (pull_request) Successful in 20m17s
`maybe_trigger_dast` started each DAST scan in a detached task. The scan run never waited for it and a failed DAST scan was only a log line, so a run read "completed" whether DAST ran or not. - The stage now awaits each DAST target's scan, with a 20-minute limit, and stores its run and findings as before. - A scan that fails, times out or cannot be stored is recorded as the `dast` stage with `ToolFailed` (subject "DAST", so the dashboard reads "DAST did not complete"). It fails the stage, not the run. The error goes to the log; the DAST run keeps the scanner's reason. - The DAST scan drops its "Exploitation" phase, which was recorded as completed without doing anything. The variant stays for stored runs. - Docs: what a target's scan does with DAST. Test: a target whose live URL does not resolve finishes its scan with a failed `dast` stage and a stored, failed DAST run. It fails on main, where the run has no `dast` entry. Part 1 of #998 (points 1 and 5). Findings in the main findings, the deterministic checks and the SAST hints follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9