Skip to content

test(cli, showcase): green the two nightly-tier reds on main - #35453

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/project-thread-aiqy89
Nov 19, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/project-thread-aiqy89

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread
Fixes #35352
Clause-②: no
Metadata-protocol: none

Branch note (Duplicate Fix Guard): claude/project-thread-aiqy89 is the branch the card thread's harness assigns and the only one this thread may push, so the repo's claude/issue-35352-* spelling is not available; the card's Claim: comment names this branch for both halves.

维护者速读

What changes

Half 1 (cli --strict exit pins)

packages/cli/src/commands/validate-json-strict-exit.e2e.test.ts only. The conversions-only minimal pair (calloutFlowSource) authored its callout node as config: { url: 'https://example.com/hook' }. Since the flow-http-timeout-missing warning landed (f4dbcc2), that node raises a warning, and --strict promotes every warning, so:

  • the conversions-only case met warnings: [ flow-http-timeout-missing ] where it pins warnings: [];
  • the canonical control (type: 'http', converts nothing) exited 1 where it pins 0 on both faces.

The rule and its effect on --strict are the ruled behaviour (the missing timeout is a warning, and like every warning it makes os validate --strict exit 1), so the fixture is what was stale. The node now sets config: { 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 node type), so each case is decided by what it pins: the converting member by conversions alone, 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_callout to http rewrites type alone ({ ...node, type: 'http' } in packages/cli/test/fixtures/live-conversion-probe.mjs), so config reaches the lint unchanged. The green run measures this: the converting member's warnings is [] after conversion.

No other fixture in the file builds a flow: WARNS_SOURCE, CLEAN_SOURCE and both severityPairSource members 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 reads aria-pressed="true". The derivation comment is rewritten from measurement and quotes ruling 6973617688 verbatim. Every assertion of the case is unchanged, the stack expectation 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 px RECORD_PAGE_TWO_COLUMN_MIN_WIDTH floor. That change was asked for. Card #35062 acceptance: 「销售应用里收起侧栏后,左边没有图标列,列表和记录页多出对应宽度。」 Ruling 6973617688: "Both collapsed states hide the sidebar completely: the manual collapse (UnifiedSidebar collapsible="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-showcase is "private": true and the diff is one e2e spec, so nothing publishes.

Tests

