docs(progress): record gate 2809 and staging deploy 2811
This commit is contained in:
+1
-1
@@ -12849,7 +12849,7 @@
|
||||
- 触发条件:staging 推送触发门禁;validate 先 `rm -rf -- .venv` 再 `python3 -m venv --clear .venv`,然后跑仓库跟踪文件隐私扫描。
|
||||
- 根因:`9375012f`(文档提交)把名为 `.venv` 的符号链接写入跟踪树。`.gitignore` 写成 `.venv/`,Git 只忽略同名目录、不忽略同名符号链接。CI 用真实虚拟环境目录盖掉该链接后,扫描器对跟踪路径 `.venv` 做 `lstat` 得到目录而非普通文件,记为 `READ_ERROR`。不是又扫到姓名或本机路径。
|
||||
- 修复:从跟踪树删除该链接;`.gitignore` 改为 `.venv`(文件、目录、符号链接都忽略)。合同测试锁定:`git ls-files` 不含 `.venv`,`git check-ignore --no-index .venv` 命中。
|
||||
- 验证:`pytest tests/test_repo_privacy_markers.py`;前端头像合同见 BUG-975。门禁重跑结果写入进度记录。
|
||||
- 验证:`pytest tests/test_repo_privacy_markers.py` 62/62;前端头像合同见 BUG-975。门禁 [2809](https://git.copse.top/root/Jyotisha/actions/runs/2809) 成功,staging `/api/health` = `12fdaed9`。
|
||||
- 防复发:不得把本地运行时目录或指向它的符号链接加入跟踪树;忽略规则不要只写带尾斜杠的目录形式。
|
||||
- 相关记录:BUG-972、BUG-973
|
||||
- 复发自:无
|
||||
|
||||
@@ -40,4 +40,7 @@
|
||||
- `python -m pytest tests/test_repo_privacy_markers.py`:62 collected / 62 passed(基线 60,本轮 +2:`.venv` 不得跟踪、gitignore 覆盖符号链接名)。
|
||||
- `tsx --test tests/beam-avatar.test.ts`:6/6 通过,含原先红的第 6 条。
|
||||
- 未跑全量 `npm test` / `run_quality_gate.py --profile quick`(工作树无独立依赖;以门禁为准)。
|
||||
- 本轮代码提交:`8dc460da`。门禁结论在推送后补。
|
||||
- 本轮代码提交:`8dc460da`。远端 `staging` 头 `12fdaed9`(文档回填 SHA)。
|
||||
- 门禁 [2809](https://git.copse.top/root/Jyotisha/actions/runs/2809) validate + publish 成功。
|
||||
- 迁移 [2810](https://git.copse.top/root/Jyotisha/actions/runs/2810) 成功;部署 [2811](https://git.copse.top/root/Jyotisha/actions/runs/2811) 成功。
|
||||
- `https://staging.jyotisha.chat/api/health` 的 `deployment.gitCommit` = `12fdaed90b81014378fe5eaa9231e50d2b838a37`。
|
||||
|
||||
Reference in New Issue
Block a user