Repository navigation
chore: version packages - #29963
Merged
Merged
chore: version packages#29963
Conversation
github-actions
Bot
requested review from
hotlong and
os-zhuang
as code owners
November 3, 2026 18:11
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 4, 2026 00:17
8c9ae6a to
ab21b6b
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 4, 2026 06:11
ab21b6b to
59668ff
Compare
This was referenced Nov 4, 2026
github-actions
Bot
force-pushed
the
changeset-release/main
branch
6 times, most recently
from
November 5, 2026 18:10
0efa9fe to
7aaafa2
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 6, 2026 00:18
7aaafa2 to
8683ee9
Compare
This was referenced Nov 6, 2026
github-actions
Bot
force-pushed
the
changeset-release/main
branch
5 times, most recently
from
November 7, 2026 06:12
ca03fe0 to
14c4cbd
Compare
This was referenced Nov 7, 2026
github-actions
Bot
force-pushed
the
changeset-release/main
branch
4 times, most recently
from
November 8, 2026 06:11
e9b4955 to
5bb3bfb
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 13, 2026 10:13
22305a6 to
ed09814
Compare
Contributor
Author
📓 Docs Drift Check
What this run could not see
Coarse fallback — 206 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
os-zhuang
enabled auto-merge
November 13, 2026 10:35
This was referenced Nov 13, 2026
This was referenced Nov 13, 2026
scbdzhwl
pushed a commit
to scbdzhwl/objectstack-analysis
that referenced
this pull request
Nov 16, 2026
…mes the report's package as the reader, and the chart colour probe's non-2xx guard is pinned (ADR-0150 D3) (objectstack-ai#33366) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XGTThyGEDtuYZPLNEPFrFRn)_ Fixes objectstack-ai#32760 Clause-②: yes (widening) Metadata-protocol: none ## 维护者速读 - 改了什么:报表点击下钻时,如果服务端答复里没有现成的下钻过滤条件,控制台会再读一次数据集定义来拼过滤条件;这次读取现在带上报表所属包作为读者包(`?callerPackage=`),和报表自己的查询解析到同一个数据集。为此 `MetadataClient.get` 新增一个可选的 `callerPackage` 参数。另给图表颜色探测的「非 2xx 不解析」守卫补了一个能区分它的测试。 - 为什么改:卡 objectstack-ai#32760 的三项复核遗留。第 1 项(32077 changeset 的 BREAKING 句)已随 18.4.0 一起发布,无文件可改,按卡的说明撤销。第 3 项实测发现这条「旧服务端」分支在当前服务端上也会走到:按 `type: 'date'` 且没有 `dateGranularity` 的维度分组的报表,服务端只给 `object` 不给下钻元数据,点击就落到这里,原来按裸名读取,包里的报表可能读到别的包的同名数据集,或两包同名时 `409`。 - 风险与回滚:风险低。只放宽(新增可选参数,不传时请求字节不变);无元数据、存储或 spec 变化。读取被拒时不下钻、不退回裸名重试。回滚即 revert 本 PR。 - 先看:`ui/packages/app-shell/src/views/ReportView.tsx` 的 `handleDatasetDrill`(回退分支带读者包);`ui/packages/data-objectstack/src/metadata-client.ts` 的 `MetadataGetOptions.callerPackage` 与 `readItemResponse`;`ui/packages/app-shell/src/views/ReportView.drillCallerPackage-32760.test.tsx`(用真实报表渲染器点击行)。 - 两分钟验证:`pnpm --dir ui exec vitest run packages/app-shell/src/views/ReportView.drillCallerPackage-32760.test.tsx packages/data-objectstack/src/metadata-client.callerPackage-32760.test.ts`,预期 7 个全绿。 - 需要你做的:无,席位落地。 ## What changes The card's three items, each re-measured on `origin/main` (`71ade1ae`). - **Item 1 dropped (as the card says to when a release cuts between).** `.changeset/32077-dataset-query-package.md` is not on `origin/main`: it shipped in 18.4.0 (PR objectstack-ai#29963) together with objectstack-ai#32629's changeset, and both are in the 18.4.0 sections of `plugin-charts`, `plugin-report`, `plugin-dashboard` and `data-objectstack` `CHANGELOG.md`. objectstack-ai#32629's own 18.4.0 entry already states what happens to the 32077 BREAKING note (the dependency case is served again; `outside-closure` is the residual break, with its fix). No changeset is edited here. - **Item 2, the colour probe's non-2xx guard is pinned.** `ObjectChart.optionColors.test.tsx` gains a row in the ADR-0150 D3 describe: a `409` whose body also carries a definition naming `task` (beside the ADR-0112 error). Without the guard the probe parses that body, reads `meta/object/task` and relabels `todo` as `To do` from a dataset the server refused to resolve. With it: one request (the refused definition read), raw labels, no colours. The existing `409` row stays as it is; it cannot tell the guard apart because its envelope names no object (objectstack-ai#32629's A10). - **Item 3, the ReportView drill fallback sends the reader's package.** Measured: the branch is not old-server-only, so it is not deleted. - `queryDataset` (`service-analytics`) sets `object` on every dataset answer. It sends `dimensionFields` / `drillRawRows` only for dimensions with a `field` and a type other than `date`, and `drillRanges` only for a date dimension with a `dateGranularity`. `DatasetDimensionSchema` makes `dateGranularity` optional, so a report grouped by a `type: 'date'` dimension with no granularity gets `object` and `drillScopes` but no exact filter. The renderer then emits the drill with no `objectFilter` (`DatasetReportTable`'s `drill`), and `handleDatasetDrill` takes the fallback, which read `metadataClient.get('dataset', NAME)` bare. - The fallback now reads it as the report's reader: `{ callerPackage: servedPackageId(editSchema || reportData) }`, the same served package the renderer's `ReportPackageContext` gives every selection (the renderer receives `previewReport`, the same `editSchema || reportData`). A report authored in the environment sends none. A refusal is caught as before (`ReportView: drill failed`), so no drawer opens and nothing is retried bare. - `MetadataClient.get` had no caller arm: its `packageId` is the exact qualifier `?package=` (D5), which refuses a dataset only a dependency holds. `MetadataGetOptions` gains an optional `callerPackage`, sent as `?callerPackage=` (the `/meta` door's D3 arm, `META_ITEM_CALLER_PACKAGE_PARAM` in `packages/rest/src/meta-item-read-gate.ts`), omitted when absent or empty. Using the client keeps the console's one authenticated meta transport and its `?preview=draft` overlay, which a hand-rolled `fetch` would lose. The door refuses `callerPackage` beside `package` (`400`) and on any type but `dataset`; the client sends what it is given and does not pick between them. - The comment above `handleDatasetDrill` now says when the fallback runs and how it reads. - Changeset `.changeset/32760-report-drill-caller-package.md`: `@object-ui/data-objectstack`, `@object-ui/app-shell` (private) and `@object-ui/console` (ships app-shell), patch. `plugin-charts` changes a test file only, which its `files[]` (`dist`) does not ship. ## Tests - `ui/packages/plugin-charts/src/ObjectChart.optionColors.test.tsx`: "a refusal whose body names the object is still a refusal: no object read, theme palette kept". - `ui/packages/app-shell/src/views/ReportView.drillCallerPackage-32760.test.tsx` (new). It renders the real `ReportView` with the real report renderer, answers the current server's shape for a date dimension with no granularity, and clicks the `dataset-drill-row`, so the fallback is reached through the input pipeline a user drives: - `READS_AS_THE_REPORTS_READER`: one definition read, `('dataset', 'task_metrics', { callerPackage: 'com.acme.app' })`, and the drawer opens on `task` with `{ due_date: '2026-03-01' }`. - `ENVIRONMENT_REPORT_READS_BARE`: a report with no `_packageId` reads with `{}`. - `REFUSAL_IS_NO_DRILL`: a rejected read is logged once, never retried, no drawer. - `FAST_PATH_CONTROL`: an answer with `dimensionFields` / `drillRawRows` drills with no definition read. - `ui/packages/data-objectstack/src/metadata-client.callerPackage-32760.test.ts` (new): `?callerPackage=` sent and never as `?package=`; encoded and beside `?preview=draft`; CONTROL, omitted or empty sends no parameter. - Ablations (one-off, `scripts/ablation-replace.mjs`, each restore proven `blob == HEAD` and `git diff HEAD` empty; `@object-ui/*` resolves to `src` through the vitest aliases, so no rebuild): | leg | mutation | pinning file(s) | result | |:---|:---|:---|:---| | B1 | probe guard `if (!defRes.ok)` made never-true | `ObjectChart.optionColors.test.tsx` | 1 failed / 11 (the new row: `expected 'To do' to be 'todo'`); the old `409` row stays green | | B2 | ReportView fallback passes `{}` whatever the package | the two new files | 2 failed / 7 (`READS_AS_THE_REPORTS_READER`, `REFUSAL_IS_NO_DRILL`) | | B3 | client never pushes `callerPackage=` | the two new files | 2 failed / 7 (the two client rows that send one) | ## Acceptance notes - **Item 3 route.** The order's PM hypothesis preferred deletion if no supported server reaches the branch. The measurement above shows the current server reaches it, so the ruling's other arm applies. Deleting it would leave a date-grouped report with no drill at all (the renderer emits no `objectFilter` for it). - **The claim was amended for this route** (comment 6880606745): `Clause-②: yes (widening)`, the file surface plus `ui/packages/data-objectstack/src/metadata-client.ts` and its test. `Metadata-protocol: none`: no metadata shape, schema, stored row or authorable key changes. - **Seen, not filed (read-only inference).** On that fallback, a `type: 'date'` dimension with no granularity filters its field by the clicked group value as the answer shows it (`filter[due_date] = '2026-03-01'` here). Whether the server's label pass rewrites such a value before the client sees it was not measured; the drill result for those reports is therefore not claimed correct beyond the dataset it reads. The fallback still ignores the `object` the current server sends and takes the definition's. - `ObjectChart.tsx` is not edited; the guard was only ablated. ## Verification All readings on head `c72c8a04` unless noted (base `origin/main` `71ade1ae`). Every number is from a shared box under `scripts/pm/os-verify-lock.sh`. - build: `pnpm --filter '@object-ui/app-shell^...' --filter '@object-ui/plugin-charts^...' build` (plus the `@objectstack` spec, formula, client, lint and sdui-parser closures), lock `VERDICT command-exit 0`. - type-check: `@object-ui/data-objectstack`, `@object-ui/app-shell` (`tsc --noEmit` and `tsconfig.test.json`), `@object-ui/plugin-charts` (both): each `VERDICT command-exit 0`. - suites: `pnpm --dir ui exec vitest run packages/data-objectstack/ packages/plugin-charts/ packages/app-shell/src/views/ReportView`: 229 files passed, 2755 tests passed, 9 skipped, `VERDICT command-exit 0` (head `4afe687a`; the last commit only adds a module-top import to the new ReportView test, which was re-run alone on `c72c8a04`: 4/4). - derived gates: `dispatch-gates --ran` reads 37 derived, 37 run, each `exit 0`, 0 NOT-MEASURED, 0 UNRUN. The first pass (head `4afe687a`) had one red, `check:test-source-alias` on the new ReportView test (a dynamic `import('@objectstack/lint')` reached through `ReportConfigPanel`); fixed by the module-top import, then all 37 re-run on `c72c8a04`. - `check:type-check-debt`: 0 ledger entries re-measured for this diff (none of the touched packages is in the ledger). <details><summary>Derived gate record (c72c8a0)</summary> ```text node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0 node scripts/check-adr-0087-registration.mjs --self-test :: exit 0 node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0 node scripts/check-closing-keyword-parity.mjs :: exit 0 node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0 node scripts/check-comment-mask-corpus.mjs :: exit 0 node scripts/check-empty-changeset.mjs --base origin/main :: exit 0 node scripts/check-empty-changeset.mjs --self-test :: exit 0 node scripts/check-sdui-manifest.mjs :: exit 0 node scripts/check-sdui-manifest.mjs --self-test :: exit 0 node scripts/ci/snapshot-next.mjs --self-test :: exit 0 node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0 node scripts/release-pending-publish.mjs --self-test :: exit 0 pnpm --dir ui exec vitest run scripts/ :: exit 0 pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0 pnpm --filter @objectstack/spec run check:error-code-provenance :: exit 0 pnpm check:changeset-gate-self-tests :: exit 0 pnpm check:closed-ceremony-text :: exit 0 pnpm check:cross-package-test-inputs :: exit 0 pnpm check:dispatcher-error-vocabulary :: exit 0 pnpm check:driver-memory-census :: exit 0 pnpm check:engine-double-contract :: exit 0 pnpm check:gitlink-declared :: exit 0 pnpm check:nul-bytes :: exit 0 pnpm check:published-files :: exit 0 pnpm check:query-options-erasure :: exit 0 pnpm check:refd-timer-probe :: exit 0 pnpm check:registry-log-declared :: exit 0 pnpm check:rest-log-spy-declared :: exit 0 pnpm check:skill-identifier-liveness :: exit 0 pnpm check:test-source-alias :: exit 0 pnpm check:tier-file-adoption :: exit 0 pnpm check:type-check-coverage :: exit 0 pnpm check:type-check-debt :: exit 0 pnpm check:undeclared-dep-imports :: exit 0 pnpm check:watch-hint-literal :: exit 0 pnpm check:where-matcher :: exit 0 ``` </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5muSKmXfKL9WVj7dKY)_ --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: objectstack-fleet[bot] <332303061+objectstack-fleet[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@objectstack/cli@18.4.0
@objectstack/cloud-connection@18.4.0
@objectstack/core@18.4.0
@objectstack/driver-sql@18.4.0
@objectstack/driver-turso@18.4.0
@objectstack/formula@18.4.0
@objectstack/lint@18.4.0
@objectstack/mcp@18.4.0
@objectstack/metadata@18.4.0
@objectstack/metadata-core@18.4.0
@objectstack/metadata-protocol@18.4.0
@objectstack/objectql@18.4.0
@objectstack/platform-objects@18.4.0
@objectstack/plugin-audit@18.4.0
@objectstack/plugin-auth@18.4.0
@objectstack/plugin-email@18.4.0
@objectstack/plugin-security@18.4.0
@objectstack/plugin-sharing@18.4.0
@objectstack/plugin-webhooks@18.4.0
@objectstack/rest@18.4.0
@objectstack/runtime@18.4.0
@objectstack/service-analytics@18.4.0
@objectstack/service-automation@18.4.0
@objectstack/service-datasource@18.4.0
@objectstack/service-messaging@18.4.0
@objectstack/service-push@18.4.0
@objectstack/skills@18.4.0
@objectstack/spec@18.4.0
@objectstack/verify@18.4.0
@object-ui/components@18.4.0
@object-ui/core@18.4.0
@object-ui/fields@18.4.0
@object-ui/i18n@18.4.0
@object-ui/plugin-grid@18.4.0
@object-ui/plugin-list@18.4.0
@object-ui/types@18.4.0
@objectstack/hono@18.4.0
@objectstack/account@18.4.0
@objectstack/setup@18.4.0
@objectstack/studio@18.4.0
@objectstack/client@18.4.0
@objectstack/client-react@18.4.0
@objectstack/connector-mcp@18.4.0
@objectstack/connector-openapi@18.4.0
@objectstack/connector-rest@18.4.0
@objectstack/connector-slack@18.4.0
create-objectstack@18.4.0
@objectstack/driver-memory@18.4.0
@objectstack/driver-mongodb@18.4.0
@objectstack/driver-odata@18.4.0
@objectstack/driver-sqlite-wasm@18.4.0
@objectstack/metadata-fs@18.4.0
@objectstack/observability@18.4.0
@objectstack/embedder-openai@18.4.0
@objectstack/knowledge-memory@18.4.0
@objectstack/knowledge-ragflow@18.4.0
@objectstack/organizations@18.4.0
@objectstack/plugin-approvals@18.4.0
@objectstack/plugin-dev@18.4.0
@objectstack/plugin-hono-server@18.4.0
@objectstack/plugin-pinyin-search@18.4.0
@objectstack/scenarios@18.4.0
@objectstack/service-cache@18.4.0
@objectstack/service-cluster@18.4.0
@objectstack/service-cluster-redis@18.4.0
@objectstack/service-i18n@18.4.0
@objectstack/service-job@18.4.0
@objectstack/service-knowledge@18.4.0
@objectstack/service-mailbox@18.4.0
@objectstack/service-package@18.4.0
@objectstack/service-print@18.4.0
@objectstack/service-queue@18.4.0
@objectstack/service-realtime@18.4.0
@objectstack/service-settings@18.4.0
@objectstack/service-sms@18.4.0
@objectstack/service-storage@18.4.0
@objectstack/trigger-api@18.4.0
@objectstack/trigger-record-change@18.4.0
@objectstack/trigger-schedule@18.4.0
@objectstack/types@18.4.0
@object-ui/console@18.4.0
@object-ui/auth@18.4.0
@object-ui/cli@18.4.0
@object-ui/collaboration@18.4.0
@object-ui/data-objectstack@18.4.0
@object-ui/layout@18.4.0
@object-ui/mobile@18.4.0
@object-ui/permissions@18.4.0
@object-ui/plugin-calendar@18.4.0
@object-ui/plugin-charts@18.4.0
@object-ui/plugin-chatbot@18.4.0
@object-ui/plugin-dashboard@18.4.0
@object-ui/plugin-designer@18.4.0
@object-ui/plugin-detail@18.4.0
@object-ui/plugin-editor@18.4.0
@object-ui/plugin-form@18.4.0
@object-ui/plugin-gantt@18.4.0
@object-ui/plugin-kanban@18.4.0
@object-ui/plugin-map@18.4.0
@object-ui/plugin-markdown@18.4.0
@object-ui/plugin-report@18.4.0
@object-ui/plugin-timeline@18.4.0
@object-ui/plugin-tree@18.4.0
@object-ui/plugin-view@18.4.0
@object-ui/react@18.4.0
@objectstack/connector-imap@18.4.0
@objectstack/console@18.4.0
@objectstack/sdui-parser@18.4.0
@object-ui/create-plugin@18.4.0
@object-ui/react-runtime@18.4.0
@object-ui/app-shell@18.4.0
@objectstack/example-crm@4.0.104
@objectstack/example-multi-package@0.0.11
@objectstack/example-showcase@0.3.26
@objectstack/example-todo@4.0.104
@objectstack/example-embed-objectql@0.0.44
@objectstack/connector-app-docusign@0.1.2
@objectstack/connector-app-github@0.1.2
@objectstack/connector-app-stripe@0.1.2
@objectstack/dogfood@0.0.52
@objectstack/downstream-contract@0.0.50
@objectstack/http-conformance@0.1.12