Repository navigation
release: Upgrade version to v1.3.42 - #1271
Draft
marcomarcogd wants to merge 3 commits into
Draft
marcomarcogd wants to merge 3 commits into
marcomarcogd wants to merge 3 commits into
Conversation
fix:缩减 server 首屏资源并启用静态 gzip
This branch has not been deployed
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.
本发布分支已累计 #1270 的 server 首屏加载修复,保持 Draft,等待维护者统一安排正式发布。
本轮修复
#1272 已通过 merge commit 合入,发布分支提交为
c629b9fdd411aee991474f8eaee11050bd19328f。相同锁文件的完整应用对照:首屏 JS 从 7,121,747 bytes 降至 1,997,972 bytes,减少 71.95%;server 的实际 gzip 传输为 545,232 bytes,比原未压缩传输减少 92.34%。前后均为单个首屏 JS。
验证
前端只读 ESLint、304 项单测、静态构建、Go vet、普通与 server 编译、HTTP 工具包 race、20 项隔离真实 HTTP 检查、技能引用和 release-notes 测试通过。生产构建验证静态解压内容逐字节一致,API 不压缩,HEAD、Range 和二进制资源行为保持。
本地已有基线失败已同环境对照且未弱化断言:macOS AppImage 与四项数据目录迁移测试;生产 Cypress 前后均 28/29,同一聊天上下文 contextContent 等待失败。没有新增失败。
以下 Test 均已全绿:发布准备基线、修复 PR、最终发布分支累计检查。
本轮官方 main 保持
0b064ef54dfb2723fdfe08e63c50c7fe74746a94;其他 Dependabot PR 未改目标或合入。MRSS fork 未同步,不构建安装包、不创建标签或 GitHub Release,本发布 PR 不合入 main。Fixed #1270