(id: &Value)
| 2947 | } |
| 2948 | |
| 2949 | fn json_rpc_request_id_string(id: &Value) -> Option<String> { |
| 2950 | match id { |
| 2951 | Value::String(id) => Some(id.clone()), |
| 2952 | Value::Number(id) => Some(id.to_string()), |
| 2953 | _ => None, |
| 2954 | } |
| 2955 | } |
| 2956 | /// D7 (staleness UX) + D1/D4 (startup catch-up + sync-on-read) behavioural |
| 2957 | /// tests. The pure-logic banner tests need no server; the server tests build |
| 2958 | /// a real indexed `TraceDecay` over a temp git repo, mirroring the |