Repository navigation
👷 ci: align released tooling and workspace validation - #85
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
zrr-website-slides | 37754c5 | Commit Preview URL Branch Preview URL |
Oct 18 2026, 01:24 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
zrr-website-blog | 37754c5 | Commit Preview URL Branch Preview URL |
Oct 18 2026, 01:26 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
zrr-website-root | 37754c5 | Commit Preview URL Branch Preview URL |
Oct 18 2026, 01:27 PM |
morirun
left a comment
There was a problem hiding this comment.
阻塞项:
- 无。
非阻塞:
policy-pr.yml与prek.toml固定到 zendev 未打 tag 的提交7d8bcbf(v0.4.0 之后)。建议在注释中写明对应版本(如v0.4.0+7d8bcbf),等上游发布包含该修复的 tag 后改回 tag,方便 Renovate 跟踪。- 本 PR 未修改 lockfile,但继承自 #84 的
pnpm-lock.yaml在 rebase 到main时需要一并处理。
核对:
- zendev
7d8bcbf的.pre-commit-hooks.yaml中zendev-message-check声明stages: [commit-msg]。与main上 #89 新增的default_install_hook_types/default_stages合并时无冲突,且仍在 commit-msg 阶段运行。本地用 prek 验证:不合规的提交信息被拒,🐛 fix(blog): …通过。 - 在当前
main上对 root、slides 运行astro check:0 errors(root 有 1 条execCommand弃用提示);将整个 stack 合并到main后vp run build三站点通过。 - README 改为
vp install --frozen-lockfile,与AGENTS.md「统一用 Vite+」一致。 - CI 全绿,PR 正文符合模板。
结论:
- Approve。
Code Review ✅ Approved🟡 Medium risk · Updating shared PR/message validators and adding Astro checks could reject valid contributions or miss malformed messages, disrupting CI gating. Aligns the commit hook and both PR actions to a pinned upstream commit using the supported OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Important Your trial ends in 3 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more. Was this helpful? React with 👍 / 👎 | Gitar |
|
## 动机 Egglog 系列第二、三篇的前篇链接使用相对路径,部署后会指向不存在的嵌套 URL。简历的 Typst 编译失败时,astro-typst 会返回空字符串,构建仍可能成功并生成空白简历。 ## 解决方案 - 将两处前篇链接改为已发布的 `/posts/<slug>/` 路由。 - 在 Typst 的 SVG 后处理入口拒绝缺少 SVG 的输出,让编译失败明确中止构建。 - 报错保留文件路径;内联输入使用明确的来源名称,避免显示 `undefined`。 ## 说明 本 PR 只包含博客链接与简历构建行为的修复,不改变简历正文、样式或 HTML 目标的文章渲染。 所属原生 stack 为 #91,顺序为 #82 → #84 → #85。完整网站构建工作流及 Action 固定引用在 #85 单独交付,现有 Cloudflare 构建继续验证三个站点。 --------- Co-authored-by: morirun <257760829+morirun@users.noreply.github.com>
## 动机 OG 图片构建会逐张请求 Google Fonts 的 CSS 和字体文件,网络或字体服务不可用时会导致博客构建失败。中文标题还需要可用的中文后备字体。 ## 解决方案 - 从锁定的本地字体包读取 IBM Plex Mono 的普通与粗体,保持拉丁文字的现有字体。 - 使用本地思源黑体补充中文,按图片实际文本生成普通与粗体子集;源字体在进程内复用。 - 站点与文章 OG 模板共用离线加载入口,删除构建时的字体网络请求。 - 添加禁止网络请求的中英文 SVG、PNG 渲染测试,并在现有静态检查工作流中执行。 ## 说明 所属原生 stack 为 #91,直接基线是 #82,后续为 #85。完整构建流水线在 #85 单独交付,本 PR 只接入本功能的回归测试。 字体与子集工具仅用于构建,不引入浏览器端字体请求。IBM Plex Mono 使用 latin 子集,其他字符可能使用后备字体;当前中文字体包体积较大,会增加依赖安装成本。 ## 后续工作 评估只包含所需字重的中文字体包,并补充扩展拉丁字符的字体覆盖检查。 --------- Co-authored-by: morirun <257760829+morirun@users.noreply.github.com>



动机
本地提交钩子仍使用旧版入口,与主线 PR 校验的 zendev v0.5.0 不一致;主页和幻灯片的构建也未执行已有 Astro 静态检查。完整网站构建与 Action 引用维护需要作为独立 CI 改动交付,避免混入博客功能修复。
解决方案
zendev-message-check;两个 PR Action 固定到该版本对应的完整 SHA,并在行内保留v0.5.0注释。prek-action和setup-vp固定到已核实的完整提交 SHA,并保留对应版本注释。astro check。vp install --frozen-lockfile。说明
所属原生 stack 为 #91,直接基线是 #84。本 PR 集中承载 CI 与工具链维护,博客功能与字体回归测试分别由 #82、#84 交付。
GitHub 的完整构建提供可审阅、可在本地复现的全站验证入口,与现有 Cloudflare 构建有覆盖重叠;生产部署仍由 Cloudflare 执行。工作流保留既有
main分支过滤、路径过滤和最小权限,原生 stack 的各层沿用 trunk 的 PR CI。