Repository navigation
docs(qa): three studio-authoring knownGaps quote the vitest invocation the ui guard accepts - #29317
Merged
objectstack-fleet[bot] merged 2 commits intoNov 2, 2026
Conversation
…n the ui guard accepts object-designer-roundtrip, record-page-roundtrip and permission-matrix-editor-ux fixtures.knownGaps[0] quoted `pnpm --filter @object-ui/PKG exec vitest run FILE`, which runs in the package directory and is refused by ui/scripts/vitest-invocation-guard.mjs (package-cwd verdict). Each now carries the wording expression-editors knownGaps[1] landed: cd ui && pnpm exec vitest run --maxWorkers=1 packages/PKG/src/FILE, with the refused form named. Each item takes revision +1 and one history row. packaged-automation-studio-lock knownGaps[1] already quotes cd ui && pnpm exec vitest run --root . ..., which the guard accepts, so it is left untouched. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ihL2gLghEqeDKTbDTC7Zd
…udio-knowngaps-vitest-cwd
Contributor
Author
|
domain:devx#2 · marchtian · session_017ihL2gLghEqeDKTbDTC7Zd 席位核对 — ACCEPT ·
|
9 tasks done
objectstack-fleet
Bot
deleted the
claude/issue-28750-studio-knowngaps-vitest-cwd
branch
November 2, 2026 12:37
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.
Requested by 田騏 · project thread
Fixes #28750
Clause-②: no
Metadata-protocol: none
维护者速读
studio-authoring区里三个条目(对象设计器往返、记录页往返、权限矩阵编辑器)的 knownGaps[0],把跑 jsdom 单测的命令改成 ui vitest 守卫接受的写法(cd ui && pnpm exec vitest run --maxWorkers=1 packages/PKG/src/FILE),并注明旧的--filter写法会被拒绝;每个条目 revision +1、追加一行 history。第四个条目(打包自动化锁定)本来就是被接受的写法,未改动。docs/qa/platform-checklist/areas/studio-authoring.json中permission-matrix-editor-ux的 knownGaps[0] 与新 history 行(三处改动文字完全相同,看一处即可)。pnpm check:platform-checklist,预期最后一行以check-platform-checklist: OK — 16 areas, 352 items开头。What changes
docs/qa/platform-checklist/areas/studio-authoring.jsononly. Three of the card's four items quotedpnpm --filter @object-ui/PKG exec vitest run --maxWorkers=2 FILEfor their jsdom unit pin. That command runs Vitest in the package directory, andui/scripts/vitest-invocation-guard.mjs(called fromui/vitest.config.mts) refuses any run whose Vitest root is notui/(verdictpackage-cwd). Each of the three now carries, byte for byte, the sentence #28701 landed instudio-authoring.expression-editorsknownGaps[1]:cd ui && pnpm exec vitest run --maxWorkers=1 packages/PKG/src/FILE, followed by the ⛔ note that the--filterform is refused and why.studio-authoring.object-designer-roundtripfixtures.knownGaps[0]studio-authoring.record-page-roundtripfixtures.knownGaps[0]studio-authoring.permission-matrix-editor-uxfixtures.knownGaps[0]studio-authoring.packaged-automation-studio-lockfixtures.knownGaps[1]cd ui && pnpm exec vitest run --root . --maxWorkers=2 FILE, which the guard accepts (measured below)Each new history row cites #28656 (ref) and #28750, and says the change is wording only with no clause changed. Main's history is an exact prefix of each edited item's history, and no field other than
revision,historyand the one knownGaps string changed in any item (checked against a parsed copy ofHEADbefore the merge oforigin/main).Tests
Docs only: no package source changes, so no build closure and no package test suite is owed.
skip-changeset: the diff touches onlydocs/qa/platform-checklist/areas/studio-authoring.json, which no package ships.The guard verdicts were measured two ways at this head:
evaluateVitestInvocationfromui/scripts/vitest-invocation-guard.mjs, called directly: the new form (cwdui/) is accepted; item 4's--root .form (cwdui/) is accepted; the old--filterform (cwdui/packages/app-shell) is refused withpackage-cwd.cd ui && pnpm exec vitest run --maxWorkers=1 packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.fieldBulk.test.tsxprintedRUN v4.1.12 .../ui,Test Files 1 passed (1),Tests 3 passed (3), lock VERDICT command-exit 0. The control,pnpm --filter @object-ui/app-shell exec vitest run --maxWorkers=2 src/views/metadata-admin/PermissionMatrixEditor.fieldBulk.test.tsx, exited 1 with the guard's package-cwd refusal (vitest rootui/packages/app-shell).Every pin file the four items name under
ui/exists at this head:PermissionMatrixEditor.fieldBulk.test.tsx,.readonly.test.tsx,.artifactTier.test.tsx,StudioDesignSurface.automationsReadOnly-11124.test.tsx,ui/e2e/live/studio-object-designer.spec.ts,ui/e2e/live/studio-editor.spec.ts.Acceptance notes
pnpm --filter @object-ui/app-shell exec vitest run FILEform "misses the ui/ setup". The measured behaviour today is a refusal at config load (package-cwd), not a run with the wrong setup. The command a runner copies is correct, so this is wording only and is left for the seat to decide.meta-save-preconditions-and-draft-rows,multi-package-item-rowsandsave-door-runs-authoring-rulesquotepnpm --filter PKG exec vitest run --maxWorkers=2 FILEin a verify. Theirautomated.reffiles are all underpackages/(backend packages), notui/, so the ui guard does not apply; not touched.Verification
Gates (head bfd7def, after one merge of origin/main)
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 16 families atbfd7def6fb: 1 path, +12 / -9, under the 3000 human-merge line. Each ran with stdin from /dev/null, exit captured before any pipe:node scripts/check-adr-links.mjs:: exit 0node scripts/check-adr-links.mjs --self-test:: exit 0node scripts/check-closing-keyword-parity.mjs:: exit 0node scripts/check-closing-keyword-parity.mjs --self-test:: exit 0node scripts/check-comment-mask-corpus.mjs:: exit 0node scripts/ci/plan-test-core-shards.mjs --self-test:: exit 0pnpm --filter @objectstack/lint run check:doc-formula-expressions:: exit 0, afterturbo run build --filter=@objectstack/formula --filter=@objectstack/lint(lock VERDICT command-exit 0)pnpm check:ci-filter-parity:: exit 0pnpm check:cross-package-test-inputs:: exit 0pnpm check:doc-authoring:: exit 0pnpm check:driver-memory-census:: exit 0pnpm check:gitlink-declared:: exit 0pnpm check:nul-bytes:: exit 0pnpm check:platform-checklist:: exit 0 (OK — 16 areas, 352 items)pnpm check:refd-timer-probe:: exit 0pnpm check:watch-hint-literal:: exit 0--ranreconciliation: 16 derived, 16 run, 0 NOT-MEASURED, 0 UNRUN (a derived zero: all 16 recorded an exit code).🤖 Generated with Claude Code