Skip to content

Commit d8bd3e6

Browse files
authored
Merge pull request #583 from AdaWorldAPI/claude/medcare-bridge-lance-graph-wmx76z
deps: repoint lance-graph-ontology ogar-vocab to OGAR main
2 parents 716ff84 + 15f4031 commit d8bd3e6

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/lance-graph-ontology/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ lance-graph-contract = { path = "../lance-graph-contract" }
1717
# (OpenProjectBridge, RedmineBridge, …) are type aliases over the
1818
# harness — the namespace / bridge_id / public-name-alias data all
1919
# come from OGAR class schema, not from this crate.
20-
# Pinned to the OGAR `claude/medcare-bridge-lance-graph-wmx76z` branch:
21-
# it carries `ports::PortSpec` + the project-mgmt ports (from
22-
# port-spec-trait) AND the new `HealthcarePort` + 0x09XX Health codebook
23-
# that `MedcareBridge = UnifiedBridge<HealthcarePort>` needs. Will move
24-
# to `branch = "main"` once both OGAR PRs merge.
25-
ogar-vocab = { git = "https://github.com/AdaWorldAPI/OGAR", branch = "claude/medcare-bridge-lance-graph-wmx76z" }
20+
# OGAR `main` carries `ports::PortSpec` + the project-mgmt ports AND the
21+
# `HealthcarePort` + 0x09XX Health codebook that
22+
# `MedcareBridge = UnifiedBridge<HealthcarePort>` needs (OGAR #91 merged).
23+
# Tracks `main`, matching the sibling `lance-graph-ogar` / `cognitive-stack`
24+
# / `symbiont` pins — one OGAR source for the whole graph.
25+
ogar-vocab = { git = "https://github.com/AdaWorldAPI/OGAR", branch = "main" }
2626

2727
# TTL parser. oxttl is the smallest streaming Turtle parser in the workspace's
2828
# dependency graph and matches the shape of OGIT's per-entity .ttl files.

crates/lance-graph-ontology/src/bridges/medcare_bridge.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ ogit.Healthcare:Patient
8383
registry
8484
.hydrate_once_sync(tmp.path(), &["Healthcare"])
8585
.unwrap();
86-
std::mem::forget(tmp);
86+
// `hydrate_once_sync` parses the TTL into the in-memory registry, so
87+
// the temp dir is no longer needed — let it drop (no leak). The
88+
// earlier `std::mem::forget(tmp)` kept it alive unnecessarily
89+
// (CodeRabbit, PR #582).
8790
registry
8891
}
8992

0 commit comments

Comments
 (0)