Repository navigation
test: read four nightly specs where the product now draws what they pin - #35787
Conversation
- cli run-dev-unbuilt-workspace: the refusal spells the id as typed (`command i18n extract nope.ts not found`), the command_not_found hook's words. - showcase bulk-capability-gate: the selection page bar exposes two defs and puts the rest behind its overflow menu; every ungated def is read, both gated defs are absent under both testid spellings with the menu open. - console inline-edit-polish-2572: the approval lock reaches the reader through the header's record-approval-tag (data-record-approval-locked), with the unlocked step as its control. - console record-history-display: the three updates are one fold row; the spec pins the fold, expands it, and reads the change lines inside it. Claude-Session: https://claude.ai/code/session_01L6bhgTRxhoKiYcN465k2Eh Co-authored-by: Claude <noreply@anthropic.com>
…lds, not by an exact count The Changes chip also draws the creation's own audit entry as a change line, which folds in beside the updates (measured: data-fold-count 4). Claude-Session: https://claude.ai/code/session_01L6bhgTRxhoKiYcN465k2Eh Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 0 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 维护者速读
席位核对 — ACCEPT (L1-a) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-sales · session_01L6bhgTRxhoKiYcN465k2Eh Landing · 2026-11-20T08:21Z · head
Ready for review and auto-merge through the queue. The next scheduled nightly (cron |
Requested by Sales · project thread
repo:objectstack#1 · os-sales · session_01L6bhgTRxhoKiYcN465k2Eh
Fixes #35762
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Four nightly-tier tests that did not follow four intended, merged product changes now read what they protect where the product draws it today. Test files only; no product source changes, no assertion dropped, no test skipped. Each spec keeps its meaning:
packages/cli/test/run-dev-unbuilt-workspace.e2e.test.ts(cases at the old lines 319 and 380): the refusal is now spelled as typed,Error: command i18n extract nope.ts not found, by thecommand_not_foundhook (point-at-help.ts, cause7a3f86c4). Both cases still prove what they proved: oclif still raises the not-found for an unbuilt workspace, and that report still survives the stalled pipe. The comments say whose words these are now.examples/app-showcase/e2e/bulk-capability-gate.spec.ts: the selection page bar drawsSELECTION_EXPOSED_ACTIONS(2) defs as buttons and the rest behind its overflow menu (caused96c878e). Measured:set_labelsandassign_teamare the exposed buttons;reassign_accountandreschedulearerow-context-bulk-NAMEitems in the opened menu. All four ungated defs are asserted; both gated defs (relabel_ops,purge_restricted) are asserted absent under BOTH testid spellings, with the menu open.ui/e2e/live/inline-edit-polish-2572.spec.ts: once the header draws the approval tag, the band draws no lock badge (cause72d19c4e). The locked step now assertsrecord-approval-tagvisible and carryingdata-record-approval-locked. The unlocked step gains the control: the same tag visible WITHOUT that attribute. The earliertoHaveCount(0)on 'Locked for approval' is kept; it now holds on both steps, so the comment says the tag is what tells the steps apart.ui/e2e/live/record-history-display.spec.ts: consecutive field changes by one person on one day fold into ONE collapsedactivity-foldrow (causea3a74f27). The spec pins the fold: exactly one fold row, collapsed at first. It expands the fold and asserts the three updates are rows inside it (date, lifecycle + industry, owner, each matched by its own content). It also assertsdata-fold-countequals the rows the fold expands to. The positive reads (actor name, option labels, Customer Since, Owner, resolved owner name) now read the expanded change lines, not the fold summary. The absences are still read over the whole stream.Branch:
claude/project-thread-1jz30w. The card thread's harness assigns this branch and it is the only one the thread may push, so the repo's usualclaude/issue-35762-*spelling is not available. The card is #35762, named on the closing line above, for the Duplicate Fix Guard.Read first, by risk:
ui/e2e/live/record-history-display.spec.ts: the fold hunk. The count is deliberately not pinned to 3; see Acceptance notes.examples/app-showcase/e2e/bulk-capability-gate.spec.ts: which two defs are exposed is pinned. That follows the bar's declared-order rule.ui/e2e/live/inline-edit-polish-2572.spec.ts: the tag control on the unlocked step.Two-minute verification: in
examples/app-showcase, runOS_TEST_TIERS=nightly pnpm exec vitest run test/console-live-specs.live.test.ts(needs the showcase closure and the CLI built). Expect Playwright's28 passedand vitest'sTests 1 passed (1).Tests
The before/after pair for each file:
ca4ec2a2f1failed exactly these four cases. Shard 2/4: cli, 1 file failed of 29, the two cases. Shard 4/4: showcase smoke 1 failed / 55 passed, Console live specs 2 failed / 26 passed.c4a73be6and run against this tree's build. They fail at the same lines: cliTests 2 failed | 9 passed (11). The bulk spec fails atbulk-action-reassign_account. Inline-edit fails atgetByText('Locked for approval'). History fails at[data-stream-change]hasText Owner.Tests 11 passed (11), three e2e specspassed.Typecheck of the touched files
pnpm --filter @objectstack/cli typecheck: tsc andcheck:test-typecheckOK. The tsconfig.test.json program covers the cli test file.pnpm --filter @objectstack/example-showcase typecheck(its include holdse2e/**/*): OK.pnpm --dir ui type-check:e2e(tsconfig.e2e.jsonoverui/e2e/): OK.Acceptance notes
4 updates(Updated Owner, Industry, Lifecycle, 3 more). The All filter shows the same three updates as3 updates, beside a separateCreated Accountrow. This was measured live onshowcase_accountwith one create and three PATCHes. The spec therefore pins the three updates inside the fold and the count-equals-rows invariant, notdata-fold-count = 3.os i18n --help. The command module did not load, so the hook's lookup reaches the topic only. The spec does not pin the pointer line; it was not part of what either case protects.Verification
All readings were taken at head
d126f308, in a shared container; durations are not idle-box figures.Both full live files at the final head, once
OS_TEST_TIERS=nightly pnpm exec vitest run test/showcase-smoke.live.test.ts: Playwright56 passed (1.8m), includinge2e/bulk-capability-gate.spec.ts:38:5 ... (2.4s); vitestTests 1 passed (1); lockVERDICT command-exit 0.OS_TEST_TIERS=nightly pnpm exec vitest run test/console-live-specs.live.test.ts: Playwright28 passed (1.5m), includingrecord-history-display.spec.ts:56:1andinline-edit-polish-2572.spec.ts:68:1; vitestTests 1 passed (1); lockVERDICT command-exit 0.OS_TEST_TIERS=nightly pnpm --filter @objectstack/cli exec vitest run --project integration --maxWorkers=2 test/run-dev-unbuilt-workspace.e2e.test.ts:Tests 11 passed (11). The file is byte-identical at0719a6adandd126f308.Local gate subset (dispatch-gates --commands, 51 families)
node scripts/check-plugin-teardown-shape.mjs --self-test: its positive-control commit is outside this shallow clone.pnpm check:dual-build-cjs-loads: some packages outside this card's build closure have nodist/.--ranwith exit codes:51 derived famil(ies) accounted for — 49 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3).check:nul-bytesexit 0. A control-byte self-scan over the four files found 0 hits.Generated by Claude Code