feat: GRAPH-side Redis Streams adapter — closes bidirectional ENRICH↔GRAPH loop#95
feat: GRAPH-side Redis Streams adapter — closes bidirectional ENRICH↔GRAPH loop#95cryptoxdog wants to merge 3 commits into
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 9 minutes and 23 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (99)
✨ Finishing Touches🧪 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 |
|
❌ Too Many Files Changed ❌ PR Too Large 📋 Best Practices for Large Changes
🚫 This PR is blocked from merging until size limits are met. |
Resolve remaining terminology-guard offenders, eliminate contract-scanner false positives in sanitized causal Cypher builders, and bring ruff back to green with bounded mechanical edits. GMP: Phase 0-6 complete; Scope: shared-blockers remediation on fix/shared-blockers-all-prs; Blast radius: engine/tests/tools mechanical lint+contract fixes; Validation: python3 tools/contract_scanner.py=PASS, ruff check .=PASS, terminology grep=PASS; Note: .pre-commit-config.yaml present but pre-commit executable/module unavailable in this environment.
- carry forward shared-blocker cleanup onto PR #95 branch - narrow Redis publish failure handling to RedisError - restructure publish path to satisfy Ruff without changing behavior Verification: - python3 tools/contract_scanner.py ✅ - ruff check . ✅ GMP: Phase 0-4 complete; scoped PR95 remediation only; static verification green.
|
|
Automated PR patrol review — 2026-04-22 UTC Patrol note only; not a human approval. This PR has been open for 498.5h with no review.
Top findings:
Suggested next action: fix failing CI, then request review . |



Summary
GRAPH-side companion to EIE PR Quantum-L9/Enrichment.Inference.Engine#31.
Adds
RedisStreamAdapterto the GRAPH repo so the graph_worker can publishgraph.inference.completeevents after every materialization batch.EIE's new
GraphInferenceConsumersubscribes and feeds qualifying inferredtriples back into the convergence loop.
New File
engine/adapters/redis_stream_adapter.pyRedisStreamAdapterclass wrappingredis.asynciopublish_inference_event()— publishes tograph.inference.completestream with:STREAM_MAXLEN = 50_000with approximate trim to bound memoryIntegration Point
Call
await redis_adapter.publish_inference_event(...)ingraph_worker.pyafter each materialization batch completes. Wire the adapter viaSettings.redis_url.Stream Contract
Companion PR
EIE consumer side: Quantum-L9/Enrichment.Inference.Engine#31
IgorBot · 2026-04-01