Skip to content

Sweep · area:data · week of 2026-11-20: small low-risk data fixes batched into one PR #35765

Open

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filing gate: ③ maintainer-directed. Ruling-ref: the maintainer, 2026-11-20 ~06:3xZ, verbatim: 「同意」, on triage's proposal to batch small, low-risk, non-urgent work into recurring sweep cards that one seat ships as one PR, to save the per-card fixed cost (session start, CI, review, queue slot, approvals). Asked and answered: 「只有p3可以这样吗」 — not only p3: small p2 also qualifies. ⛔ Not a claim.

维护者速读

  • 是什么:数据领域(查询、权限、记录、审计)的扫尾卡,本周的小改动集中在这里,一个 PR 做完。
  • 为什么:每张小卡单独开发都要走一遍会话、测试、审核和排队,合起来走一次,省掉大部分固定开销,也少很多卡。
  • 收什么:小、风险低、晚几天修也不要紧的 p3 和 p2;不收 p1、错数据、安全项、天天碰到的问题和大改动。
  • 要你做什么:无(涉及受管文件时照常批)。

What enters (triage moves rows here at first touch or in its daily pass)

  • Any p3 small fix, and any p2 that is small (one file or one mechanism), low-risk and not hit daily: shipped-text fixes, review follow-ups with a user effect, minor UI copy.
  • ⛔ Never: p1; a p2 that computes wrong data, is a security item, or breaks a daily path; work of size M or larger; topic children (the topic already batches); claimed or started cards.

How it ships

  • Once a week the lane's seat claims this card and ships one PR of at most ~10 rows that touch unrelated, low-risk spots. Rows it does not reach roll to next week's card of this name.
  • Each row names its source card; the source card is closed as folded and its body stays the detail. The PR lists the rows it closes.
  • The card closes when its PR merges; triage opens next week's card.

Rows

(none yet; triage adds them)

Activity

  1. added
    priority:p2
    pm:queue
    domain:server
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: weekly sweep carrier for area:data (Task); it collects small, low-risk p2/p3 rows so one claimant ships them in one PR, on the maintainer's 「同意」 → p2. Claim it once a week; ship at most about ten rows.

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruling-ref: priority:p3 · maintainer 2026-11-20T06:5xZ, verbatim: 「扫尾卡定p3」

    2026-11-20T06:37Z · p2 → p3 for the data sweep card on the maintainer's word: sweep carriers do not compete with regular p2 work and are picked when the lane has none.

  4. added and removed
    priority:p2
    on Nov 20, 2026
  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor
  6. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    2026-11-20T08:48Z · Two rows added (sweep rule, #35760 row 6).

  7. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    2026-11-20T09:51Z · Row added (sweep rule, #35760 row 6).

  8. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    2026-11-21T12:33Z · Row added (sweep rule), split from #32645 at seat 7's request.

  9. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Row added 2026-11-25T04:37Z, folded from #37208 (repo:objectstack#7, from the #35500 dev's os-dev-report 7152072804).

    • Data API query refusal names the wrong code and slot for $filter. POST /api/v1/data/:object/query with { $filter: { $and: 42 } } is refused with fields: [{ field: 'query.where.$and', code: 'required' }]. The value is present, so the code should be invalid_type, which is what the where spelling answers. The path names the folded slot where, not the $filter the caller sent. Cause: the transport alias fold ($filter → where) runs before FindDataRequestSchema.safeParse, so zodIssuesToFields / valueAtPath read the folded input. Measured by scratch probe at 236c8044acb and on PR fix(spec)!: a query where of the wrong kind answers one fields[] entry that names the shapes it takes #37205's branch; not yet reproduced over HTTP. Done when a wrong-kind $and under $filter answers invalid_type at a path naming what the caller sent (or a documented path), with pins for $filter, where and a valid control.
  10. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Row added 2026-11-25T14:37Z, folded from #37312 (repo:objectstack#7, from #36677's dev report 7164500720, open_questions[0]).

    • Analytics draft preview does not refuse a { $field } reference to the tenant-isolation column. After PR fix(service-analytics): the draft preview resolves a { $field } comparand as the live faces do #37299, queryDataset with previewDrafts compares { label: { $eq: { $field: 'organization_id' } } } like any text column, but the native and ObjectQL faces refuse it INVALID_FILTER / 400 (driver-sql reads the tenant column through resolveTenantFieldName). Options:

      • A (recommended by the dev and the seat): add an optional tenantFieldOf(object) reader to AnalyticsServiceConfig, wired by AnalyticsServicePlugin. It widens an exported type, so it needs a contract call.
      • B: refuse DEFAULT_TENANT_FIELD by name. It over-refuses and misses a custom tenancy.tenantField.
      • C: leave it as a known preview boundary.

      Done when the preview refuses the tenant column on either side as the live faces do, with a pin and a non-tenant control. Re-check with grep -n "TENANT_ROWS" packages/services/service-analytics/src/__tests__/preview-field-reference-36677.test.ts.

  11. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Row added 2026-11-25T18:32Z, folded from #37333 (repo:objectstack#7, from #37320's dev report 7169952468, out_of_scope_findings). Take this row after PR #37331 merges.

    • driver-sql MySQL: a TEXT column's declared default is still lost on three paths. On MySQL, knex drops every DEFAULT on a text builder, and MySQL refuses a literal DEFAULT on TEXT. Only the expression form DEFAULT ('…') keeps one, and PR fix(driver-sql): a MySQL TEXT column carries its declared literal default #37331 uses it on ADD COLUMN with a literal default. The three paths:

      1. A text field with defaultValue: 'NOW()' gets no column DEFAULT.
      2. The MySQL relax_not_null / tighten_not_null arms of applyDriftOpInPlace restate the column via MODIFY without its DEFAULT.
      3. A declared-default change on a MySQL TEXT column is not restated. Tables created before fix(driver-sql): a MySQL TEXT column carries its declared literal default #37331 carry no DEFAULT, and nothing reports it.

      Re-check: grep -n "specificType(name, 'text')" packages/drivers/driver-sql/src/*.ts, then read applyDriftOpInPlace's MySQL arms. Done when each path keeps or restates the default on live MySQL, with a pin per path and a non-TEXT control.

  12. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Row added 2026-11-28T14:00Z, folded from #38253 at first touch (sweep rule; p3, size S, domain:server).

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:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions