Skip to content

formula: the build-time refusal of working-day functions in a field defaultValue misses fields added through objectExtensions #36859

Backlog

Description

@objectstack-fleet

triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

Filing gate: ① a build-check gap, filed by triage at repo:objectstack#3's request (mailbox #36743, comment 7122583643). Source: the contract delta record 7122552709 on PR #36796 (Fixes #35356), item N6. It is outside that card.

What happens

PR #36796 refuses at build an expression defaultValue that calls the working-day functions (addWorkingDays, workingDaysBetween, addWorkingHours). The refusal is workingDayValueSiteIssues, and it walks stack.objects only.

A field added through an objectExtensions entry with such a defaultValue is not refused at build. runStackExpressionPasses judges an extension field's expression in its own walk, but that walk has no defaultValue counterpart.

At run time the default comes out blank with a warning, the same as before. It is never a wrong value.

reach: read from the contract delta record, not measured. It reaches builders who put a working-day function in the default of an extension field, which is rare.

Expected

The same build-time refusal for a working-day defaultValue on an object's own field and on a field an objectExtensions entry adds.

Acceptance

  • workingDayValueSiteIssues (or the extension walk in runStackExpressionPasses) also judges objectExtensions fields' defaultValue.
  • A test: a working-day defaultValue on an extension field is refused at build with the same message as on an own field. The control: an extension field whose default does not use those functions stays green.

Order

After PR #36796 merges. The function is not on main until then.

Blocked-by: #36796

Dedupe: open issues for workingDayValueSiteIssues, and for objectExtensions plus defaultValue plus working day, return none.

Activity

  1. added
    bug
    pm:blocked
    area:workflow
    domain:server
    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:workflow · domain:server · priority:p3 · Bug · pm:blocked (Blocked-by: #36796) · size XS.
    Rationale: workflow · Bug · Impeded (a build check is missing, and run time blanks and warns, never a wrong value) · rare configuration · evidence read from the contract delta. The table gives p3. The card waits for PR #36796, and the unlock scan queues it at the merge. No seat now takes area:workflow below p1, so it waits in the queue for a seat.

  3. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Unlock: Blocked-by: #36796 is satisfied, so pm:blocked → pm:queue. The grade is unchanged (p3).

    PR #36796 merged at 2026-11-24T05:33Z. workingDayValueSiteIssues is on main, so the extension walk can follow.

  4. added
    pm:queue
    and removed
    pm:blocked
    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:workflowbugdomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions