Repository navigation
开发服务复用 Worker 产物并支持有界磁盘缓存 - #7
Merged
Merged
Conversation
Deploying wake with
|
| Latest commit: |
7078528
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://06951499.wake-if9.pages.dev |
| Branch Preview URL: | https://codex-dev-worker-cache.wake-if9.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wake 会在开发服务就绪前再次扫描,以捕获构建和注册监听期间的变化。此 PR 保留启动复扫,分别提交两项 Worker 优化和 CI 所需的 Linux 浏览器清单维护。
5829a75验证原生 Worker 的输入,在当前开发会话中复用成功构建的产物。3e87066为wake dev --worker-cache和startDevServer({ workerCache: true })接入顶层 Worker 模块磁盘缓存。默认关闭,每个项目最多保存 256 MiB。缓存损坏时从源文件重建。7078528核对 Ubuntu 24.04 官方镜像清单与 CI 实际 CDP 身份后,将 Chrome 158 纳入 Linux x64 已审查的清单,保留浏览器功能检查。对应的浏览器准入、发布契约和 61 项架构测试已在本机通过。Windows 上已验证源码与 PnP 归档变更、容量淘汰、并发写入及损坏恢复。拆分后分别复跑 5 项和 26 项聚焦测试。最终源码与先前通过 bundler、cache、dev-server、CLI/Node 和架构门禁的 Release 构建一致。
本机 crab-boot 采用同一 Release,各测三次从根目录
yarn start到首页 HTTP 200 的耗时。关闭磁盘缓存、首次填充和跨进程热重启的中位数分别为 25.312、25.893 和 20.332 秒。九次响应的首页和七个 Worker 内容一致。