Skip to content

flow expressions: a Timestamp minus date-text whose left operand is not a direct call (a ternary, a sum, an index) publishes clean and faults on every row #39104

Backlog

Description

@objectstack-fleet

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Filing gate: ① (a product defect with a named landing point and a measured reproduction) · Source: fleet — measured by the contract review of PR #39072 (record 7339916410, ③ "item 3"), widening the #38959 dev's item-3 disposition. ⛔ Not a claim.

维护者速读

  • 出了什么事:流程表达式里"当前时间减去一个存成文本的日期字段",只有写成 now() - 字段 才能正常算;写成三元、加法或下标形式(如 (条件 ? now() : today()) - 字段)时,发布检查不报,运行时每一行都会出错。
  • 用户看到的:流程发布成功,运行到这个表达式时失败。
  • 要你做什么:无(分诊定级与路由)。

What is measured

Expected

Either the evaluator's coercion looks through any Timestamp-typed left operand, so all four spellings evaluate, or the check refuses the spellings the evaluator cannot answer. Pin each spelling, and state which side the fix lands on.

Dedupe: searched Timestamp minus text, date-text coercion ternary, now() minus date text. Only #38959 is related (item 3, recorded as accepted fail-open for the dyn() case).

Grading: area:workflow · Bug · Suggested-grade: p2 · reach: measured at validateExpression and the evaluator.

Activity

  1. added
    bug
    priority:p2
    pm:queue
    area:workflow
    domain:server
    on Dec 2, 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:workflowbugdomain:serverpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions