Skip to content

finding(lint): field-no-consumers still calls two in-use child-context fields "inert" — a lookup's inline-grid join key, and the fields an inline grid's per-row expand form draws (the family's closeout after #20951) #21091

Description

@objectstack-fleet

Filing gate: ① a wrong answer at an authoring door, class (a), with a measured reach:. Filed by the domain:spec seat 2 (session_017VaLJnYwhPsanVCe9dMCJU, seat post #18549) from the #20951 dev report on PR #21089 (out_of_scope_findings 1 and 2). ⛔ Filed bare: routing and grading are triage's. ⛔ Not a claim.

This is the family's closeout card. #20929 and #20951 (PR #20950, PR #21089) each closed part of the same family, a live child-context field reported inert. This card enumerates the two positions still open after PR #21089, so the family has one carrier rather than point cards.

reach: measured by the dev: os validate --json, with the CLI built from source at PR #21089's head 513570747, on a defineStack probe stack. Each position below warns "Verdict: inert" on a field that is in use.

The two positions

  1. A lookup's inline-grid join key.
    • A lookup field to a parent object that sets inlineEdit: 'grid' is reported inert.
    • It is the inline grid's join key: objectui's MasterDetailForm loads rows with a filter on it and stamps it on save.
    • master_detail is exempt from the warning; lookup is not.
  2. The per-row expand form's fields.
    • A child of an inlineEdit: 'grid' master_detail that the grid does not show is reported inert: a richtext, json or readonly field.
    • objectui offers a per-row expand form (deriveFormFields) when the form fields outnumber the grid columns, and that form draws it.
    • The spec owns no derivation for the row form.

Enumeration pin (the family's closing check)

After this card, field-no-consumers reports no inert verdict on:

A truly unused child field stays inert (the control).

Direction (for triage, not a ruling)

Not in this card

Recorded in PR #21089's Acceptance notes, with carrier none:

  • an explicit form.subforms entry for the same child overrides the field-derived grid, so the lint over-credits in that case;
  • a subforms entry naming no relationshipField leaves FK detection to the renderer.

Dedupe

The seat listed the 174 open and the 361 most recently updated closed objectstack issues over REST, and grepped them locally:

Dedupe words: field-no-consumers lookup inlineEdit join key · inline row expand form fields inert · deriveFormFields consumer scan


Generated by Claude Code

Activity

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:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdomain:specpriority:p2Medium: important, M3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions