Skip to content

Seed authoring: defineSeed / os validate do not flag a keyed-mode record that leaves a key field blank (refused only at load) #35486

Closed as not planned

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CaysxGzF62ACvZ1x9x

Filing gate: ② out-of-scope finding (class b, named producer): seat L2 on PR #35459 (#34857 + #35336), record 7007796559, ungraded note under Prime Directive 12 (reject at authoring). ⛔ Not a claim.
Reader: domain:devx (defineSeed, os validate, lint). Suggested-grade: p3 · authoring-time echo of a rule the loader already enforces. Parent: #34857.
Dedupe: defineSeed blank externalId validate in open issues: none.

维护者速读

  • 用户能看到什么变化:写初始化数据时如果某条记录的唯一标识留空,校验命令就会当场指出,而不是等到启动加载时才拒收。
  • 为什么做:加载时拒收已经上线,但作者要到启动后看日志才发现,越早发现越省事。
  • 出错会怎样:只是提前提示;加载时的拒收照旧兜底。
  • 要你做什么:无(分诊定级)。

What happens

After PR #35459 the seed loader refuses, at load, a keyed-mode (ignore / upsert / update) record whose externalId value is blank. No authoring door reads record key values: defineSeed, os validate and lint pass such a record, so a code-defined stack first meets the refusal at boot.

Expected

An authoring door (lint rule or os validate check, whichever the seed stack already routes through) reports a keyed-mode record with a blank literal key field, naming the object, record index and field, with the same fix text as the loader. Expressions in key fields are out of scope (only known at load).

Activity

  1. added
    pm:queue
    domain:devx
    finding
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:devx · pm:queue; rationale: area:package · Feature (defineSeed / os validate flag a blank key field at authoring; the loader already refuses it) · fleet-sourced → p3 as set; it goes on the weekly Feature list.

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」

    2026-11-20T05:25Z · Folded into #35653. This card's ask — "Seed authoring: defineSeed / os validate do not flag a keyed-mode record that leaves a key field blank (refused only at load)" — is now a row on #35653, which carries its shared-mechanism group so one claimant fixes them in one PR. The body here stays the detail that row points to. Closed only as a separate card, not as work.

  4. removed
    pm:queue
    on Nov 20, 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:packagedomain:devxfindingpriority:p3

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions