You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
er doctor reports ok=false for a healthy account lake — it probes only the person relations #664
Those three are absent because an account tenant never writes them. It writes acct_int_std_records, acct_golden_records and acct_golden_lineage — which doctor does not look at, so it also cannot report that they are fine.
Why it matters
doctor is the read-only health report an operator reaches for first, and for every account tenant it currently answers "not ok" with three false absences and no mention of the relations that actually hold the data. An operator checking an account tenant has to know to disbelieve it.
Fix
Select the probed relation set from config.entity_type, the way every pipeline branch already does. The entity-agnostic relations (raw_records, match_scores, entity_membership, entities, entity_events, runs, review_queue) stay in both sets; the standardized and golden triples swap.
Product context (2026-11-26)
Why this matters for the API product: Indirect, under "operate safely." er doctor is a CLI-only operator report. er-server exposes no doctor route (git grep doctor rust/crates/er-server/src returns nothing). It does not touch the customer API, but it misleads whoever supports an account-type dataset.
Current state: Still reproduces. DOCTOR_RELATIONS (rust/crates/er-cli/src/lib.rs:3779-3792) lists only int_std_records, golden_records and golden_lineage. ok is computed from int_std_records, entity_membership and golden_records (lib.rs:3816-3818). doctor(session, config) (lib.rs:3804) takes the config but never reads config.entity_type. The account relation names already exist as constants (ACCT_INT_STD_RECORDS, ACCT_GOLDEN_LINEAGE and ACCT_GOLDEN_RECORDS, lib.rs:53, :68-69), and lib.rs:1054-1056 already makes the same per-type choice elsewhere.
Definition of done: as above, plus a test: doctor over the acct_10run-all lake reports ok: true and lists the three acct_* relations.
Activity
test(matching): an account corpus with declared truth, and what it sa…
fix(doctor): probe the account relations on an account lake (#664) (#…