Repository navigation
test: the account arms of incremental match, correction, profile and the golden routes (#1372) - #1434
Merged
Merged
Conversation
…the golden routes (#1372) The #547 support audit found four paths that branch on entity type with no test of the account arm. Each now has one, and each passed, so none becomes a ticket: - acct_incremental_match_correction_and_profile_run_on_the_account_lake (er-cli): after a crm-only full run, the vendors batch is the incremental delta. run_match_incremental scores exactly it against acct_int_std_records. run_correct then leaves one account golden per entity with every record a member, and run_profile with account: true covers the account standardized and golden relations and no person column. - pg_golden_routes_acct (er-server): over HTTP on an operator-created account dataset, the golden-records list serves Arrow with company_name/domain and no given_name, the detail returns the account golden and its members (404 for an unknown id), and duplicates lists the in-source c1/c9 group as an account group. Co-Authored-By: Claude Opus 5.5 <[email protected]>
7 tasks done
athvin
temporarily deployed
to
marketing-preview
November 29, 2026 11:00 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1372
What
Account tests for the four paths the #547 audit found untested. Tests only; no production code changes.
run_match_partial)acct_incremental_match_correction_and_profile_run_on_the_account_lakerun_correct) on an account lakeer profilewithaccount: truepg_golden_routes_acctWhy
These paths branch on entity type correctly, but nothing proved the account arm. The ticket's rule: any test that fails becomes its own ticket. All four pass, so there are no new tickets.
Proof
run_match_incrementalreportsmode == "incremental",delta_records ==the vendors row count, andcorpus_records ==crm + vendors. The scores pairacct_int_std_recordskeys.run_correctleaves oneacct_golden_recordsrow per entity, and every account record is a member.run_profilewithaccount: trueprofilesstandardized(hasdomain_norm) andgolden(hascompany_name), with nogiven_namein either.GET golden-recordsserves Arrow withcompany_nameanddomainand nogiven_name.GET golden-records/{id}returns the account golden plus its members; an unknown id returns 404.GET duplicateslists the in-source c1/c9 group as an account group.make check: exit 0. All 11acct_e2e tests pass.Risk & rollback
Tests only. The new pg test adds about 45 s to the er-server e2e job. Rollback is
git revert <merge-sha>.Post-merge ledger
Closed by: merge
57969369(squash of #1434)mainis green with this change on it — the merge SHA, and the runthat proves it. A later head SHA with this commit as an ancestor counts;
a cancelled run with zero jobs does not:
57969369: rust 46255077492, frontend 46255077687, infra 46255077517, devcontainer 46255077487, images 46255077525 all success.imagesbuilt, or correctly never ran because nothing that goes intoan image changed: built: images 46255077525 success, er-api
57969369 -> sha256:bae9f724…. er-web reused, verified unchanged underfrontend.deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: deploy 46255354214. The API launch gate printed
production now serves the contract of 5796936918d72b1f93e029e0c044033870263e16.deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: deploy green. drift stays knowingly red on
alert path (a confirmed subscriber), which waits on the operator's SNS email confirmation (The er-alerts SNS email subscription has never been confirmed — 19 armed alarms reach nobody #1107) and is unrelated to this change.Donethrough the automation rather than byhand, and the issue closed: Account datasets: tests for incremental match, the correction pass, HTTP golden reads and profile #1372 CLOSED by the merge, Product Roadmap → Done via automation.
(a skill, a reference, memory) — or nothing new was learned: nothing new; tests only.
Specific to this change
🤖 Generated with Claude Code