Skip to content

Commit 666e359

Browse files
committed
fix(conformance): repoint MedcareBridge import after #585 OGIT/OGAR split
#585 moved the OGAR-driven port bridges (UnifiedBridge harness + MedcareBridge/OpenProjectBridge/RedmineBridge) from lance-graph-ontology to lance-graph-ogar, but missed one consumer: the lance-graph-consumer-conformance crate still did `use lance_graph_ontology::bridges::MedcareBridge;` at lib.rs:93, which now fails to compile (MedcareBridge no longer lives there). Fix — the same transformation #585 applied to every other consumer: - repoint the import to `lance_graph_ogar::bridges::MedcareBridge` - add the `lance-graph-ogar` path dep to the crate's Cargo.toml OgitBridge (lib.rs:222) and WoaBridge (lib.rs:331) are untouched — those are OGIT-native legacy bridges that correctly stayed in lance-graph-ontology. The callcenter `UnifiedBridge` (lib.rs:25) is an unrelated type, also untouched. No dependency cycle: conformance -> ogar -> ontology -> contract.
1 parent 5a1f187 commit 666e359

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

crates/lance-graph-consumer-conformance/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ publish = false # internal CI gate — not published to crates.io
1212
[dependencies]
1313
# The conformance harness imports UnifiedBridge, AuditChain, SuperDomain etc.
1414
lance-graph-callcenter = { path = "../lance-graph-callcenter" }
15-
# NamespaceBridge trait + bridge implementations (MedcareBridge, OgitBridge, WoaBridge)
15+
# NamespaceBridge trait + OGIT-native legacy bridges (OgitBridge, WoaBridge).
1616
lance-graph-ontology = { path = "../lance-graph-ontology" }
17+
# OGAR-driven port bridges (MedcareBridge / HealthcarePort) — moved out of
18+
# lance-graph-ontology in #585 to restore OGIT/OGAR separation of concerns.
19+
lance-graph-ogar = { path = "../lance-graph-ogar" }
1720
# fnv1a_str, PrefetchDepth
1821
lance-graph-contract = { path = "../lance-graph-contract" }
1922
# Policy, Role, PermissionSpec for per-consumer test fixtures

crates/lance-graph-consumer-conformance/src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ mod tests {
9090

9191
#[test]
9292
fn medcare_bridge_conforms() {
93-
use lance_graph_ontology::bridges::MedcareBridge;
93+
// MedcareBridge moved to the OGAR crate in #585 (it's codebook-/
94+
// PortSpec-driven via `HealthcarePort`, so it belongs to OGAR, not
95+
// OGIT). OgitBridge / WoaBridge below stay in lance-graph-ontology —
96+
// those are OGIT-native legacy bridges.
97+
use lance_graph_ogar::bridges::MedcareBridge;
9498

9599
let registry = seed_medcare_registry();
96100
let bridge = Arc::new(MedcareBridge::new(registry).unwrap());

0 commit comments

Comments
 (0)