Skip to content

review follow-ups of PR #37840 #37848

Done
Done

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Filing gate: ① candidate (measure first) · Source: fleet (contract-review-tier L2 record 7211713497 on PR #37840, nit N4; L1-a asked the seat to file or drop)

Items

Business reason

A flow author (or an AI) who writes a date condition gets the refusal at save, not a run-time failure of the automation. PR #37840 closes one spelling; this item checks the sibling spelling the reviewer read.

Priority: p2 — same grade and class as #36377 if it reproduces. Suggested-grade: p2 · measure-first sibling of #36377.
Reader: seat repo:objectstack#3, zone o3-build (area:build), after PR #37840 merges (same files).
Blocked-by: #37840 (merge)
Dedupe: searched review follow-ups of PR 37840 (0) and date arithmetic today record due_date (22 hits, all closed siblings of the #34946/#34363 family or the open #36377 itself), open and closed.
Related: #36377, PR #37840, #36333.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:build · domain:engine · Bug · p2 · pm:blocked · size XS; rationale: a measure-first candidate. A mixed today() arithmetic spelling may still pass validation and then fail at run time, the class of #36377 (p2). If the measurement after PR #37840 does not reproduce it, the card is ticked with the reading and closed. It waits on #37840, as its Blocked-by: line says. Graded, not chased (area:build has no seat). Recorded 2026-11-27T07:14Z.

    Blocked-by: #37840

  3. added
    domain:server
    on Nov 27, 2026
  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 27, 2026
  5. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Closing · 2026-11-28T03:41Z · N4 does not reproduce, measured on origin/main 5b8ca36 (with #37840). Full table: /mnt/project-files/card-37848/pre-claim-report-5b8ca361.md.

    • N4. due_date > "2026-01-01" && today() + 30 > record.due_date and the bare variant … && today() + 30 > today() are refused at all three doors. os validate (a real CLI process) exits 1 with valid: false and one expression-invalid finding: "invalid CEL predicate: no such overload: google.protobuf.Timestamp + int". The publish door (publishMetaItem) answers INVALID_METADATA / 422 and the draft stays a draft. The flow runtime's registerFlow throws the same error, and the flow is not registered.
    • The refusal is CEL's own type check, so the bare comparison in front, and its order, do not matter. The masking N4 described happens only at the date-text checks, which the CEL check does not depend on.
    • Control: due_date > "2026-01-01" && record.due_date < today() passes at all three doors.
    • A sibling defect that does reproduce, addDays(today(), N) against a date field, moves to its own card, filed next.
  6. removed
    pm:queue
    on Nov 28, 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:serverpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions