Repository navigation
chore: retire cache gate and automated maintenance - #74
Merged
Merged
Conversation
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.
变更
lib.maintenancePolicy;保留maintenance gate状态名称,改为实际 116 配置、三个用户 Home Manager activation 及 headless/cache 签名配置检查。upstream更新至4cb59bbd80254e1cb884239d2c8e7c7917a2069d,继承无 cache gate 的maint-switch:先完整构建,再激活同一 store path;kernel/NVIDIA 变化使用 boot-only activation。更新中文文档及旧 helper 首次迁移步骤,移除失效的--no-pull用法。lib/nix-caches.nix对齐优先级:USTC 10、官方 NixOS 40、Numtide 60;downstream Yazelix 60。运行配置与安装默认值保持一致,保留签名验证和公钥。enabled: false,删除自动更新/合并规则。仓库allow_auto_merge已为 false;旧 Renovate PR chore(deps): update dotlink digest to c34ea5a #73 和 Dependency Dashboard Dependency Dashboard #10 已关闭。影响边界
已逐项比较 lock,downstream 顶层 nixpkgs、home-manager、disko、impermanence、sops-nix、yazelix、dotlink 均未变化。upstream 的传递依赖有变化;桌面 inputs 仍在 upstream lock 图中,但 116 不因此启用桌面。
本次实际版本比较(116 当前运行版本 → 新配置求值版本):
验证与部署
本地通过:
git diff --check、安装脚本nu-check、七项顶层 lock 不变性检查。maint-switch --help。nix flake check --no-build --impure --no-update-lock-file --option allow-import-from-derivation false,实际 116 toplevel 和 devShell 求值成功。nix build --impure --no-link --no-update-lock-file --max-jobs 1 --cores 2 -L .#checks.x86_64-linux.host-116,包括签名、公钥、cache 优先级、headless 和 Yazelix 用户边界断言。CI 已对 d880bcc 通过:https://github.com/sctmes/dotfiles/actions/runs/42978861930/job/130384256182 。
用户接受 Yazi 版本变化后,已合并为
3d7ced63e15d85ead2c72097867f4d282121b45b。随后通过 116 connector 从干净的最新 main 尝试完整构建,但 未能完成构建,未激活或 reboot。116 实际构建结果
aioboto3 15.5.0的 7 个 DynamoDB 测试失败(45 passed、2 deselected、1 xfailed),错误为本地 mock endpointhttp://localhost:5001/返回重复 Server header:HTTPClientError: 400, Duplicate 'Server' header found.失败链:
aioboto3→py-key-value-aio→FastMCP/pydocket→mcp-nixos 2.3.1→ 三个 Home Manager paths。这不是 cache gate,也不是远端网络失败;没有跳过测试或关闭签名检查。确认依赖失败后停止仍在收尾的构建 job。完整日志可在 116 读取:
nix log /nix/store/hsmz4bydg4d10bia2wdi6g5nlnp210hk-python3.13-aioboto3-15.5.0.drv。运行系统仍为原 generation;SSH、Docker、Nix daemon 和 dotlink 保持 active,无 failed systemd units。后续需先修复或选择兼容的工具依赖,再重新构建;当前 CI 是求值和针对性配置检查,不等同于完整 closure build。