Repository navigation
fix(read): records and review merge-group read the account corpus on an account dataset (#1366) - #1413
Merged
Conversation
…an account dataset (#1366) GET …/records?key= and GET …/reviews/{id}/merge-group read int_std_records unconditionally, so on an account dataset (whose standardized relation is acct_int_std_records) both returned 503. records_by_key and merge_group now take the dataset's entity type, and a new acct_int_std_record/read/by_keys statement serves the account side. Each typed row is serialized before shaping, so one pass builds the same {record_key, source_system, source_record_id, verified, attributes} item for both types. acct_read asserts the account read returns company_name attributes and no person columns, and that the person read still fails there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
temporarily deployed
to
marketing-preview
November 29, 2026 06:16 — with
GitHub Actions
Inactive
7 tasks done
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 #1366
What
GET …/records?key=andGET …/reviews/{id}/merge-groupread the account corpus on an account dataset.read::records_by_keyandread::merge_grouptake the dataset's entity type, and a newacct_int_std_record/read/by_keysstatement serves the account side. One shaping pass builds the same{record_key, source_system, source_record_id, verified, verified_attributes, attributes}item for both types.Why
Both routes read
int_std_recordsunconditionally, so they 503'd on every account dataset. This was a red cell in #547's support matrix.Proof
make checkexit 0, rebased over #544.acct_readasserts that the account read returns company_name attributes and no person columns, and that the person read still fails on the account lake, so the fix is the thing that makes it work.Risk & rollback
Additive: the person path is the same statement, with the same shaping. Rollback:
git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:24d16c2e-fec6-49d8-9797-060338df4848onbrians-MacBook-Pro· 2026-11-29T08:22:47Zmainis 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: — 18b8e3b, rust 46232741978 + frontend 46232741998 success
imagesbuilt, or correctly never ran because nothing that goes intoan image changed: — success, run 46232741984
deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: — run 46233044884 success
deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: — infra, devcontainer success on 18b8e3b
Donethrough the automation rather than byhand, and the issue closed: — Account datasets: records and review merge-group reads 503 (person-only int_std_records read) #1366 CLOSED by fix(read): records and review merge-group read the account corpus on an account dataset (#1366) #1413 via automation
(a skill, a reference, memory) — or nothing new was learned: — the account read pattern (an
accountflag fromdataset.entity_type) is in Resolution model breadth: audit person/account support and generalize from customer requirements #547's matrix in launch-readiness.mdSpecific to this change
Context — plan, discoveries, measurements, files
Plan
Discoveries
Measurements
Files
Span-statement bound 362 → 363. #1367 (metrics, data-quality) stacks after this one.
🤖 Generated with Claude Code