chore/port-align-dev-8910
main
端口约定回归「按模式定系列」:交互 dev 一律 8910/8911(tutorial 8910、web-runner 8911),preview/e2e 归 991x(站点 9910、运行时 9911)。当前偏差:tutorial 的 dev:proxy 跑在 9911(#43 时代「代理场景归 991x」的旧口径),与本轮确认的「dev 就是 8910」相悖;e2e 运行时腿占 9912,与 991x 连号不齐。
--base /absproxy/8910 --port 8910
/practice/
/practice.html
注:分支堆叠在 #51(dev 内存索引修复)之上,#51 合入后本 PR rebase 剩单提交。
yarn dev:proxy
/
/vendor/react.js
/design/
node proxy-check.js
npx playwright test e2e/playground-embed.spec.ts
No dependencies set.
The note is not visible to the blocked user.
背景
端口约定回归「按模式定系列」:交互 dev 一律 8910/8911(tutorial 8910、web-runner 8911),preview/e2e 归 991x(站点 9910、运行时 9911)。当前偏差:tutorial 的 dev:proxy 跑在 9911(#43 时代「代理场景归 991x」的旧口径),与本轮确认的「dev 就是 8910」相悖;e2e 运行时腿占 9912,与 991x 连号不齐。
变更内容
--base /absproxy/8910 --port 8910(VITE_STACK_RUNTIME_ORIGIN 仍指 web-runner 的 absproxy/8911,不动)/practice/(#47 html 分类入夹后/practice.html已 404)注:分支堆叠在 #51(dev 内存索引修复)之上,#51 合入后本 PR rebase 剩单提交。
自测结果
yarn dev:proxy实测:tutorial 起在 localhost:8910/absproxy/8910/,/、/vendor/react.js、/design/、/practice/全 200,HTML 资源全部带 /absproxy/8910 前缀无逃逸node proxy-check.js(修复后可运行):practice 页在代理入口下正常渲染,runtime-status 元素命中(远程运行时需 code-server 登录态,headless 下停在「启动中」属预期)npx playwright test e2e/playground-embed.spec.ts:5/5 通过——e2e 栈以 9910/9911 双腿自举,运行时握手、模板构建回传全绿