feat: precise --changed via stack-trace source file tracking; OTel sink docs
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ apophis verify --profile ci --changed
|
||||
|
||||
If no routes changed, exits 2 with a message.
|
||||
|
||||
`--changed` is a heuristic: it maps changed file paths to routes by checking route path segments against file names. This is useful as a developer convenience, but for strict CI gating, prefer explicit `--routes` filters or full verification.
|
||||
`--changed` tracks which source file registered each route by capturing stack traces during route discovery. When a file changes, only routes registered from that file are verified. Falls back to a path-segment heuristic for routes discovered without source file metadata (e.g., `printRoutes()` fallback).
|
||||
|
||||
## Failure Output Format
|
||||
|
||||
|
||||
Reference in New Issue
Block a user