MCPcopy
hub / github.com/tirth8205/code-review-graph / _run_rescript_resolver

Function _run_rescript_resolver

code_review_graph/incremental.py:61–70  ·  view source on GitHub ↗

Run the ReScript cross-module resolver, swallowing any failure so build never fails because of it. Returns stats or None on error.

(store: GraphStore)

Source from the content-addressed store, hash-verified

59
60
61def _run_rescript_resolver(store: GraphStore) -> Optional[dict]:
62 """Run the ReScript cross-module resolver, swallowing any failure so
63 build never fails because of it. Returns stats or None on error.
64 """
65 try:
66 from .rescript_resolver import resolve_rescript_cross_module
67 return resolve_rescript_cross_module(store)
68 except Exception as exc: # noqa: BLE001 - best-effort post-pass
69 logger.warning("ReScript cross-module resolver failed: %s", exc)
70 return None
71
72
73def _run_spring_resolver(store: GraphStore) -> Optional[dict]:

Callers 2

full_buildFunction · 0.85
incremental_updateFunction · 0.85

Calls 1

Tested by

no test coverage detected