Repository navigation
test(cli, showcase): green the two nightly-tier reds on main - #35453
Conversation
The conversions-only minimal pair in validate-json-strict-exit.e2e.test.ts
authored its callout node as `config: { url }` only. Since the
`flow-http-timeout-missing` warning landed, that node raises a warning
which `--strict` promotes, so the canonical control exited 1 and the
converting member's `warnings` was no longer empty. Set
`config.timeoutMs: 10000` so the pair again differs only in the node
type and is decided by the conversion alone.
Claude-Session: https://claude.ai/code/session_01L6bhgT6csi5sffeSrPvQzL
Co-authored-by: Claude <noreply@anthropic.com>
…ep the stack tier A collapsed console sidebar hides fully from 768 px up (ruling 6973617688, landed in 756aba2), so the 780 px window now gives the record view the whole window and draws two columns. Re-derived on the harness: the case docks the sidebar through the app bar trigger and "Keep sidebar open" at a 900 px window (644 px of view), inside the docked stack range of 768 to 1015 px. No assertion changed. Claude-Session: https://claude.ai/code/session_01L6bhgT6csi5sffeSrPvQzL Co-authored-by: Claude <noreply@anthropic.com>
…wcase half Claude-Session: https://claude.ai/code/session_01L6bhgT6csi5sffeSrPvQzL 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_01L6bhgT6csi5sffeSrPvQzL Final head for L1 · 2026-11-19T20:48Z ·
L1 requested from this seat's L1 thread on this head. |
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 维护者速读
席位核对 — ACCEPT (L1-a) · repo:objectstack#1 · head
|
The PR's last Test Core base (c6558d0) is 80 first-parent commits behind origin/main, so main is merged before auto-merge. No conflict; the delta against main is still the two test files (+33/-15). Claude-Session: https://claude.ai/code/session_01L6bhgT6csi5sffeSrPvQzL Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-sales · session_01L6bhgT6csi5sffeSrPvQzL Landing · 2026-11-19T21:17Z · head
State change: |
Requested by Sales · project thread
Fixes #35352
Clause-②: no
Metadata-protocol: none
Branch note (Duplicate Fix Guard):
claude/project-thread-aiqy89is the branch the card thread's harness assigns and the only one this thread may push, so the repo'sclaude/issue-35352-*spelling is not available; the card'sClaim:comment names this branch for both halves.维护者速读
os validate --strict退出码测试里那条流程的 http 节点补上timeoutMs: 10000;② 展示应用冒烟里 "ungrouped + related-heavy" 用例先用顶栏按钮把侧栏固定在页面旁(Keep sidebar open),再在 900 px 窗口检查记录页是单栏,断言一条没改。--strict失败,命中了旧夹具;② fix(app-shell): a collapsed console sidebar hides fully, and its menu floats out from the left edge #35187 按裁决 6973617688 让侧栏在 768 px 以上收起时完全隐藏(卡 应用侧栏:收起后完全隐藏,不再留一列没有文字的图标;鼠标移到左边缘时浮出完整菜单 #35062 验收:「销售应用里收起侧栏后,左边没有图标列,列表和记录页多出对应宽度。」),780 px 窗口的记录页因此拿到整窗宽度变成两栏。dist,showcase 是 private),打skip-changeset;回滚即 revert 本 PR。examples/app-showcase/e2e/detail-shapes.spec.ts的 "ungrouped + related-heavy" 用例开头(推导注释与新增的固定侧栏三行);packages/cli/src/commands/validate-json-strict-exit.e2e.test.ts中calloutFlowSource的call节点。OS_TEST_TIERS=nightly pnpm --filter @objectstack/cli exec vitest run --project integration --maxWorkers=2 src/commands/validate-json-strict-exit.e2e.test.ts,预期Tests 10 passed (10)(先建@objectstack/cli^...闭包)。What changes
Half 1 (cli
--strictexit pins)packages/cli/src/commands/validate-json-strict-exit.e2e.test.tsonly. The conversions-only minimal pair (calloutFlowSource) authored its callout node asconfig: { url: 'https://example.com/hook' }. Since theflow-http-timeout-missingwarning landed (f4dbcc2), that node raises a warning, and--strictpromotes every warning, so:warnings: [ flow-http-timeout-missing ]where it pinswarnings: [];type: 'http', converts nothing) exited 1 where it pins 0 on both faces.The rule and its effect on
--strictare the ruled behaviour (the missing timeout is a warning, and like every warning it makesos validate --strictexit 1), so the fixture is what was stale. The node now setsconfig: { url: 'https://example.com/hook', timeoutMs: 10000 }, the same value the rule's own hint and the showcase http nodes use. The pair again differs in one value only (the nodetype), so each case is decided by what it pins: the converting member byconversionsalone, the canonical member by nothing. The doc comment above the fixture now says why the timeout is there, so a later edit does not drop it.The test-only probe that converts
probe_old_callouttohttprewritestypealone ({ ...node, type: 'http' }inpackages/cli/test/fixtures/live-conversion-probe.mjs), soconfigreaches the lint unchanged. The green run measures this: the converting member'swarningsis[]after conversion.No other fixture in the file builds a flow:
WARNS_SOURCE,CLEAN_SOURCEand bothseverityPairSourcemembers carry no flow node, and their cases were green before and after the change.Half 2 (showcase smoke)
examples/app-showcase/e2e/detail-shapes.spec.ts, the "ungrouped + related-heavy: flat details and the related panels on Contoso" case only. It now docks the sidebar the way a reader does: the app bar's trigger ([data-sidebar="trigger"]) floats the menu, and its "Keep sidebar open" (sidebar-keep-open) keeps the 256 px sidebar beside the page. It does that at a 900 x 800 window instead of 780 x 800, and asserts the control readsaria-pressed="true". The derivation comment is rewritten from measurement and quotes ruling 6973617688 verbatim. Every assertion of the case is unchanged, thestackexpectation included.Why:
756aba29(#35187, which delivered card #35062) made a collapsed console sidebar hide fully from 768 px up, including the automatic fold below 1416 px. So at 780 px the record view went from 732 px (window minus the 48 px rail) to 780 px (the whole window), over the 760 pxRECORD_PAGE_TWO_COLUMN_MIN_WIDTHfloor. That change was asked for. Card #35062 acceptance: 「销售应用里收起侧栏后,左边没有图标列,列表和记录页多出对应宽度。」 Ruling 6973617688: "Both collapsed states hide the sidebar completely: the manual collapse (UnifiedSidebarcollapsible="icon") and the automatic fold between 768 px and the record-drawer threshold (#27593,consoleSidebarRail.ts, below 1416 px). No icon column remains."Changeset: none.
skip-changeset, because@objectstack/example-showcaseis"private": trueand the diff is one e2e spec, so nothing publishes.Tests
Half 1
3819afec(=origin/main):Tests 2 failed | 8 passed (10). The two failures are the nightly's two, both namingflow-http-timeout-missingon flowstrictexit_notifynodecall.e57fc3a0:Tests 10 passed (10).pnpm --filter @objectstack/cli typecheck: exit 0.pnpm --filter @objectstack/cli exec vitest run --project unit:Tests 6140 passed (6140), exit 0.Half 2
ui/tree, and the backend was held at3819afec, because756aba29is aui/-only diff. Readings at a 780 px window, in a fresh context:958ee035:stack, page root 732, rail gap 48,mainx=48.9c29d732(=756aba29^):stack, page root 732, rail gap 48.756aba29:two-column, page root 780, rail gap 0,mainx=0.3819afec:two-column, page root 780, rail gap 0.3819afec, fresh context:stack, view = window (phone shell).stack(759); 1016 givestwo-column(760).element(s) not found).6406f211:e2e/detail-shapes.spec.tsgives 3 passed (19.2s). Before the change, at3819afec, the case fails at line 191: Expected "stack", Received "two-column".5ed4dd78:OS_TEST_TIERS=nightly pnpm --filter @objectstack/example-showcase exec vitest run test/showcase-smoke.live.test.tsgives56 passed (1.8m)of 56, 0 flaky, skipped or failed;Tests 1 passed (1), lock VERDICT command-exit 0;✓ 4 … detail-shapes.spec.ts:161:5 › ungrouped + related-heavy … (3.7s).Acceptance notes
test/build-json-failure-conversions.e2e.test.ts,test/lint-conversion-notices.e2e.test.ts,test/validate-json-failure-conversions.e2e.test.ts). None of them is among the failing files of nightly run 44465977675, so the warning moves nothing they pin. Not changed here.e2etier, so the PR that added the warning could not see this fixture go red. Noted, not filed.958ee035(run 44245072315) was a different spec,e2e/live/phone-nav-drawer-back-29131.spec.ts(8 failed). Detail-shapes passed that night (✓ 4 … detail-shapes.spec.ts:161:5). Its first red is run 44465977675 at81c09477, so the window is958ee035..81c09477, notd57d6eed..958ee035as the card thread's claim 7001438925 read it (this corrects that claim).skip-changeset.@objectstack/clishipsfiles: ["dist", "README.md", "CHANGELOG.md"], so itssrc/**/*.e2e.test.tspublishes nothing;@objectstack/example-showcaseis"private": true.Verification
Half 1 readings are in the details blocks; half 2 readings follow them.
Red run before the change (3819afe)
Green run after the change (e57fc3a)
cli unit layer and typecheck (e57fc3a)
The
integrationlayer beyond this one file is left to CI'sTest Core; the diff touches no spawn entry.Derived gate families (dispatch-gates --commands, then --ran, at e57fc3a)
The three NOT MEASURED are prerequisite refusals in this container, not findings:
check-plugin-teardown-shape --self-testneeds a commit outside this shallow clone, andcheck:dual-build-cjs-loadsandcheck:i18n-coverageneeddist/for packages outside the cli closure. None reads this test file; CI'sLint & Repo Gatesruns all three.Half 2
6406f211; 37 exit 0.check:dts-closureexit 1 is not this diff. It namedui/apps/console/plugin.d.ts, which the local Vite-only Console build skips. Afterpnpm --filter @object-ui/console build:pluginit reads261/261 declared declaration file(s) present, exit 0.check:dual-build-cjs-loadsexit 3 is PREREQUISITE NOT MET (no fullpnpm build), NOT MEASURED locally; CI runs it.5ed4dd78: 55 derived, 54 run, 1 NOT-MEASURED (check:dual-build-cjs-loads, exit 3), 0 UNRUN.check-plugin-teardown-shape.mjs --self-testexits 0 (48 cases) once its pinned fixture commit is fetched;overlap-checkVERDICT clean exit 0.pnpm --filter @objectstack/example-showcase typecheckexit 0;tsc --listFilesincludes the spec.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgT6csi5sffeSrPvQzL