Files
Reactive_Resume/工程分析/实现方案-2026-05-19-23-23-50.md

45 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 实现方案-2026-05-19-23-23-50
## 实现方案文档路径
`工程分析/实现方案-2026-05-19-23-23-50.md`
## 修改目标
回滚上一条错误指令,将 PDF 下载文件名恢复为 `ZhiboWang-Resume.pdf`
## 涉及路径
- `scripts/patch-reactive-resume-filename.sh`
- `工程分析/需求分析-2026-05-19-23-23-50.md`
- `工程分析/实现方案-2026-05-19-23-23-50.md`
- `工程分析/测试方案-2026-05-19-23-23-50.md`
- `工程分析/经验记录.md`
## 技术路线
1. 将脚本中的 `PDF_FILENAME` 恢复为 `ZhiboWang-Resume.pdf`
2. 将 Node 补丁逻辑中的 `pdfFilename` 恢复为 `ZhiboWang-Resume.pdf`
3.`CACHE_BUST``cacheBust` 恢复为 `rr-filename-20260519`
4. 执行 `sh -n` 做脚本语法检查。
5. 重新执行补丁脚本,更新运行中容器并等待 healthy。
6. 验证 HTTP 静态资源中包含旧文件名且不再包含中文文件名。
7. 创建回滚 commit并尝试推送 Gitea。
## 兼容性与回滚方案
- 本次不改数据库、简历 JSON、Compose 或上传文件。
- 如用户后续给出新的正确文件名,可再次改脚本变量并执行补丁脚本。
- 当前选择新增回滚提交,保留历史可追溯性。
## 预计文件变更
- 更新:`scripts/patch-reactive-resume-filename.sh`
- 新增:本次 `需求分析``实现方案``测试方案`
- 更新:`工程分析/经验记录.md`
## 提交与部署策略
- commit message 使用:`2026-05-19-23-23-50 回滚简历PDF下载文件名`
- 部署通过执行 `scripts/patch-reactive-resume-filename.sh reactive-resume-reactive-resume-1` 完成。