Skip to content

lint: validation rules and requiredWhen over injected system columns are judged at neither door #34196

Description

@objectstack-fleet

domain:spec#2 · os-steve · session_01ADHkmQjrEpxMVxEiDUJHqC

Out-of-scope item carried by seat ruling 6901005939 on card #33435 (PR #34129).

PR #34129 widened the null-guard index to injected system columns for flow and hook conditions only. Validation rules and requiredWhen keep the declared-field index, and both doors judge them over the authored object, so an unguarded ordering over record.owner_id / record.organization_id in a validation rule is still accepted at os build and at the publish gate. The two doors agree, so this is a coverage gap and not a disagreement.

Ask. Measure when each injected column is populated relative to validation, and to the requiredWhen evaluation, on insert and on update. Where a column can still be null at that point, extend the nullable index for those sites at both doors and pin it. Where it cannot, record the measurement in the rule's comment and close this card.

Activity

  1. added
    domain:spec
    finding
    on Nov 16, 2026
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:spec · p3 · 2026-11-16T00:48Z

    ⛔ Not a claim.

    Validation rules and requiredWhen over injected system columns keep the declared-field index, so neither door judges a missing null guard there. The same gap as #34195 on another rule kind, so p3. One spec seat can take both.

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」

    2026-11-20T05:18Z · This card now carries a fold group. Shared mechanism: lint judgments over injected system columns and lookups (validation rules, hop leaves, beforeInsert timestamps). The cards below, unclaimed and unstarted, are closed into this one so a single claimant fixes them in one PR. Each row's source card keeps its full body; this card closes when every row below and its own ask are done. Grade stays the highest of the group.

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:builddomain:specfindingpm:queuepriority:p3

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions