Repository navigation
perf(syntropy): single-flight + negative-cache for get_health_profile (oc-hygiene #1) - #26
Conversation
… get_health_profile (oc-hygiene #1) Generated-With: Claude Code Co-Authored-By: openclaw <[email protected]> Co-Authored-By: Claude <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Disabled knowledge base sources:
📝 WalkthroughWalkthroughAdds single-flight deduplication ( ChangesProfile fetch deduplication and negative caching
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The formal models extracted constants ( This check is informational (not blocking merges yet). If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there. |
Release-prep hygiene #1 of 8 (principal-approved). resolveProfileContext gains OPT-IN inFlight (single-flight — concurrent same-user misses share one get_health_profile fetch) + negativeCache (60s memo of 'no usable profile'). Both optional → when absent behavior is IDENTICAL (sealed referee 38/38 UNCHANGED = behavior-preserving proof). Transient errors are NOT negative-cached (re-fetch next turn); single-flight has finally-cleanup. 23 visible tests (12 orig + 6 new + 5 injection); oxfmt/oxlint/tsgo clean. QGR 47c8e3e. CTO code-reviewed (opt-in default-off confirmed) + receipt-verified.
Summary by CodeRabbit
New Features
Tests