tart/Sources/tart
Nikolai Tillmann 512c1c3630
Fix busy loop in `tart exec -i` after piped stdin reaches EOF (#1281)
Unregister the stdin readabilityHandler when availableData returns empty:
a closed pipe fd stays permanently readable, so Foundation re-invokes the
handler in a tight loop (fstat + zero-byte read) at 100% of one core for
the rest of the command's lifetime.

Fixes #1280

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 08:56:27 -04:00
..
CI [codex] Publish Tart to openai/homebrew-tools (#1277) 2026-07-16 21:32:18 -04:00
Commands Fix busy loop in `tart exec -i` after piped stdin reaches EOF (#1281) 2026-07-17 08:56:27 -04:00
Credentials StdinCredentials: increase maxCharacters to 8,192 (#1203) 2026-02-23 18:55:52 +01:00
DeviceInfo
Formatter Suspend/resume support (#527) 2023-07-06 18:04:39 +00:00
Logging Avoid duplicate progress updates in CI logs (#1140) 2025-09-29 15:57:39 +04:00
MACAddressResolver Fix build warnings (#1262) 2026-06-09 15:29:19 -07:00
Network Fixed Swift Warning (#787) 2024-04-11 19:53:10 +04:00
OCI Remove disk v1 support (#1204) 2026-02-25 14:34:25 +00:00
Passphrase
Platform tart set: support optional "pt" and "px" units for "--display" argument (#1155) 2025-10-21 21:35:42 -04:00
ShellCompletions Upgrade Swift Argument Parser to 1.6.1 (#1103) 2025-07-08 00:19:50 +04:00
VNC tart run: resolve VM's IP using ARP when using --net-bridged and --vnc (#811) 2024-05-02 18:04:26 +04:00
Config.swift Validate custom TART_HOME and provide a human-friendly error message (#1138) 2025-09-25 20:44:57 +04:00
ControlSocket.swift Bind and connect to Unix domain sockets using relative paths (#1192) 2026-02-05 15:51:14 +01:00
DiskImageFormat.swift ASIF is available only starting from macOS 26 (Tahoe) (#1096) 2025-09-14 09:40:06 -04:00
Diskutil.swift Refactor "diskutil create" and "diskutil info" into a separate class (#1172) 2026-01-22 13:00:27 +01:00
Fetcher.swift Registry: limit the text output on unexpected status code (#981) 2024-12-20 11:55:08 +04:00
FileLock.swift
GuestAgentChannel.swift Fix build warnings (#1262) 2026-06-09 15:29:19 -07:00
IPSWCache.swift
LocalLayerCache.swift Optimize DiskV2 Deduplication (#878) 2024-08-05 12:24:31 -04:00
OTel.swift OpenTelemetry: set default resources, service.name and service.version (#1184) 2026-01-27 16:17:05 +01:00
PIDLock.swift tart delete: return human-friendly error when local VM doesn't exist (#910) 2024-09-26 14:45:14 +04:00
Prunable.swift Show both size and actual size of files (#742) 2024-02-27 20:13:38 +04:00
Root.swift Don't run the AppKit run loop nested in Swift's async main (#1260) 2026-06-09 09:53:06 -07:00
Serial.swift
Term.swift Introduce "tart exec" command as an alternative to SSH (#1074) 2025-05-22 17:28:14 +04:00
URL+AccessDate.swift utimes(2): use errno to explain the error (#931) 2024-10-31 16:33:03 -04:00
URL+Prunable.swift Optimize DiskV2 Deduplication (#878) 2024-08-05 12:24:31 -04:00
Utils.swift Fix build warnings (#1262) 2026-06-09 15:29:19 -07:00
VM+Recovery.swift Use MainActor to ensure we're running on main queue (#515) 2023-06-07 15:06:33 +04:00
VM.swift Fix build warnings (#1262) 2026-06-09 15:29:19 -07:00
VMConfig.swift tart set: support optional "pt" and "px" units for "--display" argument (#1155) 2025-10-21 21:35:42 -04:00
VMDirectory+Archive.swift
VMDirectory+OCI.swift Remove disk v1 support (#1204) 2026-02-25 14:34:25 +00:00
VMDirectory.swift Bind and connect to Unix domain sockets using relative paths (#1192) 2026-02-05 15:51:14 +01:00
VMStorageHelper.swift Remove disk v1 support (#1204) 2026-02-25 14:34:25 +00:00
VMStorageLocal.swift Validate custom TART_HOME and provide a human-friendly error message (#1138) 2025-09-25 20:44:57 +04:00
VMStorageOCI.swift Switch to OpenTelemetry (#1179) 2026-01-23 12:04:21 +01:00