Skip to content

Incremental analysis based on git diff #1083

@hahwul

Description

@hahwul

Summary

Support incremental scanning that only re-analyzes changed files, significantly improving performance on large codebases.

Scope

  • Use git diff (or file timestamp comparison) to identify changed files since last scan
  • Cache previous scan results and merge with new analysis
  • Re-run detection only when dependency files change (e.g., package.json, go.mod, Gemfile)
  • Re-analyze only affected endpoints when source files change
  • Provide a --incremental flag (or auto-detect when cache exists)

Expected Behavior

  • First run: full scan, results cached
  • Subsequent runs: only changed files analyzed, merged with cached results
  • Dependency file changes trigger full re-detection
  • Cache invalidation when Noir version changes

git diff 기반 증분 분석 — 변경된 파일만 재분석하여 대규모 코드베이스에서 스캔 속도를 대폭 개선

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions