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
objectql: in one multi-row insert, a parent field derived from a summary (and a summary of a summary) still reads its pre-batch value #34635
bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p3
Filing gate ①: contract review N1 on PR #34612 (Fixes #34466, ruling family #25579 "a batch equals one by one"), passed on by area o2-E. Dedupe: summary batch formula parent, "summary of a summary"; no open card.
PR #34612 overlays the summary field itself, row by row, inside one multi-row insert. Two reads stay at the pre-batch value:
A parent field derived from that summary: a formula field, or a stored expression field such as "is full when line_count >= 2". A child requiredWhen that reads parent.is_full passes every row of the batch. Inserted one by one, the field is re-derived after each recompute and the later rows are refused.
A summary of a summary one level up (grandparent rolls up the parent's summary). The overlay moves only the direct parent's summary.
Premise check (run first)
On main after #34612 merges: a parent with line_count (count of children) and a formula is_full = line_count >= 2; a child rule requiredWhen: parent.is_full on description. Insert three children with empty description in one call, then the same three one by one. If the batch also refuses the third row, close this card as not reproducible.
Done when
The batch and one-by-one paths give the same verdict for both shapes above, or the limit is ruled and documented. Pin tests in packages/objectql/src/summary-rollup.test.ts.
Out of focus: it falls in none of the four themes or any un-paused epic.
The effect is real but a corner of a corner. Inside one multi-row insert, only a rule that reads a field derived from a summary, or a summary of a summary, sees the pre-batch value.
Blocker #34466 closed today at 05:22Z. Back to the queue at its grade (p3). Run the card's premise check first; close as not reproducible if the batch already refuses the third row.
bugSomething isn't workingdomain:serverDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p3
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch → p3 ·
domain:server·pm:blocked· 2026-11-17T04:23Z⛔ Not a claim.
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: unlock →
pm:queue· 2026-11-17T05:49Z⛔ Not a claim.
Blocker #34466 closed today at 05:22Z. Back to the queue at its grade (p3). Run the card's premise check first; close as not reproducible if the batch already refuses the third row.
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: closed as duplicate of #34821 · 2026-11-17T11:44Z
⛔ Not a claim.