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
Nested-relation filter follow-ups from PR #35423: cross-realm plain object, null-prototype FROM line, stale related-id comments #35533
Leftover nits from seat 5's delta contract review 7012075575 on PR #35423 (#34990), collected on one card on the seat's word. Parent: #34990.
Items
Cross-realm plain object.convertFiltersToAST's isOperatorMap lowers a plain object from another realm (prototype whose own prototype is null). ValueDataSource's nestedRelationComparandKey does not take it as plain, so for that population the lowered node is not refused (= matches nothing silently, != every row). The fix belongs at the converter: align its test with the spec's isFilterNode / engine isNoOperatorObject. The matcher docblock's "the shape is the one convertFiltersToAST lowers" is one arm short.
BREAKING FROM line for a null-prototype object. The changeset's FROM says the ordering operators compared against the text [object Object]. That holds for Object.prototype only. A null-prototype object has no toString, so the comparison threw.
"Refuses anything else" survives in the isNestedRelationCondition docblock in ui/packages/core/src/utils/filter-converter.ts. It should name the exact refused population, as the changeset now does.
The = sentence ("matched no row before") leaves out the identity match on a row holding the caller's own object.
Stale related-id comments in DatasetWidget.tsx, DrillDownDrawer.tsx and DatasetReportRenderer.tsx still describe the related-id read the drill no longer does.
Done when
Item 1 is fixed with a pin (cross-realm object refused or lowered consistently on both faces). Items 2–5 are corrected in prose (a changeset note for 2 and 4 rides the next release).
Grade
p3 · area:data · domain:ui. No producer in the tree hands a value source a cross-realm object; everything else is prose.
Triage: lands in domain:ui · pm:queue; rationale: area:data · Bug · Impeded (cross-realm and null-prototype objects take different paths in the nested-relation lowering; stale comments) · rare, developers → p3 as set; kept open for the realm mismatch.
2026-11-20T05:23Z · Folded into #35735. This card's ask — "Nested-relation filter follow-ups from PR #35423: cross-realm plain object, null-prototype FROM line, stale related-id comments" — is now a row on #35735, which carries its shared-mechanism group so one claimant fixes them in one PR. The body here stays the detail that row points to. Closed only as a separate card, not as work.
Activity
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:data · Bug · Impeded (cross-realm and null-prototype objects take different paths in the nested-relation lowering; stale comments) · rare, developers → p3 as set; kept open for the realm mismatch.objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」
2026-11-20T05:23Z · Folded into #35735. This card's ask — "Nested-relation filter follow-ups from PR #35423: cross-realm plain object, null-prototype FROM line, stale related-id comments" — is now a row on #35735, which carries its shared-mechanism group so one claimant fixes them in one PR. The body here stays the detail that row points to. Closed only as a separate card, not as work.