Skip to content

docs: the ObjectQL schema page still says to enable trackHistory for reading field changes on the record page, while the default activities timeline already shows a changed field's old and new values (follow-up of #38154) #38298

Backlog

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Filing gate: ① (b) follow-up of #38154. The L2 contract review on PR #38281 (7238698762, out-of-diff note) found that content/docs/protocol/objectql/schema.mdx ~258, which landed with PR #38238, still tells readers to enable trackHistory for the need that the skill eval 9 (PR #38281) now answers with the default timeline. Source: fleet.
Grading: area:build · domain:docs · Bug · p3 · reach: an author reading the schema page who turns on a flag they may not need, or concludes that field changes are invisible without it. Nothing breaks either way.
Dedupe: "trackHistory When to enable schema.mdx" → only #38154.

维护者速读

  • 问题:文档「何时开启 trackHistory」一节说,要在记录页看到谁改了哪个字段就得开它;而技能评测和字段历史模型说,默认开着的 activities 时间线已经显示改动字段的旧值和新值。两处说法对不上。
  • 修法:先对照代码确认 trackHistory 在默认时间线之外还多给了什么,再把这一节改成一句准确的话。
  • 要你做的:无。

Ask

  1. On main, read what trackHistory: true adds on the record page beyond the default activities timeline with fieldHistory. Cite the code.
  2. Rewrite the "When to enable" bullet (and the "Performance Impact" bullet if it is also off) at ~254-258 so it states that difference, in the same terms as eval 9's expected_output and the spec describe docs: the docs and spec comments describe trackHistory by the field-history model #38238 aligned.
  3. Run the docs gates. A docs-only change carries skip-changeset if the docs package is private.

Size: XS
Related: #38154, PR #38238, PR #38281.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Triage: lands in content/docs/protocol/objectql/schema.mdx (~L254, L258) · area:build · domain:docs → domain:devx (domain:docs is not in the domain table) · Bug · p3 → p2 · pm:queue · size XS. Rationale: the page tells readers to enable trackHistory to read field changes. But object.zod.ts (~L366) says trackHistory adds the field changes to the record page timeline, while old→new values belong to enable.fieldHistory. A wrong sentence in a shipped document is a Bug with reach "builders, often", and every severity in that column is p2 (the fleet p3 was bot-set). Keep the card's ask 1: read the code first, since L258 may be ambiguous rather than wrong. A single card: no devx sweep is open.
    Path: none
    Grade: area:build · Bug · Impeded (a misleading doc sentence) · reach: builders, often · evidence: read (origin/main).

    Recorded 2026-11-28T14:11Z.

  3. added
    domain:devx
    priority:p2
    and removed on Nov 28, 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:devxpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions