Repository navigation
ci: free runner disk space and pin the update runner to ubuntu-26.04 - #161
Merged
Merged
Conversation
The validation build unpacks a 12.5 GiB closure and overflowed the hosted runner's free space, so the 2026-11-04 AI input update stopped before creating its PR. Remove the large preinstalled toolchains before installing Nix, and pin the image to ubuntu-26.04 (GA since September) so the disk size stays predictable while ubuntu-latest migrates.
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.
背景
今日(2026-11-04)の
Bot: Update AI agent inputsが失敗していました。検証 step(
nix build .#homeConfigurations."nosuke@linux-x86_64".activationPackage)が展開に 12.5 GiB を要求し、ubuntu-24.04 ランナーの空き(約 14 GiB)を超えました。前日は 11.8 GiB でギリギリ通っていた状態です。ログ中のcodex-0.166.0 ... no substituterはディスク不足による巻き添えで、キャッシュには存在します。変更
/usr/local/lib/android・/usr/share/dotnet・/opt/ghc・CodeQL・Docker イメージを削除。24.04 相当のランナーでも余裕ができます。runs-onをubuntu-26.04に固定:ubuntu-latestは 2026-11 中(〜11/19)に 24.04 から 26.04 へ移行中で、世代が予告なく変わるため明示します。26.04 は 9 月に GA 済みです。両方の flake 更新ワークフロー(AI / stable)に同じ変更を入れています。
検証
一時ワークフローで
ubuntu-26.04ランナー上での実行を確認済み(その後削除):nix build ... activationPackageが 3分42秒で成功zizmor/ actionlint による指摘なし(actionlint は 26.04 ラベルを知らない古い定義のため警告のみ、CI では未使用)