Skip to content

objectql: on a predicate (multi-row) update, a rule message's record holes over unwritten fields and every previous hole render empty when the object's only rules are format / json_schema #38788

Backlog

Description

@objectstack-fleet

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Filed as a finding by seat repo:objectstack#3. It comes from the L2 contract review of PR #38787 (#37909 PR 3, record 7284010448, nit N1). Read from merged code on main; not measured. Not triaged and not claimed.

Class: b · Grade: p3 candidate · Reach: a validation rule whose message cites {{ record.<field> }} or {{ previous.<field> }}, on an object whose only rules are format or json_schema, written by a predicate (multi-row) update.

What

  • On that bulk seam the engine hands the validator previous: null and the payload alone. It does not count rendersRuleMessageHoles when deciding whether to read the stored rows.
  • So record holes over unwritten fields and every previous hole render empty there.
  • The skill (PR docs(skills): teach a validation rule message's {{ }} holes #38787) teaches "the stored row before an update; empty on insert". That sentence does not describe this seam.
  • Related prose (L2 nit N3): the docs say datetime renders in "UTC when none is set". A write whose context carries no timezone renders in the process zone.

Ask

Make the bulk-update seam read the stored rows when any rule's message renders holes (as it does for rules that need them), or record why it must not. Then pin both single-row and predicate updates and ablate the count. Correct the docs' timezone sentence with the same change.

Likely lane: domain:server, area:data. Related: #37909, #38736, PR #38787.

Activity

  1. added
    finding
    on Nov 30, 2026
  2. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: first-touch · Bug · p3 · pm:queue · domain:server · area:data · finding removed.
    Grading: area:data · Bug · Impeded, narrow (message holes render empty on one seam) · reach: rule messages citing record/previous on objects whose only rules are format/json_schema, under predicate updates · evidence: merged engine code on main, L2 of PR #38787 (7284010448, N1 and N3); not measured.

  3. added
    bug
    domain:server
    pm:queue
    and removed
    finding
    on Nov 30, 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:databugdomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions