Skip to content

fix(devbox): atuin を 18.24.2 に固定し、aarch64-darwin でのビルド失敗を避ける - #272

Merged
paveg merged 1 commit into
mainfrom
fix/pin-atuin-18-24-2
Nov 2, 2026
Merged

paveg merged 1 commit into
mainfrom
fix/pin-atuin-18-24-2

Conversation

@paveg

@paveg paveg commented Nov 2, 2026

Copy link
Copy Markdown
Owner

概要

atuin@latest を atuin@18.24.2 に固定します。aarch64-darwin で atuin 18.24.4 のビルドが失敗し、devbox global update 全体が止まるためです。

確認したこと

  • nix path-info --store https://cache.nixos.org は、18.24.4 の出力パスに is not valid を返しました。18.24.2 の出力パス(/nix/store/71b0hd03a7k790g0ps327jkbplrxisba-atuin-18.24.2)は返りました
  • 手元のビルドでは e2e_ai_sessions が 45 passed; 2 failed で終わりました。失敗したのは次の 2 件です
    • a_diverged_copy_resumes_only_as_chosen::agent_4_Agent__Pi
    • a_session_gone_on_with_elsewhere_catches_up_where_it_came_from::agent_3_Agent__Pi
  • 固定後の devbox global update は exit 0 で終わり、ログには copying path '/nix/store/71b0hd03a7k790g0ps327jkbplrxisba-atuin-18.24.2' from 'https://cache.nixos.org' が出ました
  • atuin --version は atuin 18.24.2 (NO_GIT) を返しました

原因の仮説(未検証)

macOS の Nix ビルドは nixbld ユーザーで走るので、他ユーザーのプロセスのコマンドラインを読めません。atuin の may_be_agent は、コマンドラインが読めず名前が node などのプロセスを pi の可能性ありと扱います。手元で node が動いていると、テストのセッションが稼働中と判定されて失敗すると考えています。ソースを読んだ上での仮説で、実行して確かめてはいません。

固定を外す条件

nixpkgs 側で直るか、18.24.4 以降の aarch64-darwin 向けキャッシュができたら @latest に戻します。

🤖 Generated with Claude Code

nixpkgs の atuin 18.24.4 は cache.nixos.org に aarch64-darwin の出力がなく、手元でビルドすると e2e_ai_sessions の Agent__Pi のテスト 2 件が落ちる。この失敗で devbox global update 全体が止まっていた。18.24.2 はキャッシュから入る。

nixpkgs 側で直るか、18.24.4 以降のキャッシュができたら @latest に戻す。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 34cfa3a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@paveg
paveg enabled auto-merge (squash) November 2, 2026 18:02
@paveg
paveg merged commit 3482ef0 into main Nov 2, 2026
13 checks passed
@paveg
paveg deleted the fix/pin-atuin-18-24-2 branch November 2, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant