Scan workflow
From trigger to proof bundle. Every scan run moves through the same pipeline whether it was launched from the dashboard or a pull request.
Triggering a scan run
You have four ways to start a scan run:
- Dashboard — choose a repo and branch from Reviews to create a review and start its first run.
- Pull request — open a PR or move it from draft to ready. The auto-review rules in Settings decide whether Infiniview runs.
- PR comment — post
@infiniview reviewon a PR you’re trusted on. - Rerun — from review detail, when readiness allows it.
Pipeline phases
The dashboard timeline labels each phase. Most scans pass through every phase; runtime testing is skipped for repositories that can’t be served as a browser web app.
Prepare environment and load configuration.
Parse the codebase and build the security knowledge graph.
Run security scanners against the codebase.
Analyze code changes and correlate findings.
Review code for quality and security issues.
Test application flows and interactions in a sandboxed browser when supported.
Generate the findings report and recommendations.
Snapshot rules
At trigger time, Infiniview merges your dashboard configuration with the repo’s .infiniview.yml and freezes the merged result onto the run. Repo config wins for overlapping fields. Once the snapshot is taken:
- Editing dashboard settings affects future scans, not the active run.
- Editing
.infiniview.ymlon the branch is reflected on the next scan triggered from that branch. - Repo secrets are decrypted server-side only when injected into the sandbox at scan time.
- Unknown or stale scanner IDs in your snapshot are auto-reconciled against the current scanner manifest.
Live progress
While a scan is in progress, the run detail page streams updates over Server-Sent Events. The stream emits an initial snapshot, incremental events, and a final snapshot when the run reaches a terminal status.
GET /api/scan-runs/{id}/live # text/event-stream
GET /api/scan-runs/{id}/progress # one-shot status pollRun statuses
| Status | Meaning |
|---|---|
queued | Scan run accepted; waiting for a worker. |
running | Pipeline in progress; live events stream to the UI. |
completed | Pipeline finished with full coverage. |
degraded | Pipeline finished with reduced coverage. Findings still persist; trust drops and the run is annotated. |
blocked | Pipeline stopped before scanning. Most common cause: the repository is not a supported browser web app. |
failed | Pipeline could not complete. The run records the error. |
Reruns
Rerun is offered from review detail when readiness says the repo is runnable. Readiness checks GitHub access, missing env-var signals, scanner gaps, and replay prerequisites — see Trust & readiness.