镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

macOS leaves Kiro CLI HFS+ installer volumes mounted after updates #3923

Open

Description

@borlafu

Checks

Operating system

macOS 26.5.2 (25F84)

Expected behaviour

Installer / updater image disks are unmounted after an update.

Actual behaviour

I get a growing list of mounted disk images over time.

Example from today, after about a month from the last manual cleanup:

$ diskutil list
... redacted

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.0 GB     disk4
   1:                  Apple_HFS Kiro CLI                1.9 GB     disk4s1

/dev/disk6 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +1.4 GB     disk6
   1:                  Apple_HFS Kiro CLI                1.3 GB     disk6s1

/dev/disk7 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +1.3 GB     disk7
   1:                  Apple_HFS Kiro CLI                1.1 GB     disk7s1

/dev/disk8 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +1.3 GB     disk8
   1:                  Apple_HFS Kiro CLI                1.1 GB     disk8s1

/dev/disk9 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +660.5 MB   disk9
   1:                  Apple_HFS Kiro CLI                660.4 MB   disk9s1

/dev/disk10 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +660.6 MB   disk10
   1:                  Apple_HFS Kiro CLI                660.5 MB   disk10s1

/dev/disk11 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +662.8 MB   disk11
   1:                  Apple_HFS Kiro CLI                662.8 MB   disk11s1

/dev/disk12 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +662.8 MB   disk12
   1:                  Apple_HFS Kiro CLI                662.8 MB   disk12s1

/dev/disk13 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +663.8 MB   disk13
   1:                  Apple_HFS Kiro CLI                663.8 MB   disk13s1

/dev/disk14 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +664.0 MB   disk14
   1:                  Apple_HFS Kiro CLI                663.9 MB   disk14s1

/dev/disk15 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +664.0 MB   disk15
   1:                  Apple_HFS Kiro CLI                663.9 MB   disk15s1

/dev/disk16 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +664.7 MB   disk16
   1:                  Apple_HFS Kiro CLI                664.7 MB   disk16s1

/dev/disk17 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +665.4 MB   disk17
   1:                  Apple_HFS Kiro CLI                665.4 MB   disk17s1
$ hdiutil info
... redacted
================================================
image-path      : /var/folders/dd/c34r_lln7nd7gnchb4h9_5x40000gn/T/kiro-cli-downloadysQx97/Kiro%20CLI.dmg
image-alias     : /private/var/folders/dd/c34r_lln7nd7gnchb4h9_5x40000gn/T/kiro-cli-downloadysQx97/Kiro%20CLI.dmg
shadow-path     : <none>
icon-path       : /System/Library/PrivateFrameworks/DiskImages.framework/Resources/CDiskImage.icns
image-type      : UDIF read-only compressed (zlib)
system-image    : false
blockcount      : 1299677
blocksize       : 512
writeable       : false
autodiskmount   : TRUE
removable       : TRUE
image-encrypted : false
mounting user   : borlafu
mounting mode   : <unknown>
process ID      : 56612
framework name  : DiskImages
/dev/disk17	GUID_partition_scheme
/dev/disk17s1	48465300-0000-11AA-AA11-00306543ECAC	/Volumes/Kiro CLI 12
... redacted
$ ls -la /var/folders/dd/c34r_lln7nd7gnchb4h9_5x40000gn/T/ | grep kiro-cli
drwx------@    3 borlafu  staff        96 Sep 12 03:35 kiro-cli-download1ajMxr
drwx------@    4 borlafu  staff       128 Sep 19 01:07 kiro-cli-download2q8faq
drwx------@    4 borlafu  staff       128 Sep 26 12:41 kiro-cli-download35QbCY
drwx------@    4 borlafu  staff       128 Sep  1 05:21 kiro-cli-download7QD6MX
drwx------@    4 borlafu  staff       128 Oct  1 13:05 kiro-cli-downloadcUk8VG
drwx------@    3 borlafu  staff        96 Sep 14 03:35 kiro-cli-downloadefMy9E
drwx------@    4 borlafu  staff       128 Sep 29 21:43 kiro-cli-downloadeuDqBa
drwx------@    4 borlafu  staff       128 Sep 23 03:16 kiro-cli-downloadGNeQlM
drwx------@    4 borlafu  staff       128 Oct  2 12:59 kiro-cli-downloadGX99Ub
drwx------@    4 borlafu  staff       128 Sep 14 03:20 kiro-cli-downloadh8jJ1K
drwx------@    4 borlafu  staff       128 Sep 24 04:47 kiro-cli-downloadkWTWg6
drwx------@    4 borlafu  staff       128 Sep 29 09:35 kiro-cli-downloadkzUYvw
drwx------@    3 borlafu  staff        96 Sep 12 03:35 kiro-cli-downloadLhDVXF
drwx------@    3 borlafu  staff        96 Sep 15 03:35 kiro-cli-downloadoU7eFC
drwx------@    4 borlafu  staff       128 Sep 16 23:47 kiro-cli-downloadsh1drk
drwx------@    4 borlafu  staff       128 Sep 22 03:27 kiro-cli-downloadWvDEZp
drwx------@    4 borlafu  staff       128 Oct  3 19:20 kiro-cli-downloadysQx97

Steps to reproduce

Install Kiro CLI, enable automatic updates, and wait for a month or two.

I can see the following in the logs:

➜ cat $TMPDIR/kiro-log/autocomplete/kiro_desktop.log | grep update
2026-08-29T21:12:05.538120Z ERROR fig_desktop::install: 102: No update found
2026-09-01T03:21:55.018227Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk4" - Resource busy
2026-09-02T06:30:41.992268Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk6" - Resource busy
2026-09-05T07:43:39.235373Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk7" - Resource busy
2026-09-09T02:23:55.852672Z ERROR fig_install: 259: Failed to update err=error decoding response body
2026-09-09T02:23:55.867068Z ERROR fig_desktop::update: 110: Failed to update err=error decoding response body
2026-09-09T09:37:09.728185Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk8" - Resource busy
2026-09-11T09:12:24.791438Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk9" - Resource busy
2026-09-14T01:20:37.730588Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk6" - Resource busy
2026-09-16T21:47:44.260634Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk7" - Resource busy
2026-09-18T23:07:04.121848Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk8" - Resource busy
2026-09-22T01:27:46.928113Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk9" - Resource busy
2026-09-23T01:16:27.670201Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk10" - Resource busy
2026-09-24T02:47:58.687278Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk11" - Resource busy
2026-09-26T10:41:52.714789Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk12" - Resource busy
2026-09-29T07:35:37.607508Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk13" - Resource busy
2026-09-29T19:43:41.842262Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk14" - Resource busy
2026-10-01T11:05:53.387113Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk15" - Resource busy
2026-10-01T22:00:49.476793Z ERROR fig_install: 259: Failed to update err=error decoding response body
2026-10-01T22:00:49.478224Z ERROR fig_desktop::update: 110: Failed to update err=error decoding response body
2026-10-02T10:59:20.544953Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk16" - Resource busy
2026-10-03T17:20:52.101004Z ERROR fig_install::macos: 252: the update succeeded, but unmounting the dmg failed command=hdiutil: couldn't unmount "disk17" - Resource busy

Environment

<This will be visible to anyone. Do not include personal or sensitive information>

[q-details]
version = "2.27.1"
hash = "7c1a246f80bfdf3266858f4391fcdf75dd9faf62"
date = "2026-10-02T20:09:25.049151Z (2d ago)"
variant = "full"

[system-info]
os = "macOS 26.5.2 (25F84)"
chip = "Apple M2 Pro"
total-cores = 10
memory = "16.00 GB"

[environment]
cwd = "/Users/USER/code"
cli-path = "/Users/USER/code"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.unity/bin:/Users/USER/Library/pnpm/bin:/Users/USER/.antigravity-ide/antigravity-ide/bin:/Users/USER/.antigravity/antigravity/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/pkg/env/global/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/Users/USER/.local/bin:/Users/USER/.local/bin:/Applications/Unity/Hub/Editor/6000.5.9f1/PlaybackEngines/AndroidPlayer/SDK/platform-tools"
QTERM_SESSION_ID = "d6fe7ac2ad2d40dc804db814f29f722a"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "2.27.1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"

Activity

  1. borlafu commented on Oct 4, 2026

    @borlafu
    Author

    Related, but a bit less documented: #3881

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions