feat: precise --changed via stack-trace source file tracking; OTel sink docs

This commit is contained in:
John Dvorak
2026-05-22 15:00:04 -07:00
parent dab14ef77d
commit 6331933388
5 changed files with 111 additions and 18 deletions
+1 -1
View File
@@ -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