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
fix(widget): the widget's upstream call ignores record_key — every item renders '— / no score' #832
followupsmall operational follow-up surfaced by an investigation; not a parity epic or a docs findingprunedClosed in the 2026-11-26 board prune; not needed for the source-independent tool
frontend/src/app/api/widget/[token]/route.ts fetches /v1/orgs/{org}/datasets/{ds}/duplicates?record_key=<key>&limit=10 and passes items straight to widget-view.tsx, which renders each item's record_key and match_probability.
But er-server's duplicates_list (rust/crates/er-server/src/lib.rs:5352) reads only cursor, limit and min_members — record_key is silently ignored, and its items are duplicate groups (entity_id, member_count, members, golden preview fields, and now group_confidence from #797). No item ever carries record_key or match_probability, so the widget renders — and no score for every row of every tenant.
The two halves disagree, and no test spans them
The BFF's contract test mocks the upstream it WANTS (per-record items with scores); the server's duplicates endpoint grew a different shape for the groups view. Each side is internally green. This is the defect class the repo keeps finding: a contract the frontend states and the backend never fulfilled (the review page's status/reason passthrough was another).
Done when
the widget's upstream serves per-record duplicate candidates for ONE record (record_key + score), or the BFF maps the groups response into that shape
a test spans BFF and server on the real response shape (the mock encodes the real contract, or a pg-backed test covers the upstream path)
Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.
followupsmall operational follow-up surfaced by an investigation; not a parity epic or a docs findingprunedClosed in the 2026-11-26 board prune; not needed for the source-independent tool
Activity
athvin commentedon Nov 27, 2026
Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled
prunedand can be reopened later.