Repository navigation
feat(api): document the public result reads' payloads (#1234) - #1235
Merged
Merged
Conversation
…ing headers (#1234) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…1234) The page was a json! map of hand-inserted keys; it is now PersonDuplicatesPage | AccountDuplicatesPage, one struct per entity type because the preview columns differ. Value-equal to the old map for a scored and an unscored group (duplicate_group_tests); the envelope ledger is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…payload schema (#1234) ScoredPair is value-equal to the rows_to_values + with_confidence hop it replaces (scored_pair_tests). every_public_result_read_documents_its_payload fails if a result read regresses to the envelope-granularity fallback. The envelope-agreement test now checks each anyOf branch. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ges (#1234) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
The marketing preview was removed because this PR is closed or merged. |
athvin
marked this pull request as ready for review
November 25, 2026 11:11
athvin
temporarily deployed
to
marketing-preview
November 25, 2026 11: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 #1234
What
E11's first child. The public result reads now document what they return:
GET …/golden-recordsstring, format: binaryx-er-arrow-rows(GoldenRecord/AcctGoldenRecord), plus thex-er-snapshotandx-er-next-cursorheadersGET …/duplicates{items: {}, snapshot: {}, next_cursor: {}}PersonDuplicatesPage | AccountDuplicatesPage, with fully typed groupsGET …/match-scoresMatchScoresPageofScoredPairDecision, recorded per the ticket: no JSON content negotiation for golden-records. The Arrow stream stays, and its rows are named by the entity's own JSON component, which a test holds equal to the streamed Arrow schema. One representation documented exactly beats two that can drift. If a customer needs JSON rows, the export (#1230) is where that goes.
Why
#1234, part of #521. A client generator could not tell what a result read returned.
Proof
make check: 1,177 passed, 0 failed.er-server --testsagainst Postgres: 408 passed (coversacct_read.rs, the account duplicates read over a real lake).make frontend: 964 passed. Tests added, each observed failing:every_arrow_operation_names_its_rowsARROW_ROWSentrythese Arrow reads document no row schemaevery_arrow_row_component_matches_its_entitys_arrow_schemaGoldenLineagenamed instead:documented properties differ from the columns its Arrow read streamsevery_public_result_read_documents_its_payloadsegments) added to the list: flaggedduplicate_group_tests(2)scored_pair_testsScoredPairequalsrows_to_values+with_confidenceThe envelope ledger (
envelopes.json) is unchanged.get_responses_agree_with_every_committed_envelope_classnow checks eachanyOfbranch.Risk & rollback
The wire bytes change key order only (struct order instead of sorted), and the values are equal. The BFF and UI parse JSON, so they are unaffected. Rollback:
git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:d1e3b2dc-3174-4091-9c30-c08fc4820306onMac· 2026-11-25T18:32:25Zmainis green with this change on it: merge029c874b. Its ownrustrun 45602830203 was red, oncargo-deny's RUSTSEC-2026-0600, an advisory published after the PR's green, not this diff. Fixed by fix(deps): kube 5.2.0 for RUSTSEC-2026-0600 (#1237) #1238.mainis green again at descendants2a7a493a(rust success) and432d337e(push runs rust 45609751372, frontend 45609751571, images, infra, devcontainer, marketing preview: all success).images: run 45602829957 succeeded.deployconverged: run 45603409644 (DEPLOY_SHA: 029c874b) succeeded. Process proof: devci/web-api-blue-687c99dc85-5ptf5(11:20:49Z) and prodapp/web-api-green-79d6c5f55-m8rf4(11:20:45Z) logged"er-server listening".deployis green.driftandkindwere already red on schedule before feat(api): typed response structs, batch 3 — reviews+merges (#1193) #1202.api-contractskill (Arrow row schemas, per-entity-type pages).Specific to this change
Context — plan, discoveries, measurements, files
Plan
Discoveries
Measurements
Files