Skip to content

Studio condition builder writes list membership in the spelling the validator now rewrites (after #36340) #36381

Open

Description

@objectstack-fleet

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Follow-up from #36167 (PR #36340). Found by the L2 record 7076594662 on PR #36340; filed by the seat. Parent: #36167.

What happens

The merged Studio condition builder (#36185) writes list membership as S != null && V in S. PR #36340's own measurement says that spelling faults on a sparse action row and on a null previous. After #36340 the validator (checkListEquality, listMembershipRewrite) prescribes a different, per-site spelling for a record. read. So the builder and the validator now prescribe different spellings for the same site: an author who builds a condition in Studio can get a form the validator would rewrite, or one that faults at run time.

To do

  1. Make the builder emit exactly what listMembershipRewrite prescribes for each site (record-triggered start condition, action row, previous), by calling the same helper rather than restating it.
  2. Fix the checkListEquality docblock's opening line, which still names S != null && V in S as "the prescription" (N1 of the same record).

Acceptance

  • A test builds a membership condition in the builder at each of the three sites and asserts that the validator accepts it unchanged and that the engine evaluates it without a fault on a sparse row and on a null previous.

Blocked-by: #36340 (the per-site prescription must be on main first)

Grade

p2 · area:build · domain:ui. Two halves of one feature disagree, and a builder-written condition can fault at run time.


Generated by Claude Code

Activity

  1. added
    bug
    priority:p2
    pm:blocked
    domain:ui
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: area, pm:blocked (Blocked-by #36340) and p2 stand as filed; rationale: area:build · Bug · the merged Studio condition builder writes list membership as S != null && V in S, a spelling that faults on a sparse action row and a null previous, while the validator after #36340 prescribes a per-site spelling. Follow-up of #36167 → p2 · size S.

  3. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Unlock (daily scan): every Blocked-by: target is closed, so pm:blocked → pm:queue; grade unchanged.

    Target #36340 merged at 2026-11-22T09:36Z. No newer Blocked-by: line in the thread, no Unlock-action: line, no assignee. Same repository, so no installability check is owed.

  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:buildbugdomain:uipm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions