@@ -124,22 +124,22 @@ other; closing one is a maintainer decision and neither is stale.
124124
125125### RI-03 - feat/ri-03-routing-analytics
126126
127- - Base SHA: ` 2a72aa4a9b0870c629adf842da659a5c521c6bfa ` (` dev ` after #1004 merge;
128- rebased off RI-02 head ` 7efb6e842 ` / ` 2069e724e ` )
129- - Reviewed commit: same as final (author self-review before push)
127+ - Base SHA: ` 2a72aa4a9b0870c629adf842da659a5c521c6bfa ` (` dev ` after #1004 squash-merge)
128+ - Reviewed commit: ` e732d02e ` (pre–CodeRabbit review round)
130129- Findings (self-review): 3 fixed pre-push - (1) ` requestHistoryDb ` accessor
131130 missing from the indexer (analytics needs the handle after open);
132131 (2) SQL column names are snake_case - analytics SELECT now aliases to
133132 camelCase; (3) cost field is ` estimate.cost.total ` (CostBreakdown), not
134133 ` costUsd ` ; plus the row-cap is injectable for truncation tests.
135- - Final commit: ` e732d02e ` (post-review fixes on cooldown parsing , API row cap, tests)
134+ - Final commit: ` 5f464c730 ` (CodeRabbit: cooldown parse gate , API ` limit ` default 5k, devlog + tests)
136135- PR: #1005 (OPEN) https://github.com/lidge-jun/opencodex/pull/1005
137136- Verification:
138137 - ` bun x tsc --noEmit ` : PASSED (0 errors)
139- - ` bun run test tests/routing-analytics.test.ts ` : 8/8 pass (32 assertions) :
138+ - ` bun run test tests/routing-analytics.test.ts ` : 10/10 pass:
140139 classification (success/failure/cancel/incomplete), percentiles +
141140 coverage, fallback rate, provider/model/account + profile breakdown,
142- unknown-price honesty, filters, truncation flag, API payload
141+ unknown-price honesty, filters, truncation flag, API payload,
142+ cooldown on failure+attempts, API validation (` invalid_from ` /` invalid_to ` /` invalid_range ` )
143143 - Focused regression suites: 144/144 pass across 6 files
144144 - ` bun run privacy:scan ` : passed
145145- Remaining Low findings: none
0 commit comments