Skip to content

lookup dependsOn: the import-mappings docs overstate the new lint's reach, and a tree field's formula filter key is still found only at import #37936

Backlog

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (contract review record 7217810288 on PR #37910, nits N1 and N2, accepted as deviations at ACCEPT)

What happens

PR #37910 (Fixes #37717) refuses at author time a lookup whose dependsOn filter key names a formula of its target. Two edges stay open:

  • N1 (docs). content/docs/data-modeling/import-mappings.mdx says an import meets the could-not-look-up sentence "only on metadata stored before that check". The lint does not see a target object outside the validated stack on the CLI, a target field changed from stored to formula after the owning object was published, or a reference field of a type outside the picker set (N2). Expected: the sentence names those cases, or says "mostly".
  • N2 (rule reach). The importer scopes by dependsOn on every type in IMPORT_REFERENCE_TYPES (adding tree and legacy reference), while the lint judges the referenced half only on lookup, master_detail and user. A tree field with a formula filter key is still found only at import. The spec's dependsOn text declares scoping for lookup/master_detail only. Expected: either the lint covers the importer's set, or the importer stops scoping types the spec does not declare it for; say which.

Grade: area:data · documentation · reach: one docs sentence and one lint boundary · evidence: the record above
Suggested-grade: p3
Size: XS
Related: #37717, PR #37910.

Activity

  1. added
    pm:queue
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:docs · Task · p2 · pm:queue · size XS; rationale: N1, the import-mappings docs page overstates what the new lookup dependsOn lint catches, is wrong shipped text (p2). N2, a tree field formula filter key still found only at import, rides along. Recorded 2026-11-27T12:14Z.

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:datadomain:docspm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions