reconstruct eeb8cb05 cleanup on current main - #1673
Conversation
This reverts commit eeb8cb0.
结论#1653 的原始承诺是“清理高置信冗余测试”,并且“不修改生产代码或生产行为”。原 按真实提交关系:
因此要同时看“提交历史中的职责”和“相对当前 一、原
|
|
所以这个pr是revert一些之前的改动和修复那个问题? AI给的一大长串感觉都没说到重点,感官很乱 推荐做法(轻量,代价小):
|
本身我給的指示是重做commit不是PR 所以它沒做到重點部份 這pr有一些測試補回,同時要你處理那些已經merge了的改動 #1672 提到了5個問題 因為merge了後又有其他comment |
说得我有点不知道怎么处理了 😂 我先另外开pr去修复那个bug吧 |
Summary
This PR resubmits the seven reconstructed commits from
eeb8cb05on the currentmainbranch.eeb8cb05with normal revert commit5616639f.4e71781b→bbdd6800— preserve web-request install provenancea9844600→2638187f— stabilize keep-alive E2E selectors8903bb3c→0585db22— prune redundant E2E smoke cases99f834da→58115895— exclude development kit from Viteste37b993e→edd80320— prune message and filesystem redundanciesdc537fb1→8f005b0a— prune redundant agent and UI casesce0b06e5→9cb5a122— prune redundant utility casesThe branch is based on current
origin/mainat88e73d8aeef2929e7fabf6f1552c8ea018dd1078.Conflict and scope audit
eeb8cb05history changes three of the 46 original target files:src/app/service/service_worker/script.ts,src/pages/install/useInstallData.ts, andsrc/pages/install/useInstallData.test.ts.mainis limited to the five intentional reconstructed differences:e2e/keep-alive.spec.ts,src/pages/components/use-is-mobile.test.ts,src/pages/install/useInstallData.test.ts,src/pages/install/useInstallData.ts, andsrc/pkg/utils/skill-zip.test.ts.byWebRequest=1redirect and MCP install flow remain present; the reconstructed install change additionally propagates provenance for the direct raw-URL path.Related audit: #1672
Original cleanup PR: #1653
Validation
pnpm run lint: passed, including TypeScript, formatting, i18n, issue-template checks, and ESLint.pnpm run build: passed; existing bundle-size and Monaco dynamic-require warnings remain.