Commit 26007e5
committed
fix(db,engine): cost-only event model filtering and Codebuff changed-path force parse
1. Cost-only events: Filtered out empty model names from ModelsUsed
across SQLite, PostgreSQL, and DuckDB backends. Cost-only events
(e.g. Codebuff) have empty model but carry CostUSD. Including them
creates blank, unfilterable entries in model breakdowns.
2. Codebuff changed-path: Added force parse for Codebuff changed-path
events in providerChangedPathForceParse. The composite stat-only
freshness gate may skip same-size, same-mtime rewrites, so a concrete
changed-path signal must always trigger the full fingerprint path.1 parent bb66beb commit 26007e5
4 files changed
Lines changed: 32 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2108 | 2108 | | |
2109 | 2109 | | |
2110 | 2110 | | |
2111 | | - | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
2112 | 2116 | | |
2113 | 2117 | | |
2114 | 2118 | | |
| |||
2275 | 2279 | | |
2276 | 2280 | | |
2277 | 2281 | | |
2278 | | - | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
2279 | 2287 | | |
2280 | 2288 | | |
2281 | 2289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3955 | 3955 | | |
3956 | 3956 | | |
3957 | 3957 | | |
3958 | | - | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
3959 | 3963 | | |
3960 | 3964 | | |
3961 | 3965 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1547 | 1547 | | |
1548 | 1548 | | |
1549 | 1549 | | |
1550 | | - | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1551 | 1555 | | |
1552 | 1556 | | |
1553 | 1557 | | |
| |||
1708 | 1712 | | |
1709 | 1713 | | |
1710 | 1714 | | |
1711 | | - | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
1712 | 1720 | | |
1713 | 1721 | | |
1714 | 1722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1234 | 1234 | | |
1235 | 1235 | | |
1236 | 1236 | | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
1237 | 1244 | | |
1238 | 1245 | | |
1239 | 1246 | | |
| |||
0 commit comments