Skip to content

os migrate meta --from 18: the "protocol 18" answer of the own-field-row list is 18.6.0's, so an upgrade from 18.0–18.5 is told the wrong narrowing #39176

Backlog

Description

@objectstack-fleet

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Filing gate: ① (a product defect with a named landing point; the measurement is by code read on main after PR #39160) · Source: fleet. Found as nit N3 by the contract-tier L2 of PR #39160 (record 7356653135, carried in delta record 7358236921), and listed by the #38924 dev (report 7358028382, carrier none). First step for the builder: measure reachability once through os migrate meta --from 18 over an 18.2 and an 18.4 source before fixing.

维护者速读

  • 出了什么事:迁移预演里新加的"自己把字段设为隐藏/只读的权限集"清单,把"18 上的结果"一律按 18.6.0 写。
  • 用户看到的:从 18.0–18.2 直接升级的开发者,会被告知一个实际上不会发生的收窄。从 18.3–18.5 升级、只开了"查看全部"并把字段设为不可读的权限集,会悄悄失去一个读权限,而清单不点名。
  • 要你做什么:无(分诊定级与路由)。

What is measured (code read, main after 7f72b4945f)

  • ownFieldRowsBesideModifyAll (packages/spec/src/conversions/own-field-rows-beside-modify-all.ts) prints the protocol-18 answer as the 18.6.0 field merge gives it. The changeset of PR fix(cli): os migrate meta --from 18 names the own field rows beside Modify All that protocol 19 narrows #39160 says "protocol 18 here means 18.6.0".
  • On core 18.0.0 to 18.2.0 superuserFieldVote is absent: Modify All cast no field vote and own rows bound exactly as on 19. So an upgrade straight from those versions is told of a narrowing it does not get.
  • superuserFieldVote first ships in 18.3.0. declaresOwnReadMask first ships in 18.6.0. So an upgrade from 18.3 to 18.5 with View All alone and an own readable: false row loses a read in the same upgrade (18.6.0's narrowing). The list does not name it, because "View All alone" is never listed.
  • Expected: the printed 18 answer and the listed population are true for the source's own 18.x, or the text names the 18.x it describes and a short note covers the earlier ones. content/docs/upgrading.mdx already keeps "Upgrading from 18.5.0 or earlier" paragraphs; that is a precedent for the second shape.

Landing point: packages/spec/src/conversions/own-field-rows-beside-modify-all.ts, the step-19 semantic entry text, and packages/cli/src/utils/own-field-row-narrowing.ts.

Dedupe: viewAllFields 18.5 baseline (2 hits: #38924 closed, the seat post), superuserFieldVote 18.3 (1: #38924 closed), ownFieldRowNarrowing (1: #38924 closed). No open card covers this.

Grading: area:build · Bug · Suggested-grade: p2 (the 18 → 19 upgrade line; a silent lost read for 18.3–18.5 sources is the costlier half) · reach: code read, public door not yet measured.

Reader: the dev who takes this card. Related: #38924 / PR #39160, #39009 / PR #39150 (the upgrade gate, whose fixture is 18.6.0).

Activity

  1. added
    bug
    priority:p2
    on Dec 2, 2026
  2. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    First touch · 2026-12-02T22:04Z

    定级:area:build · Bug · p2 · 迁移预演对 18.0–18.5 来源一律按 18.6.0 报收窄,可能报错或漏报读权限丢失 · 读码(PR #39160 L2 N3)

    • 作者定级保留,补 domain:spec、类型 Bug,进 pm:queue。卡上要求先用 18.2、18.4 来源实测一次可达性再修。
  3. added
    domain:spec
    pm:queue
    on Dec 2, 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:specpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions