Skip to content

fix(doctor): probe the account relations on an account lake (#664) - #1364

Merged
athvin merged 1 commit into
mainfrom
fix/664-doctor-account
Nov 28, 2026
Merged

athvin merged 1 commit into
mainfrom
fix/664-doctor-account

Conversation

@athvin

@athvin athvin commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Closes #664

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

er doctor probes the relations for the config's entity_type: an account lake is checked for acct_int_std_records, acct_golden_records and acct_golden_lineage instead of the person triple, and ok is computed from them.

Why

A healthy account lake reported ok: false with three false absences, so anyone checking an account tenant had to know to disbelieve it.

Proof

make check exit 0. acct_run_all_clusters_accounts_and_assembles_golden now asserts doctor reports ok: true, lists the three acct_* relations present with rows, and lists none of the person ones. Mutation: dropping the golden_records mapping fails that test at acct_e2e.rs:234.

Risk & rollback

CLI-only report; no route, no schema. Rollback: git revert <merge-sha>.

Post-merge ledger

Closed by: agent · session Claude Code:24d16c2e-fec6-49d8-9797-060338df4848 on brians-MacBook-Pro · 2026-11-28T23:56:00Z

Specific to this change

Context — plan, discoveries, measurements, files

Plan

Discoveries

Measurements

Files

The test uses the existing acct_base run-all lake, which is the same run-all path the ticket measured on acct_10.

🤖 Generated with Claude Code

er doctor probed int_std_records, golden_records and golden_lineage on
every lake, so a healthy account tenant (which writes their acct_
counterparts) reported three false absences and ok: false. The probed set
now follows config.entity_type; the entity-agnostic relations are shared.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@athvin
athvin merged commit 1567d0b into main Nov 28, 2026
43 checks passed
@athvin
athvin temporarily deployed to marketing-preview November 28, 2026 23:23 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
marketing-preview — 8259284c Deployed Nov 28, 2026 by athvin via remove closed PR previews #128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

er doctor reports ok=false for a healthy account lake — it probes only the person relations

2 participants