Commit f292102
fix(audit): extract DRIFT_SKIP_PREFIX constant; rewrite aggregate test
- Add DRIFT_SKIP_PREFIX constant to ci_checks.py; use it in the
skip message and import it in audit.py to replace the brittle
hardcoded string literal in the startswith() check.
- Rewrite test_cache_miss_does_not_block_other_checks to call
_check_drift directly (monkeypatch was previously a no-op via
run_baseline_checks which never invokes _check_drift); now
builds a CIAuditResult directly and asserts the aggregate passes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ad9edc4 commit f292102
3 files changed
Lines changed: 32 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
| 698 | + | |
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
| 726 | + | |
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
410 | 416 | | |
411 | 417 | | |
412 | 418 | | |
| |||
453 | 459 | | |
454 | 460 | | |
455 | 461 | | |
456 | | - | |
| 462 | + | |
457 | 463 | | |
458 | 464 | | |
459 | 465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1201 | 1202 | | |
| 1203 | + | |
1202 | 1204 | | |
1203 | | - | |
1204 | 1205 | | |
1205 | 1206 | | |
1206 | | - | |
1207 | | - | |
| 1207 | + | |
1208 | 1208 | | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
1213 | | - | |
| 1209 | + | |
1214 | 1210 | | |
1215 | 1211 | | |
1216 | | - | |
1217 | | - | |
| 1212 | + | |
| 1213 | + | |
1218 | 1214 | | |
1219 | 1215 | | |
1220 | 1216 | | |
1221 | 1217 | | |
1222 | 1218 | | |
1223 | 1219 | | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
0 commit comments