Repository navigation
perf(app-shell): the form list's words load with the Studio list, not at boot - #38682
objectstack-fleet[bot] merged 5 commits into
Conversation
…t boot Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH
…objectstack#37444) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH
…as the i18n call-site check reads it Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH
|
repo:objectstack#2 · os-warren · session_01JQwxba2oTCUuCosPm6pkRu 速读
席位核对 — ACCEPT · Head-sha: 394a045
|
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH
|
repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
State: pr_ready + auto-merge (merge queue). Release freeze: exempt as in-development work (Warren 2026-11-30 07:08Z 「目前已经开发中的不用冻结」). check-governed-merges: NOT governed. |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46374852490 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
Requested by Warren · project thread
Part of #37444
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
ui/packages/app-shell/src/views/studio-design/publicForm/formListColumns.tsxno longer imports../../metadata-admin/i18n.jsstatically. The form list's On cell loads the designer string table withReact.lazyon first draw; the Studio list has already loaded that module by then, so it resolves at once.services/builtinComponents.tsxstill registersFORM_LIST_COLUMNSat boot, but the boot closure no longer reaches the metadata-admin i18n module, so the built Console'sindex.htmlno longer preloadsi18n-ns-studio-en(70.8 KiB) or the metadata-admin i18n chunk (10.3 KiB): 134 modulepreloads, list 229 → 225 scripts before LCP.ui/packages/app-shell/src/services/__tests__/builtinComponents.formListWordsOffBoot-37444.test.tsx— (1) the walk sees the edge it guards (ResourceListPage reaches the designer table); (2)builtinComponents.tsxreaches no designer table through static imports; (3) the On cell renders "On"/"Off" after the lazy load.@object-ui/app-shell.Tests
Head
e1bbe0b8(reworded to394a0455for the commit-trailer check; identical tree):studio-design/publicFormandfirstScreenStudioCatalogue-37444: 4 files, 54/54 passed;ui scripts/__tests__/check-i18n-call-site-keys.test.ts: 152/152 passed.scripts/ablation-replace.mjs): a staticimport { t } from '../../metadata-admin/i18n.js'put back intoformListColumns.tsxturns case 2 red (1 failed, 2 passed); restored, blob == HEAD.pnpm --filter @object-ui/app-shell type-check: exit 0.pnpm console:build: exit 0;index.htmlhas noi18n-ns-studioor metadata-admin i18n chunk./_console/studio/~all/metadata/formshows "On" forshowcase_inquiry.contactandshowcase_inquiry.feedback.Measurement (production build, HTTP/2, Lighthouse desktop, ruling conditions)
One session, arms branch / base
f5da514b/ control1afd9c13, 20 runs per arm per page; control list 2535.1 ms, inside the pre-set band, so scored; no block discarded.The cut restores the bytes but has no measurable LCP effect; the done-when stays unmet on the list. Readings and instrument: project folder
card-37444/a-measure/recut/; report comment 7266607998 on #37444.Verification
dispatch-gates --commands: 38 derived, 38 run, all exit 0 (ui scripts/vitest re-run with--maxWorkers=2after an OOM kill while measurement servers were up: 172 passed, 2 skipped).--ran: 0 NOT-MEASURED.overlap-check.mjs: clean against origin/main;git merge-treeagainst origin/main at push: clean.Files to read first:
formListColumns.tsx(the lazy On cell). Two-minute check: open Studio → Forms list; the On column reads "On"/"Off".🤖 Generated with Claude Code
https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH