Commit 620e6a9
committed
fix(telemetry_policy): suppress baseline fallback on canon_url override
When canon_url is provided, getFile() previously still appended the
klappy.dev baseline as a search source. A missing governance file in the
override canon would be silently satisfied by the baseline, causing
governance_source to report 'canon' instead of 'minimal'.
Add an optional skipBaselineFallback flag to ZipBaselineFetcher.getFile
and pass it from the telemetry_policy handler when canon_url is set, so
a missing file in the override canon correctly falls back to the
minimal tier.1 parent 360b4b5 commit 620e6a9
2 files changed
Lines changed: 33 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
525 | 532 | | |
526 | 533 | | |
527 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
981 | 987 | | |
982 | | - | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
983 | 993 | | |
| 994 | + | |
984 | 995 | | |
985 | | - | |
986 | | - | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
987 | 1000 | | |
988 | 1001 | | |
989 | 1002 | | |
| |||
998 | 1011 | | |
999 | 1012 | | |
1000 | 1013 | | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
1008 | 1023 | | |
1009 | 1024 | | |
1010 | 1025 | | |
| |||
0 commit comments