Half 1

  • Red before the change, on 3819afec (= origin/main): Tests 2 failed | 8 passed (10). The two failures are the nightly's two, both naming flow-http-timeout-missing on flow strictexit_notify node call.
  • Green after the change, on 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

  • Bisected by measurement. The Console was Vite-built from each ui/ tree, and the backend was held at 3819afec, because 756aba29 is a ui/-only diff. Readings at a 780 px window, in a fresh context:
    • 958ee035: stack, page root 732, rail gap 48, main x=48.
    • 9c29d732 (= 756aba29^): stack, page root 732, rail gap 48.
    • 756aba29: two-column, page root 780, rail gap 0, main x=0.
    • 3819afec: two-column, page root 780, rail gap 0.
  • Re-derivation at 3819afec, fresh context:
    • 640 to 759: stack, view = window (phone shell).
    • 760 to 1415: two-column or wide, view = window, sidebar hidden.
    • 1416 and up: sidebar expanded, view = window - 256, which is at least 1160.
  • Re-derivation with the sidebar docked (UI path and seeded preference agree, and the dock survives a reload): view = window - 256. 1015 gives stack (759); 1016 gives two-column (760).
  • Phone-shell candidates rejected: at 720 and 740 px the tier assertion passes, but the case fails at the Invoices body-table cell (element(s) not found).
  • Spec at 6406f211: e2e/detail-shapes.spec.ts gives 3 passed (19.2s). Before the change, at 3819afec, the case fails at line 191: Expected "stack", Received "two-column".
  • Full smoke on the final head 5ed4dd78: OS_TEST_TIERS=nightly pnpm --filter @objectstack/example-showcase exec vitest run test/showcase-smoke.live.test.ts gives 56 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

  • Three sibling cli e2e fixtures carry the same timeout-less http node (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.
  • This file runs only in the nightly e2e tier, so the PR that added the warning could not see this fixture go red. Noted, not filed.
  • The nightly's "first red" at 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 at 81c09477, so the window is 958ee035..81c09477, not d57d6eed..958ee035 as the card thread's claim 7001438925 read it (this corrects that claim).
  • No fresh-context desktop window draws the stack tier on a full record page any more. Only a docked sidebar (768 to 1015 px), the split pane / record drawer, or the phone shell do. The case keeps the desktop shell through the docked sidebar. Alternatives not taken: a phone-shell window (it changes the details' related rendering, so other assertions would have to change), or the split pane (it restructures the case).
  • Changeset: none for either half, label skip-changeset. @objectstack/cli ships files: ["dist", "README.md", "CHANGELOG.md"], so its src/**/*.e2e.test.ts publishes nothing; @objectstack/example-showcase is "private": true.

Verification

Half 1 readings are in the details blocks; half 2 readings follow them.

Red run before the change (3819afe)
OS_TEST_TIERS=nightly pnpm --filter @objectstack/cli exec vitest run --project integration --maxWorkers=2 src/commands/validate-json-strict-exit.e2e.test.ts
     × conversions-only: a retiring conversion the PRODUCER applied fails --strict on BOTH faces 11321ms
     × control: the same flow under the CANONICAL node type converts nothing and exits 0 on both faces 5891ms
 Test Files  1 failed (1)
      Tests  2 failed | 8 passed (10)
os-verify-lock: VERDICT command-exit 1
Green run after the change (e57fc3a)
OS_TEST_TIERS=nightly pnpm --filter @objectstack/cli exec vitest run --project integration --maxWorkers=2 src/commands/validate-json-strict-exit.e2e.test.ts
 Test Files  1 passed (1)
      Tests  10 passed (10)
os-verify-lock: VERDICT command-exit 0
cli unit layer and typecheck (e57fc3a)
pnpm --filter @objectstack/cli exec vitest run --project unit --maxWorkers=2
 Test Files  429 passed (429)
      Tests  6140 passed (6140)
os-verify-lock: VERDICT command-exit 0

pnpm --filter @objectstack/cli typecheck
os-verify-lock: VERDICT command-exit 0
(tsc --noEmit --listFiles in packages/cli: the changed test file is 1 of the program's 1766 lines)

The integration layer beyond this one file is left to CI's Test Core; the diff touches no spawn entry.

Derived gate families (dispatch-gates --commands, then --ran, at e57fc3a)
Run reconciliation — 54 derived, 51 run, 3 NOT-MEASURED, 0 UNRUN.
✓ dispatch-gates --ran: 54 derived famil(ies) accounted for — 51 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3).

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-adoption.mjs :: exit 0
node scripts/check-comment-mask-adoption.mjs --self-test :: exit 0
node scripts/check-comment-mask-corpus.mjs :: exit 0
node scripts/check-dts-emitted.mjs --self-test :: exit 0
node scripts/check-issue-citations.mjs :: exit 0
node scripts/check-plugin-teardown-shape.mjs :: exit 0
node scripts/check-plugin-teardown-shape.mjs --self-test :: exit 3
node scripts/ci/assert-turbo-remote-cache.mjs --self-test :: exit 0
node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
node scripts/ci/prune-turbo-cache.mjs --self-test :: exit 0
node scripts/docs-audit/check-affected-docs.mjs :: exit 0
node scripts/docs-audit/check-drift-comment.mjs :: exit 0
pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0
pnpm check:adr-anchors :: exit 0
pnpm check:ci-filter-parity :: exit 0
pnpm check:cli-command-ids :: exit 0
pnpm check:closed-ceremony-text :: exit 0
pnpm check:cross-package-test-inputs :: exit 0
pnpm check:doc-authoring :: exit 0
pnpm check:driver-memory-census :: exit 0
pnpm check:dts-closure :: exit 0
pnpm check:dual-build-cjs-loads :: exit 3
pnpm check:engine-double-contract :: exit 0
pnpm check:gitlink-declared :: exit 0
pnpm check:i18n :: exit 0
pnpm check:i18n-coverage :: exit 3
pnpm check:i18n-walk-parity :: exit 0
pnpm check:issue-citations :: exit 0
pnpm check:keyed-text-bounds :: exit 0
pnpm check:lean-entry-closure :: exit 0
pnpm check:logger-receiver-detach :: exit 0
pnpm check:nul-bytes :: exit 0
pnpm check:objectql-double-limit :: exit 0
pnpm check:org-identifier :: exit 0
pnpm check:page-declaration-shape :: exit 0
pnpm check:platform-object-tenancy-census :: 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:slot-lookup :: exit 0
pnpm check:sourcemap-no-sources-content :: exit 0
pnpm check:system-context-census :: 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:vouch-for-reference-callers :: exit 0
pnpm check:watch-hint-literal :: exit 0
pnpm check:where-matcher :: exit 0

The three NOT MEASURED are prerequisite refusals in this container, not findings: check-plugin-teardown-shape --self-test needs a commit outside this shallow clone, and check:dual-build-cjs-loads and check:i18n-coverage need dist/ for packages outside the cli closure. None reads this test file; CI's Lint & Repo Gates runs all three.

Half 2

  • Local gates: 39 derived commands at 6406f211; 37 exit 0.
    • check:dts-closure exit 1 is not this diff. It named ui/apps/console/plugin.d.ts, which the local Vite-only Console build skips. After pnpm --filter @object-ui/console build:plugin it reads 261/261 declared declaration file(s) present, exit 0.
    • check:dual-build-cjs-loads exit 3 is PREREQUISITE NOT MET (no full pnpm build), NOT MEASURED locally; CI runs it.
  • At the merged head 5ed4dd78: 55 derived, 54 run, 1 NOT-MEASURED (check:dual-build-cjs-loads, exit 3), 0 UNRUN. check-plugin-teardown-shape.mjs --self-test exits 0 (48 cases) once its pinned fixture commit is fetched; overlap-check VERDICT clean exit 0.
  • pnpm --filter @objectstack/example-showcase typecheck exit 0; tsc --listFiles includes the spec.

Generated by Claude Code

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgT6csi5sffeSrPvQzL

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>
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

Nothing 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): node scripts/docs-audit/affected-docs.mjs --json 2495486fd542c9aa1d48bfda32fae3b3f6a48a61 → packageMentionDocs.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgT6csi5sffeSrPvQzL

Final head for L1 · 2026-11-19T20:48Z · 5ed4dd78 (both halves of #35352; os-dev reports 7005988090 and 7006181871)

  • Check-runs on 5ed4dd78: 37 success, 23 skipped by path or label, 0 pending. The required set reads: Lint & Repo Gates, TypeScript Type Check, Test Core (10/10 shards), Build Core, Governed Surface Queue Guard, Test UI, Live E2E UI, Dogfood Regression Gate all success; Lint UI, Type Check UI, Build & E2E UI skipped (no ui/** path in the diff).
  • Check Changeset: its newest run on this head is skipped (job 135492513243, after skip-changeset was added). The failure (job 135484914836) predates the label and the cancelled run (job 135492258577) was superseded by it. Neither file publishes: @objectstack/cli ships dist only and @objectstack/example-showcase is private.
  • mergeable_state clean. origin/main moved 108 commits since 3819afec; none touches either test file, the flow-http-timeout-missing rule or the console sidebar, so main is not merged (no conflict, no main-caused red).
  • The two failing files only run in the nightly tier, so the PR's CI does not execute them; the before/after readings are in the body (cli: 2 failed, then 10/10; showcase smoke: 56/56 on 5ed4dd78).

L1 requested from this seat's L1 thread on this head.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U

维护者速读

  • 用户能看到什么变化:没有,只改了两个测试。主干夜间测试的两处红灯都是产品按裁定改了行为之后,测试没跟上:
    • 一处是新加的「http 节点没设超时」警告,测试用例补上超时即可;
    • 另一处是侧栏收起后不再留图标列,测试改成像读者那样把侧栏固定住再量。
  • 出错会怎样:最坏是夜间测试仍红,不影响产品。
  • 要你做什么:不需要你做任何事,区域自己落地。

席位核对 — ACCEPT (L1-a) · repo:objectstack#1 · head 5ed4dd7891424c025f154fbde41bf58cc0827f35 · 2026-11-19T20:50Z

  • 形态
    • Draft, base main, 3 commits (one per half, plus the merge of half 1 into half 2), 2 files, +33/−15. Merge-base 3819afec, and the merge 5ed4dd78 has no combined hunk.
    • check-governed-merges.mjs --pr 35453: NOT governed. No contract face.
    • The body has Fixes #35352, Clause-②: no and Metadata-protocol: none, with the skip-changeset label. That is right: the diff is test files only, in packages/cli (which ships dist) and the private showcase.
  • The nightly card's rule is kept. No test is renamed, skipped or deleted, and no assertion changed. Each half changes only a fixture or a setup step, to match a product change that was ruled intended.
  • Half 1 (validate-json-strict-exit.e2e.test.ts)
    • The cause: lint: six publish-time checks for metadata that passes the schema and does nothing at run time #34776 added flow-http-timeout-missing (close-out 6995998599: a warning, "it makes os validate --strict exit 1"). The minimal pair's http node had no timeout, so both members picked up that warning and the pair stopped discriminating on the conversion.
    • The fix gives the node timeoutMs: 10000. The probe rewrites only type, so config reaches the lint unchanged in both members. The docblock now says why.
    • The pair's other fixtures build no flow.
    • Measured: red 2/10 at base and green 10/10 at head, plus 6140 unit tests and typecheck (os-dev-report 7005988090).
  • Half 2 (detail-shapes.spec.ts)
  • 门禁 — on this head: 37 success, 23 skipped, 1 failure, 1 cancelled. Mergeable clean.
    • Both non-success runs are Check Changeset runs from before the skip-changeset label: a failure at 10:05Z and a cancellation at 10:18Z.
    • The newest Check Changeset check-run on this head (10:19Z) is skipped, which is the expected state under that label. The older red is superseded and owes nothing.
  • 落地条款 — not governed, no L2 face. p1: the area lands this head. The next scheduled nightly is what proves nightly-tiers: red on main #35352 green. A new push needs a fresh L1 only if it changes more than a main merge.

Generated by Claude Code

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>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgT6csi5sffeSrPvQzL

Landing · 2026-11-19T21:17Z · head 46b8ec92 (= ACCEPT head 5ed4dd78 plus a clean merge of origin/main; L1-a ACCEPT 7021886341)

Reading Result
check-governed-merges.mjs --pr 35453 NOT governed; 2 paths, 48 changed lines (+33/-15)
Check-runs on 46b8ec92 36 success, 17 skipped, 0 failure, 0 pending; required set green (Lint UI, Type Check UI, Build & E2E UI path-skipped; Check Changeset skipped under skip-changeset)

State change: pr_ready then automerge_enable; the merge queue lands it. Fixes #35352 closes the card on merge; the next scheduled nightly is the proof it is green.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 19, 2026 21:17
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 7088465 Nov 19, 2026
54 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-aiqy89 branch November 19, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nightly-tiers: red on main

2 participants