feat(onboarding): scan-trigger endpoint + wizard Run-Scan button #153

Merged
sharang merged 1 commits from feat/onboarding-scan-trigger into main 2026-07-12 22:19:32 +00:00
Owner

Completes the onboard → scan → results loop in the UI.

  • POST /api/v1/targets/{id}/scan — 404s an unknown target, else spawns run_scan, which dispatches to the unified pipeline under UNIFIED_PIPELINE. (Until now a scan could only be triggered via the legacy /repositories/{id}/scan route.)
  • Wizard 'Run scan' button on the Done step (server fn trigger_target_scan) with inline status — onboard and kick off a scan without curl.

fmt + clippy -D warnings clean (agent, dashboard server + web).

Closes #126, #127. Refs #131, #133, #118.

Completes the **onboard → scan → results** loop in the UI. - **`POST /api/v1/targets/{id}/scan`** — 404s an unknown target, else spawns `run_scan`, which dispatches to the **unified pipeline** under `UNIFIED_PIPELINE`. (Until now a scan could only be triggered via the legacy `/repositories/{id}/scan` route.) - **Wizard 'Run scan' button** on the Done step (server fn `trigger_target_scan`) with inline status — onboard and kick off a scan without curl. fmt + clippy `-D warnings` clean (agent, dashboard server + web). Closes #126, #127. Refs #131, #133, #118.
sharang added this to the Onboarding v1 milestone 2026-07-12 22:13:28 +00:00
sharang added the onboardingenhancement labels 2026-07-12 22:13:28 +00:00
sharang added 1 commit 2026-07-12 22:13:29 +00:00
feat(onboarding): scan-trigger endpoint + wizard Run-Scan button
CI / Check (pull_request) Successful in 5m40s
CI / Detect Changes (pull_request) Has been skipped
CI / Deploy Agent (pull_request) Has been skipped
CI / Deploy Dashboard (pull_request) Has been skipped
CI / Deploy Docs (pull_request) Has been skipped
CI / Deploy MCP (pull_request) Has been skipped
9919afa0ee
Complete the onboard -> scan -> results loop in-UI:
- POST /api/v1/targets/{id}/scan (404s unknown targets) spawns run_scan, which
  dispatches to the unified pipeline under UNIFIED_PIPELINE.
- Wizard Done step gains a "Run scan" button (server fn trigger_target_scan)
  with inline status, so a user can onboard and kick off a scan without curl.

Passes fmt + clippy -D warnings (agent, dashboard server + web).

Closes #126, #127. Refs #131, #133, #118.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
sharang merged commit 669e1f1b03 into main 2026-07-12 22:19:32 +00:00
Sign in to join this conversation.