{{ message }}
Repository navigation
Commit 30b099d
fix(cli): scope dependency-drift reach to the projects that disagree
Drift scored its blast radius by counting live projects across the whole
workspace and clamping to the finding's own count — the shape that was just
removed from credential-shared. It produced the right number only because
drift files against live projects already, so the clamp always saturated:
correct by accident, through a filter three hundred lines away.
The holder count was wrong for a nearer reason. It counted every live
consumer of the package, including one declaring it with no version at all,
which consumes pandas but is not party to the dispute. Reach for the fixture
drops from 5 projects to 4.
Both now come from one list of holders, through the shared helper, so this
stays right if the maintained-only filter ever loosens.
Also: --governance stopped being "SQL correctness and hardcoded credentials"
when this PR added the dependency checks.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent a8303f4 commit 30b099d
4 files changed
Lines changed: 56 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
1292 | 1331 | | |
1293 | 1332 | | |
1294 | 1333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | | - | |
788 | | - | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
789 | 792 | | |
790 | 793 | | |
791 | 794 | | |
| |||
801 | 804 | | |
802 | 805 | | |
803 | 806 | | |
804 | | - | |
| 807 | + | |
| 808 | + | |
805 | 809 | | |
806 | 810 | | |
807 | 811 | | |
| |||
1119 | 1123 | | |
1120 | 1124 | | |
1121 | 1125 | | |
1122 | | - | |
| 1126 | + | |
1123 | 1127 | | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
| 1128 | + | |
1128 | 1129 | | |
1129 | 1130 | | |
1130 | 1131 | | |
| |||

0 commit comments