Skip to content

MikuMikuAR v1.2.7

发布日期:2026-07-11 类型:CI / 构建质量验证版(无新功能、无行为变更)

本版目的

验证跨发版(tag)缓存命中。背景:

  • release.ymlactions/cache 在 tag run 里按 tag 作用域隔离,跨发版互相不可见, 导致 wails3 二进制 / node_modules / Go modules 每版冷启动(go install 约 1 分钟 + npm ci)。
  • 新增 cache-warm.ymlon: push: branches:[main],带 paths 过滤),复用与 release.yml 完全一致的缓存 key,把上述三类预热到 main 作用域。本次发版用于确认 tag run 的 restore 能回退命中 main,跳过 go install / npm ci / go mod download

实测验证结果(run 29118031286,结论 success)

三平台(Linux / Windows / Android)三类缓存全部 Cache hit,回退命中 cache-warm #3 落盘的 main 作用域:

缓存LinuxWindowsAndroid说明
wails-<ver>-<OS>✅ hit✅ hit✅ hit跳过 go install
nm-<OS>-<lockHash>✅ hit✅ hit✅ hit跳过 npm ci
go-<OS>-<go.sumHash>✅ hit✅ hit✅ hit跳过 go mod download
go-build-<OS>-<GOVER>-<sha>⚠️ miss⚠️ miss⚠️ miss设计内(含 sha,每次新 commit 必 miss,未预热)

日志实证:Cache hit for: wails-v3.0.0-alpha2.105-Linux / Cache restored from key: nm-Linux-953b3af6… / Cache hit occurred on the primary key ..., not saving cache(命中且不重写,无冲突)。 方案 B(cache-warm 预热到 main 作用域)验证通过

改动摘要

  • package.json 版本 1.2.61.2.7
  • 本次发版本身不包含代码/功能改动,仅作缓存命中验证。

已知限制

  • go-build-<OS>-<GOVER>-<sha> 缓存含 commit sha,每次新 commit 必 miss(仅省同 sha 重跑), 不在 cache-warm 预热范围内(需 CGO 真编译填充,留着会把预热变重)。