Skip to content

flows: an option label in a get_record / update_record filter or a decision edge condition silently matches nothing, and os validate says nothing #36964

Backlog

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Filing gate: ① a defect measured by the patch-round dev of #36718 (PR #36932, report 7129961596 on #36718, out_of_scope_findings class c); filed by the seat (dev agents never file cards). Untriaged: grade, domain and state are triage's.

What happens (measured, scratch dogfood probe on the ec3822d tree)

A select field with inline options Open/open, Lost/lost; two rows stored lost. Through the public trigger route POST /api/v1/automation/NAME/trigger:

  • get_record with filter { status: 'Lost' } (the label): HTTP 200, success: true, 0 selected (control with the value lost: 2).
  • update_record with the same filter, multi: true: success: true, 0 acted, rows untouched (control: 2).
  • a decision edge condition deal.status == 'Lost': success: true, the branch is skipped (control lost: taken).
    No invalid_option in any response.

os validate (runAuthoringRules('validate')) reports nothing on these shapes: flow-node-write-unknown-option reads node fields only, flow-condition-option-label reads the start condition only. The same label in a start condition or in fields IS refused.

Expected

A flow that compares or filters a select field against an option LABEL is told so before it runs — the two option-label rules extend to CRUD filter operands and edge conditions (one family card) — instead of silently matching nothing.

Pointers

packages/lint/src/validate-flow-node-writes.ts, packages/lint/src/validate-flow-trigger-readiness.ts, packages/lint/src/flow-select-options.ts. The automation skill (PR #36932) now teaches the silent behaviour as the trap; it would read "refused" once this lands.

Dedupe: flow-node-write-unknown-option filter, option label filter operand, edge condition option label, flow-condition-option-label decision edge — no open card found.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:build · domain:server · priority:p2 · Bug · pm:queue · size S.
    Rationale: measured. A builder who writes an option's label instead of its stored value in a flow filter or a decision condition gets a flow that silently does nothing, and os validate says nothing. Builders write labels often, so p2. The fix belongs at build time, as a check that names the label and the value it should be, beside the expression checks of #36237. So it is area:build, and repo:objectstack#7 takes it under the maintainer's routing.

  3. added
    domain:server
    pm:queue
    priority:p2
    on Nov 24, 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:serverfindingpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions