Repository navigation
Open
7 / 167 of 16 issues completedOpen
7 / 167 of 16 issues completed
Copy link
Description
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
立卡门类别:专题父单(tracking,无 pm 状态,不派发;子卡各自定级派发)。维护者 2026-11-22 看完分诊对「专题以外的任务」的归类后说:「同意开专题」。
目标
报表、仪表盘和数据集查询给出的数字和数据入口一致;条件不支持时明确拒绝,不悄悄给错数或 0。北极星里「查询和报表里的数字」属于数据与权限这一块的核心功能。
完成标准
- 草稿预览、原生查询、ObjectQL 三条路径在多值字段、文件和图片字段、空键筛选上,与数据入口给出同样的结果或同样的拒绝。
- 同比环比、全局筛选默认值、对比组件的日期键在保存或发布时就检查,不等到查询时才报错。
- 绑定 mongodb 的仪表盘不再静默显示 0,要么修好,要么明确拒绝。
子卡
- analytics: the draft preview answers $contains on a multi-value field as a substring of the stringified array, not membership #36189(p2)草稿预览把多值字段的「包含」当成子串匹配。
- analytics: the native dataset face answers 200 with wrong counts for = / $in / $ne on a single-value image or file field (stored as JSON) where the data door refuses 400 #36190(p2)原生数据集对单值图片、文件字段的 = / in / ≠ 计数错误。
- analytics dataset query answers 200 with empty rows on a mongodb-bound object, so dashboards show 0 #35666(p2,暂停)绑定 mongodb 的数据集答空行,仪表盘显示 0。
- analytics: an empty-string
wherekey answers 500 DATABASE_ERROR on /analytics/query, /analytics/dataset/query and MCP query_dataset, where /data answers 400 INVALID_FIELD #35543 空字符串条件键答 500。 - Chart compare-to (previous period) leaves {current_iso_week} unshifted, so the comparison series filters the same week #35395 同比上期没有平移本周占位符,对比的是同一周。
- Lint does not walk dashboard globalFilters[].defaultValue, so a placeholder typo surfaces only at query time #35396 全局筛选默认值里的占位符写错,要到查询时才发现。
- spec(dashboard): the global filter
fieldTSDoc says the analytics query API serves an undeclared object field as an ad-hoc dimension — false for dataset queries once PR #34198 lands #34307 全局筛选字段的说明许诺了不存在的临时维度。 - dashboard: no save or publish gate judges a compare widget's date key against the dataset's declared dimensions #34308 对比组件的日期键不检查是否是已声明的维度。
- skills(objectstack-ui): the compareTo section does not say a compare widget's date key must be the name of a declared date dimension #34328 技能里同一条日期键规则没写(和 dashboard: no save or publish gate judges a compare widget's date key against the dataset's declared dimensions #34308 一起做)。
- analytics: a cross-object leaf in a dataset measure's own filter served as the engine's semi-join (aggregations[].filter) #33878 度量自身筛选里的跨对象条件被拒绝。
- Dashboard drill: give the list URL a nested-relation filter spelling so a relationship-path drill can offer Open in list #35438 下钻「在列表中打开」需要关联路径筛选的写法。
待维护者定的
- analytics dataset query answers 200 with empty rows on a mongodb-bound object, so dashboards show 0 #35666:先在
os serve下复现,再定 mongodb 报表是支持还是明确拒绝。mongodb 驱动现在整体暂停([裁决] driver-memory / driver-mongodb 投入冻结 —— 维护者 2026-08-05 口径(跨单锚点) #5499),所以本卡保持暂停。 - Chart compare-to (previous period) leaves {current_iso_week} unshifted, so the comparison series filters the same week #35395:同比遇到本周占位符时,是映射到上一周,还是说明原因后拒绝。
- dashboard: no save or publish gate judges a compare widget's date key against the dataset's declared dimensions #34308 / skills(objectstack-ui): the compareTo section does not say a compare widget's date key must be the name of a declared date dimension #34328:日期键在 lint 时检查,还是在发布探测时检查。
- analytics: a cross-object leaf in a dataset measure's own filter served as the engine's semi-join (aggregations[].filter) #33878:要支持度量自身的跨对象筛选,就得扩展引擎(超出 ADR-0139 D2),否则继续拒绝。
Sub-issues
Collapse Sub-issuesSub-issues
Loading 16 sub-issues
Activity
wherekey answers 500 DATABASE_ERROR on /analytics/query, /analytics/dataset/query and MCP query_dataset, where /data answers 400 INVALID_FIELD #35543fieldTSDoc says the analytics query API serves an undeclared object field as an ad-hoc dimension — false for dataset queries once PR #34198 lands #34307