Repository navigation
docs(qa): re-point list type-size and drill-container checklist clauses to later rulings - #37114
Conversation
…r rulings records-forms.list-view-capabilities follows the two-tier type scale (header labels 12px, cells and bar buttons 14px); the two dashboards drill items follow the centred drill dialog with labelled chips. The list-frame geometry e2e pin's header says it reads a transcribed tree. Fixes nothing on its own; part of the checklist re-point card. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYnagJvGbCtNg2PhvgW
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Ruling recorded · 2026-11-24T21:58Z · |
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW Final green head for L1 (2026-11-24T22:01Z):
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — ACCEPT · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW Landing (2026-11-24T22:27Z) — head
State change: ready for review + auto-merge armed; the merge queue lands it. On MERGED, #37035 closes by |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 45501281672 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW Queue ejection disposition (2026-11-24T22:48Z) — head Signature: Three facts for one re-queue (landing-operations, new-signature branch):
Disposition: re-queued once, unchanged head (ready + auto-merge in one relay stroke). If the same signature ejects it again, it is not re-queued: the seat files the signature against the guard's owner and this PR waits. |
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW PR-side red at head Signature: Not this PR's: the guard scans ui source text and imports nothing this diff changes. The diff's only Disposition: not re-run and not landed. A second sighting of the same timeout goes to the seat, which routes it to the guard's owning lane. This PR waits on that. |
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW Blocked-by: #37174 The studioAddress.guard timeout behind both reds on this PR (disposition 7149561494) is filed as #37174 and routed to zone a4-S, which owns the guard. This PR is not re-run meanwhile; it lands again (2026-11-25T01:28Z onward) once #37174 merges, on L1 ACCEPT 7145832796 carried over merge-only moves. |
|
repo:objectstack#4 · os-justin · session_01QSeKYnagJvGbCtNg2PhvgW Re-landing (2026-11-25T04:34Z) — head Reason: this PR was held behind #37174 (
State change: auto-merge is armed, once. If the queue ejects this PR again on the studioAddress.guard timeout, it is not re-queued; the signature goes to the seat. On MERGED, #37035 closes. |
…rsing (objectstack-ai#37198) Fixes objectstack-ai#37174 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户无感:只改界面工作区里的一份守卫测试,产品代码一行未动。 - 为什么做:这份「禁止手拼工作室地址」的守卫在繁忙的 CI 分片上超时,把一个无关的合并请求两次挤出合并队列,这次修复为它解围。 - 出错会怎样:最坏是守卫漏看某个文件里的手拼地址;新加的对照测试正是为这种情况变红而设,改动随时可直接撤回。 - 要你做什么:无。 ## What changes Test-only: one file, `ui/packages/app-shell/src/views/studio-design/studioAddress.guard.test.ts`. No product file, no published file (`@object-ui/app-shell` is private and ships `dist` only), hence `skip-changeset`. This unblocks PR objectstack-ai#37114, whose Test UI shard timed out on this case twice (queue run 45501281672; PR job 138901843717). - **Pre-filter before parsing.** The walk case TypeScript-parsed every non-test ui source (2,378 files at this head) inside the default 15 s budget. A raw-text gate, `maySpellStudioAddress`, now keeps the parse to the sources that may spell an address (123 of 2,378 here). - **The gate is a superset of the matcher by construction, and wider than the card's two words.** Reading the matcher showed `/studio` plus `STUDIO_ROOT_PATH` is not exact: - The matcher also flags a template or `+` on `STUDIO_LANDING_PATH` (it is in `ROOT_NAMES`). - The matcher reads COOKED literal text, so `'\x2fstudio'`, `'\57\163tudio'`, `'/stud\u{69}o'` and a line continuation inside the word all cook to `/studio` while the raw text holds no `/studio`. Identifiers cook `\u` escapes the same way (`STUDIO_ROOT_PATH`). - So the gate matches each of the three words with every character in any of those spellings (itself, identity escape, `\x`, `\u`, `\u{}`, legacy octal), with line continuations allowed between characters. - A JSX attribute string is not cooked (TypeScript keeps `&objectstack-ai#47;` as is), so its raw text is its text. - The header comment on the gate gives the argument. - **New control, "the pre-filter keeps every source the matcher flags".** It runs over one shared fixture list, `FLAGGED_SPELLINGS`: the first case's eight spellings plus ten escaped and `STUDIO_LANDING_PATH` forms. Each fixture's only hit is that spelling. The control asserts the matcher flags it once and the gate passes it. It also asserts that the builder file fires the matcher and passes the gate, and that a source naming no address is dropped. The first case now asserts the matcher over the same list, so the two cannot drift apart. - **Existing controls kept.** The walk still has to reach `StudioDesignSurface.tsx` and `StudioRoute.tsx`, and the builder still fires the matcher inside the walk case. - **Explicit budget.** The walk case now runs under `{ timeout: 60_000 }` as the second line of defence; the measured wall time is below. ## Tests <details><summary>Wall time of the walk case, before and after (local, shared box, under os-verify-lock)</summary> - Before (base `95734fef75`, unchanged file): `no ui source outside the builder spells one 4471ms`. File total: `Duration 5.79s`. - After (`45151aec2b`): `no ui source outside the builder spells one 873ms`; `the pre-filter keeps every source the matcher flags 18ms`. File total: `Duration 1.48s`, `Tests 3 passed (3)`. - Probe at the same tree: walk 24 ms, reading every file 166 ms, the gate's regex over all 2,378 texts 47 ms. The rest of the before figure was the parse. </details> <details><summary>Ablation 1: the gate drops everything (`MAY_SPELL_STUDIO_ADDRESS.test(text) && false`)</summary> Made through `scripts/ablation-replace.mjs`. Result: `ok mutation landed: anchor 1 -> 0, blob fdd866a -> b763c5694c5f`. - `× the pre-filter keeps every source the matcher flags`, failing with `AssertionError: const a = '/studio';: expected false to be true`. `Tests 1 failed | 2 passed (3)`. - The walk case stayed GREEN under this ablation (196 ms, no file parsed, so no offender). That is the hole the new control closes. - Restore: `ok restored: blob == HEAD (fdd866a) and git diff HEAD is empty`. </details> <details><summary>Ablation 2: the card's two-word filter (`/studio` or `STUDIO_ROOT_PATH` as plain substrings)</summary> Made through the same tool. Result: `ok mutation landed: anchor 1 -> 0, blob fdd866a -> dbb5d30c77b9`. - `× the pre-filter keeps every source the matcher flags`, failing with `AssertionError: const a2 = '\x2Fstudio';: expected false to be true`. `Tests 1 failed | 2 passed (3)`. - Restore: `ok restored: blob == HEAD (fdd866a) and git diff HEAD is empty`. </details> <details><summary>Derived gates at 45151ae (`dispatch-gates.mjs --commands`, 27 commands)</summary> - 26 of 27 exited 0 on the first pass. - `pnpm --dir ui exec vitest run scripts/` first went red, 22 files failing with `Cannot find package '@objectstack/spec/ui'`: the fresh worktree had no `packages/spec/dist`. After `pnpm --filter @objectstack/spec build` it went green: `Test Files 172 passed | 2 skipped (174)`, `Tests 5131 passed | 2 skipped (5133)`, `VERDICT command-exit 0`. - `node scripts/check-nul-bytes.mjs` and a control-byte grep over the file are clean. `eslint --no-inline-config` on the file exits 0. </details> - Whole `@object-ui/app-shell` package suite (2,443 test files, `--maxWorkers=2` on a shared box): NOT MEASURED. Reason: still running after 70 minutes when this PR was opened. The CI `Test UI` shards own that verdict. ## Acceptance notes - The two-word pre-filter the card proposed would have missed `STUDIO_LANDING_PATH` and every escaped spelling (ablation 2). The filter was widened to stay an exact superset, as the dispatch asked. - On today's tree the widened gate passes the same 123 files the two-word filter would. The widening costs no parse time. - `node scripts/pm/overlap-check.mjs`: `VERDICT clean exit 0` (origin/main `95734fef75`, 0 PR heads share the file). ## Verification **Read first:** 1. The doc comment above `STUDIO_ADDRESS_WORDS` and the regex builder under it. This is the risk hunk: the superset argument lives there. 2. The `FLAGGED_SPELLINGS` list and the new control case. 3. The walk case's `maySpellStudioAddress` early return and its `{ timeout: 60_000 }`. **Two-minute check:** from `ui/`, run `pnpm --filter @object-ui/app-shell exec vitest run --root ../.. --reporter=verbose packages/app-shell/src/views/studio-design/studioAddress.guard.test.ts`. Expect three passing cases, with the walk case at about 1 s instead of about 4.5 s. --- _Generated by [Claude Code](https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ)_ Co-authored-by: Claude <noreply@anthropic.com>
Fixes #37035
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
records-forms.list-view-capabilities(revision 15 → 16).steps[6]andacceptance[10]now read the two-tier type scale of 控制台整体观感收齐:字号收成两档、不再用加粗到 600 的字重,控件圆角统一成 8,内容区改白底 #36047 (closed 2026-11-21 on the maintainer's 「同意」: body 14, labels and section headings 12): 12px on the header labels, 14px on the cells and the bar buttons, where they read 13px on all three. Set by merged code:ui/packages/plugin-grid/src/ObjectGrid.tsx:749(headertext-xs) andui/packages/plugin-list/src/listToolbarRow.ts:74(bar triggertext-sm); milestone acceptance QA run · milestone:#35547 (32/32) · 305fe60e · 2026-11-24 · 23 PASS / 7 PARTIAL / 2 FAIL / 0 BLOCKED / 0 NOT-RUN #37020 read 12 and 14 live on main 305fe60.acceptance[10]'sverifynow says the e2e pin compiles the real classes onto a transcribed element tree, not the live page.dashboards.drill-through-range(revision 2 → 3).steps[6],acceptance[4]and thechart.zod.tssource line now read the centred, non-modal drill dialog over the standard list with labelled chips (仪表盘和报表「查看明细」改成居中弹窗:所有图表都能点,弹窗里是带条件的标准列表(现在是右侧抽屉,全部字段、不能排序) #36256, feat(plugin-dashboard): a drill opens a centred dialog over the standard list, and a report's chart marks drill #36461), not the side drawer. Merged code:ui/packages/app-shell/src/views/ReportView.tsx:645andui/packages/plugin-dashboard/src/DatasetWidget.tsx:1574passtarget="dialog";ui/packages/plugin-dashboard/src/DrillDownDrawer.tsx:283-296draws it (w-[70vw] h-[65vh],modal={false},data-testiddrill-down-dialog).dashboards.report-measure-drill-scope(revision 1 → 2). The title,steps[2]/[3],acceptance[1]/[2]andnegative[0]say the drill dialog where they said the drawer. What the dialog must list (the bucket AND the measure scope) is unchanged.ui/e2e/list-frame-geometry-35548.spec.ts(doc comment only). States that the file never opens the live app (it compiles the real classes onto a transcribed tree, and the live reading is driven by hand), marks the old 32 / 33 / 13px live reading as before 列表观感:列之间加竖线,默认行高 32 改 36,底部每列的「添加统计」入口常显 #36048 and 控制台整体观感收齐:字号收成两档、不再用加粗到 600 的字重,控件圆角统一成 8,内容区改白底 #36047, and drops the stale "no page bar" sentence (the file already measures 外壳(三)列表页顶部改成两行:对象名一行(右边是页面按钮组),视图一行(视图名、视图设置、搜索、导入导出、新建) #36113's 44px page bar). No assertion changed.Tests
No product code and no test assertion changed; no live run was made. Each re-point is to merged code on main 254e396, cited above by file and line.
Derived gates (head 3a16678)
node scripts/pm/dispatch-gates.mjs --commandsderived 27 commands for the three paths; all 27 ran locally and exited 0.pnpm --filter @objectstack/lint run check:doc-formula-expressionsfirst exited 3 (PREREQUISITE NOT MET:@objectstack/formulaand@objectstack/lintnot built); afterturbo run buildof those two underos-verify-lock.sh(VERDICT command-exit 0) it exited 0.pnpm check:platform-checklistexit 0;pnpm check:nul-bytesexit 0;pnpm check:doc-authoringexit 0.dispatch-gates --ran:27 derived famil(ies) accounted for — 27 run, 0 NOT-MEASURED (a DERIVED zero — all 27 recorded an exit code and none of them is 3).node scripts/pm/overlap-check.mjs:VERDICT clean exit 0.Acceptance notes
packages/spec/src/ui/chart.zod.ts:541-542still declares'drawer'as the drilltargetdefault, while the report and dataset-widget hosts hard-code the dialog; reported to the seat, not edited here (spec is outside this card's surface).Verification
Read first:
docs/qa/platform-checklist/areas/dashboards.json(drill-through-rangeacceptance[4]),docs/qa/platform-checklist/areas/records-forms.json(list-view-capabilitiesacceptance[10]).Two-minute check:
pnpm check:platform-checklistexits 0 and accepts the three revision bumps with their history rows.Generated by Claude Code