(event_json: &str)
| 517 | } |
| 518 | |
| 519 | async fn reset_counter_for_codex_event(event_json: &str) { |
| 520 | let Some(project_root) = codex_project_root_from_event(event_json) else { |
| 521 | return; |
| 522 | }; |
| 523 | if let Ok(cg) = crate::tracedecay::TraceDecay::open(&project_root).await { |
| 524 | let _ = cg.reset_local_counter().await; |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | fn deduped_codex_hint( |
| 529 | event_json: &str, |
no test coverage detected