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
ValueDataSource: refuse a nested-relation condition in the filter AST arm instead of matching no rows silently #35447
From the contract review of PR #35423 (comment 7005257036, S1 should-fix; does not hold that PR).
Defect
#35423 lets convertFiltersToAST (@object-ui/core) lower the nested-relation form { rel: { field: value } } to ['rel', '=', { field: value }]. A server data source serves it. The in-memory ValueDataSource (ui/packages/core/src/adapters/ValueDataSource.ts) does not:
its object arm refuses a nested relation by name ("the in-memory matcher does not descend into a nested relation constraint");
its AST arm (matchesComparisonNode) compares the plain-object comparand by reference on =, so no row matches and nothing is logged.
Before #35423, toFilterNode threw on the same filter, so a value-provider surface composing a view filter through toFilterNode / toFilterNodeSafely (ListView, ObjectGrid, ObjectChart and other composers) was told. Now the same filter silently yields an empty list: the "fails as an empty list" outcome the converter's README says lowering-time refusal exists to prevent. The row set is unchanged (empty either way); the diagnosis is lost.
Done when
matchesComparisonNode gives a no-$ plain-object comparand the object arm's refusal (same wording), with a pin: the AST form and the object form of the same nested condition are refused alike on a value source, and a CONTROL showing a plain scalar = still matches.
Grade
p2 · area:data · domain:ui. Silent empty result on value-provider views using a nested-relation filter; no wrong rows shown.
Folded · area data-2 · 2026-11-19T09:35Z
Seat 5 picked fixing this in PR #35423 itself (the PR whose widening exposes it) rather than a second PR. Claim amendment on #34990 widens that PR's surface to ValueDataSource.ts; the PR body will carry Fixes #35447, so this card closes on its merge. Not for separate dispatch.
Triage: lands in domain:ui · pm:blocked; rationale: area:data · Bug · Impeded (the in-memory source matches no rows for a nested-relation condition instead of refusing it) · developers and previews → p2 as set.
Claim: PM loop round 9 · area data-2 (fold: seat 5 pick 2026-11-19T09:34Z "fix it in this PR", contract review 7005257036 S1 on PR #35423) · 2026-11-19T10:12Z
Area: data-2
Session: session_01Utp6CajiB6BSQKWowy6YLB
Account: os-bill
Branch: claude/issue-34990-nested-relation-filter-node
Worktree: objectstack-issue-34990-r2 (removed after push)
Domain: domain:ui
Seat: repo:objectstack#5
File surface: ui/packages/core/src/adapters/ValueDataSource.ts (matchesComparisonNode refuses a nested-relation comparand), its pin in ui/packages/core/src/adapters/__tests__/ValueDataSource.astFilterVocabulary.test.ts, ui/packages/data-objectstack/README.md lowering-table row, the existing .changeset/34990-nested-relation-filter-node.md. Folded into PR #35423 (already pushed at def1213f); the PR body carries Fixes #35447.
Container & model: S, mode:subagent, model: default — no path-derived mandate, effort: medium
Clause-②: yes (widening)
Metadata-protocol: none
Responsibility: @object-ui/core in objectstack: after #34990's widening, a nested-relation filter on an in-memory value source matches no row silently (=) or every row (!=) instead of being refused; no platform path covers it; every value-provider view composing such a filter
Thread-read: 7005299603
Premise: holds — reproduced by the fold's ablation (refusal removed → = warn 0 times, != returns every row)
Serial constraints cleared: the only open PR touching these files is #35423 itself (overlap-check VERDICT clean at def1213f)
Pre-claim lane: domain:ui (ui/packages/core/**), area data-2
Pre-claim deps: #34990 / PR #35423 (this card rides it by the seat's pick)
Prior rulings read: nested relation, ValueDataSource, filter lowering → seat ruling 6961225798 (#34907, the grammar node is the exit of the bounded exception); seat pick A on #34990 (7004740847); contract review 7005257036 S1; none conflicts
Folded into PR #35423 (merged as eed422ea; the body named this card Part of #35447 so the land gate read one card, #34990). Delivered: ValueDataSource's AST matcher refuses a plain-object comparand with no $ key, under every operator that reads the comparand, with the object arm's sentence through one builder (nestedRelationRefusalReason). Pins in ValueDataSource.astFilterVocabulary.test.ts; README lowering-table row in data-objectstack. Contract reviews 7008152912 / 7012075575 PASS.
State: pm:dispatched removed; closed completed.
Activity
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
Folded · area data-2 · 2026-11-19T09:35Z
Seat 5 picked fixing this in PR #35423 itself (the PR whose widening exposes it) rather than a second PR. Claim amendment on #34990 widens that PR's surface to
ValueDataSource.ts; the PR body will carryFixes #35447, so this card closes on its merge. Not for separate dispatch.Blocked-by: #35423
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:blocked; rationale: area:data · Bug · Impeded (the in-memory source matches no rows for a nested-relation condition instead of refusing it) · developers and previews → p2 as set.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
Claim: PM loop round 9 · area data-2 (fold: seat 5 pick 2026-11-19T09:34Z "fix it in this PR", contract review 7005257036 S1 on PR #35423) · 2026-11-19T10:12Z
Area: data-2
Session:
session_01Utp6CajiB6BSQKWowy6YLBAccount:
os-billBranch:
claude/issue-34990-nested-relation-filter-nodeWorktree:
objectstack-issue-34990-r2(removed after push)Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/core/src/adapters/ValueDataSource.ts(matchesComparisonNoderefuses a nested-relation comparand), its pin inui/packages/core/src/adapters/__tests__/ValueDataSource.astFilterVocabulary.test.ts,ui/packages/data-objectstack/README.mdlowering-table row, the existing.changeset/34990-nested-relation-filter-node.md. Folded into PR #35423 (already pushed atdef1213f); the PR body carriesFixes #35447.Container & model:
S,mode:subagent,model: default — no path-derived mandate,effort: mediumClause-②: yes (widening)
Metadata-protocol: none
Responsibility:
@object-ui/corein objectstack: after #34990's widening, a nested-relation filter on an in-memory value source matches no row silently (=) or every row (!=) instead of being refused; no platform path covers it; every value-provider view composing such a filterThread-read: 7005299603
Premise: holds — reproduced by the fold's ablation (refusal removed →
=warn 0 times,!=returns every row)Serial constraints cleared: the only open PR touching these files is #35423 itself (
overlap-checkVERDICT clean atdef1213f)Pre-claim lane:
domain:ui(ui/packages/core/**), area data-2Pre-claim deps: #34990 / PR #35423 (this card rides it by the seat's pick)
Prior rulings read: nested relation, ValueDataSource, filter lowering → seat ruling 6961225798 (#34907, the grammar node is the exit of the bounded exception); seat pick A on #34990 (7004740847); contract review 7005257036 S1; none conflicts
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB
Closed-out · area data-2 · 2026-11-19T14:58Z
Folded into PR #35423 (merged as
eed422ea; the body named this cardPart of #35447so the land gate read one card, #34990). Delivered:ValueDataSource's AST matcher refuses a plain-object comparand with no$key, under every operator that reads the comparand, with the object arm's sentence through one builder (nestedRelationRefusalReason). Pins inValueDataSource.astFilterVocabulary.test.ts; README lowering-table row indata-objectstack. Contract reviews 7008152912 / 7012075575 PASS.State:
pm:dispatchedremoved; closed completed.