Trigger conditions
A review starts when your Git provider sends a webhook for a pull request event. ScanDrix runs when:
Delivery is asynchronous: webhooks are ingested, queued, and processed by workers with exponential backoff and dead-letter queues. A slow worker can never block your Git provider’s webhook endpoint.
Pipeline stages
- Ingest — the webhook is validated (signature check), normalized, and de-duplicated with an idempotency key. Retries are safe.
- Context expansion — the diff is widened with surrounding code so rules see enough context to judge intent, not just changed lines.
- AST analysis — files are parsed per language (Go, TypeScript, Python, and others). Deterministic checks — SQL string concatenation, hardcoded secrets, missing tenant filters, unbounded goroutines — run on the tree.
- AI reasoning — multi-model review evaluates the diff against active Drixy rules, architecture boundaries, and your rule messages. Prompts never contain raw secrets; credentials are redacted first.
- Posting — findings are grouped, deduplicated, and posted as inline review comments with severity badges and patch suggestions.
Statuses
✅ Approved— no blocking findings. Informational notes may still be present.💬 Comments— findings posted; none atcriticalseverity (or your configured blocking level).🛑 Changes requested— at least one finding at or above the blocking severity.⏭️ Skipped— trigger conditions not met (draft, skip label, path filters excluded all changes).⚠️ Failed— analysis error (unsupported file type mix, provider API error after retries). Details are in the PR check run log.
Blocking behavior is yours to configure: choose which severities block merge per repository or organization under Settings → Merge Policies.
