Commit 46ebc95
fix: dbt model detection for impact analysis at repo root
getChangedDBTModels compared absolute dbtProjectDir path against
relative filenames, so the prefix filter never matched and impact
analysis was always skipped.
Fix: convert dbtProjectDir to relative path, and if dbt project
is at repo root, return all dbt files without prefix filtering.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7a4b965 commit 46ebc95
3 files changed
+23
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27496 | 27496 | | |
27497 | 27497 | | |
27498 | 27498 | | |
27499 | | - | |
| 27499 | + | |
| 27500 | + | |
| 27501 | + | |
| 27502 | + | |
| 27503 | + | |
| 27504 | + | |
| 27505 | + | |
| 27506 | + | |
| 27507 | + | |
27500 | 27508 | | |
27501 | 27509 | | |
27502 | 27510 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
114 | 122 | | |
| 123 | + | |
115 | 124 | | |
116 | 125 | | |
117 | 126 | | |
| |||
0 commit comments