Commit Graph
442 Commits
Author SHA1 Message Date
Precious Okwu 3db7378e5b CI & release: enforce executable regression checks, PR gates, Windows unit tests, and Mac release gate (#1128)
* CI & release: enforce executable regression checks, PR gates, Windows unit tests, and Mac release gate

* Compose: keep empty environment variables distinct instead of gluing onto preceding entry
2026-12-02 02:41:04 +01:00
Precious Okwu 5c29328c44 macOS & guest: repair and resize VM ext4 disk offline before mount and serialise data.img lock (#1127)
Fixes #1118
2026-12-02 02:12:56 +01:00
Precious Okwu 1233a902c2 macOS: fix NFS volume mount deadlock under host egress routes and exempt narrower LAN prefixes (#1115)
- Forked VM host-relay worker (`kiri-relay`, `#1085`): move `:1026` (`host.docker.internal` / loopback) and `:1038` (host egress) TCP-to-vsock relays out of `agent::serve_loop` into a dedicated single-threaded child process (`VmRelays`), preserving `kiri-init` PID 1's single-threaded `clone3` invariant while allowing kernel-originated `output`-redirected mounts (`nfs`, `nfs4`, `cifs`) to complete over vsock immediately.
- Deferred network-volume mounts (`volmount::prepare_or_ensure`): keep upfront path, allowlist, and hostname validation synchronous while deferring blocking `mount(2)` calls for network filesystems into `container_child` before `unshare(CLONE_NEWNS)` under `/run/kiri/volmount.lock` so offline NAS endpoints never stall `agent::serve_loop` or concurrent container starts.
- Narrower non-tunnel LAN subnet exemptions (`parse_macos_egress_plan` & `EgressRule`): emit `!cidr` bypass prefixes for unscoped non-tunnel unicast LAN routes (such as `10.0.1.0/24` on `en0` inside Tailscale's `10.0.0.0/12` on `utun4`) when `shared_nat` is active without a global security `NetworkExtension`, sorted longest-prefix-first before broader `redirect to :1038` rules.

Fixes #1085
2026-12-01 17:48:31 +01:00
Precious Okwu e9130dcca8 Engine, Kubernetes & guest: drop unstarted execs on stop, remove k8s volumes, and keep loop perms (#1112)
- Drop unstarted `exec` instances on container stop and populate `ExecIDs` (`#1104`): remove unstarted exec records (`!running && exit_code.is_none()`) whenever their container stops or exits so `POST /exec/{id}/start` and `GET /exec/{id}/json` return `404 No such exec instance` both while stopped and after `docker start` (while keeping finished execs inspectable until container removal), populate `ExecIDs` in `GET /containers/{id}/json`, and ensure `exec_capture` and builder exec helpers always clean up records on `exec_start` errors.
- Remove k3s anonymous volumes on `kiri k8s delete` (`#1103`): pass `?force=1&v=1` when deleting `kiri-k8s` across macOS, Linux, and Windows so the three anonymous volumes declared by `rancher/k3s` (`/var/lib/cni`, `/var/lib/kubelet`, `/var/log`) are deleted alongside the container while keeping the named `kiri-k8s` volume separate until explicit cluster deletion.
- Preserve existing `/dev/loopNpM` node owner, mode, and inode (`#1102`): leave existing `S_IFBLK` nodes untouched in `devsync::sync_dev_dir` when `st_rdev` matches `makedev(major, minor)` so permissions applied by `systemd-udevd` (`root:disk 0660`) or `chown`/`chmod` survive subsequent unrelated loop uevents.

Fixes #1104
Fixes #1103
Fixes #1102
2026-12-01 17:00:52 +01:00
Precious Okwuandzhang.kom daeff29d4e WSL, firewall & Windows UI: sync nf_tables filter without iptables and preserve Unicode paths (#1110)
- Native `nf_tables` `filter` rule synchronisation without `/sbin/iptables` (`#1100`, `#761`): synchronise Kiri's `DOCKER-USER`, `FORWARD`, and `INPUT` DNS port 53 rules directly over `NETLINK_NETFILTER` (`NFPROTO_IPV4` and `NFPROTO_IPV6`) whenever no `iptables` binary is present (such as inside `kiri-linux` `alpine-minirootfs` on Windows WSL 2 alongside Docker Desktop's `ip filter` `FORWARD DROP` rules), tagging rules with `NFTNL_UDATA_RULE_COMMENT` (`comment "kiri"`), prepending them at the head of the target chain, and removing them by `NFTA_RULE_HANDLE` on `Why::Stop` or chain migration.
- Windows Unicode canonical and watched path boundary safety (`#1087`, `#1088`): replace unchecked byte slices in `compose::plain_path`, `compose::wsl_unc`, and `kiri-win` `watch::collapse_specs` with `str::get(...)` so multi-byte UTF-8 characters after `C:\`, `\\?\`, or watched parent folder prefixes never panic.

Fixes #1100
Fixes #761
Fixes #1087
Closes #1088

Co-authored-by: zhang.kom <zhang.kom@gmail.com>
2026-12-01 16:46:04 +01:00
Precious Okwuandryota saiga f554149a31 Daemon, guest & DNS: close-on-exec sockets, ENTRYPOINT [""], PAX newline xattrs, and VPN split-DNS (#1097)
- Close-on-exec & worker descriptor hygiene (`#1089`): set `FD_CLOEXEC` immediately on all bound TCP/UDP port listeners (`ports.rs`), `Virtualization.framework` vsock descriptors (`F_DUPFD_CLOEXEC` in `apple.rs`), and received `SCM_RIGHTS` descriptors, and mark descriptors `>= 3` `FD_CLOEXEC` in `pre_exec` before spawning `kiri-forge` so child processes never inherit published host ports across container recreations.
- Image `ENTRYPOINT [""]` parity (`#1091`): merge image `Entrypoint` and `Cmd` before clearing `[""]` in `api::command()`, matching Docker's `mergeAndVerifyConfig` so images built with `ENTRYPOINT [""]` run their `CMD`.
- Length-prefixed PAX xattr unpacking (`#1068`): capture raw PAX `'x'` headers via `GoNumbers::with_pax` and parse `SCHILY.xattr.*` records by their decimal byte-length prefix while scrubbing interior `0x0a` bytes inside non-path values handed to `tar-rs`, allowing binary POSIX ACLs (`gid 10` = `0x0a`) to unpack cleanly and preventing embedded newline `path=` spoofing.
- macOS `scutil --dns` supplemental VPN resolvers (`#1067`): parse and cache `Supplemental` domain resolvers from `scutil --dns` (invalidated immediately on `PF_ROUTE` changes) and merge them by longest domain suffix with `/etc/resolver/*` so VPN split-DNS names resolve even when a security NetworkExtension enables `prefer_relay`.

Fixes #1089
Fixes #1068
Fixes #1067
Closes #1091

Co-authored-by: ryota saiga <24691647+RSaiga@users.noreply.github.com>
2026-12-01 11:46:05 +01:00
e2ace95369 UI, Linux & docs: volume/network usage, log sort toggle, fontconfig stall recovery, and docs fixes (#1099)
- Volumes & Networks `Used by` column (`#1062`): show container consumer counts, per-state badges, and escaped container-name tooltips on Volumes and Networks across macOS, Windows, and Linux, with `Used by` column sorting on Volumes.
- Window script type-check fixes (`#1033`): pass `String(!on)` to `aria-pressed` in `setRail`, check `Number.isNaN(d.getTime())` in `dgTime`, and sequence `closeMenu()` / `showMenu()` in a block in `[data-smore]`.
- Log sort order toggle (`#1081`): add `Oldest first` (default) / `Newest first` sorting across Container detail Logs, Compose project Logs, and Pod Logs across macOS, Windows, and Linux, preserving live streaming, scroll pinning, search/level filtering, and translations across all 41 locale files.
- Linux `fontconfig` WebKit stall recovery & doctor warning (`#1078`): add a 5-second startup watchdog in `gtk.rs` that detects a `WebKitWebProcess` startup stall with a populated user `~/.cache/fontconfig`, logs the cause to `ui.log`, records a cache fingerprint bypass stamp, and re-launches cleanly with `XDG_CACHE_HOME=~/.kiri/cache/ui`, restoring user `XDG_CACHE_HOME` for spawned terminals and surfacing an actionable `fc-cache -rf` warning in `kiri doctor`.
- Docs & fix registry (`#1080`): fix the relative link to `testing-windows-arm.md` in `docs/development.md` and record recent unreleased bug fixes in `docs/fix-registry.md`.

Fixes #1081
Fixes #1078
Closes #1062
Closes #1033
Closes #1080

Co-authored-by: shihh <shihao1016@qq.com>
Co-authored-by: AnuchitO <3372362+AnuchitO@users.noreply.github.com>
Co-authored-by: Bryan Lundberg <119996547+bryanlundberg@users.noreply.github.com>
2026-12-01 11:38:12 +01:00
6793717d87 Images, guest kernel & machines: legacy RootFS load, push gzip cache, loop write/MD5, and loop partition sync (#1098)
- Accept legacy uppercase RootFS and omitted type on docker load, reuse verified local store layers on 0-byte placeholders (#1064), and keep archive test fixture folders colon-free on Windows (#1035).
- Enable CONFIG_BLK_DEV_WRITE_MOUNTED=y (#1056) and CONFIG_CRYPTO_MD5=y (#1074) in guest/kernel/kiri.config.
- Cache Stat-bound (gzip_digest, gzip_size) stamps for plain-tar layers so Client::push checks HEAD before compressing unchanged layers (#1070).
- Sync /dev/loopN and /dev/loopNpM partition block nodes dynamically on kernel uevents in privileged Kiri machines while keeping regular privileged containers isolated (#977).

Fixes #1064
Fixes #1056
Fixes #1074
Fixes #1070
Fixes #977
Closes #1035
Closes #1075
Closes #1094

Co-authored-by: DeryFerd <deryferdikao125@gmail.com>
Co-authored-by: fudio101 <38380477+fudio101@users.noreply.github.com>
Co-authored-by: Marcin Uliasz <marcin.uliasz@pm.me>
2026-12-01 11:16:24 +01:00
Precious OkwuandDeryFerd 6d0c7a5664 Builder & daemon: proxy relay in HTTP clients, buildx plugin discovery, atomic /etc writes, and vsock half-close fix (#1093)
- Write generated per-container /etc files atomically via exclusive create_new temporary files without following symlinks (#1034).
- Honour configured proxy settings and Windows WSL loopback proxy relays across Forge, updater, tools, scanner, and buildfetch HTTP clients (#1086).
- Discover docker-buildx across cliPluginsExtraDirs, system plugin directories, and bundled Kiri cli-plugins folders on BuildKit fallback builds (#1065).
- Replace two-thread dup/copy host-bound, egress, and SSH agent relays with a non-blocking poll() state machine and close VZVirtioSocketConnection on drop (#1077).

Fixes #1086
Fixes #1065
Fixes #1077
Closes #1034

Co-authored-by: DeryFerd <deryferdikao125@gmail.com>
2026-12-01 06:57:12 +01:00
Precious OkwuandCan Şentay 11fe9287a8 Daemon & images: network disconnect none, IpcMode/UTSMode, healthcheck cap, and image reference parity (#1092)
- Normalise legacy index.docker.io image references to docker.io in Reference::parse (#1018).
- Match docker images --filter reference= patterns with Go path.Match semantics (#1019).
- Allow disconnecting containers from the none network so --network none containers can join bridge or custom networks (#1084).
- Default HostConfig.IpcMode to "private", persist explicit --ipc and --uts modes in docker inspect, and enforce IPC/UTS sharing in kiri-init (#1066).
- Cap healthcheck start_interval waits by remaining start_period during container startup (#1052).

Fixes #1084
Fixes #1066
Fixes #1052
Closes #1018
Closes #1019

Co-authored-by: Can Şentay <140180359+cansentay@users.noreply.github.com>
2026-12-01 06:57:01 +01:00
Precious OkwuandMahesh Kamble ba53e4aca9 Builds: one build-history query at a time, with a time limit (#1060)
The window never runs more than one build-history query at a time, on macOS, Linux and Windows. A request made during a query runs once after it. The polled list is cut off after 15 s and log reads after 120 s, and the process tree is killed. buildx ls runs with --timeout 5s, with a fallback for buildx older than 0.32.0. Builders that are two names for one node are asked once, and the buildx version is read at most every 5 minutes.

Fixes #1016

Co-authored-by: Mahesh Kamble <themaheshkamble@gmail.com>
2026-11-30 09:28:30 +01:00
Precious Okwu fbdcffdfa2 UI: Compose view — projects made without a compose file (#1059)
A Compose view group whose containers carry only com.docker.compose.project (the Supabase CLI makes these) showed a false "can't find this project's compose file" warning and a phantom "Not created" row, and its group buttons did nothing, because docker compose -p skips containers without the service label.

Such a project is now marked as made without a compose file. Its Start, Stop, Restart and Remove act on the member containers, Logs come from the member containers, and "Removed" is shown only once they are gone. A member without a service label is no longer counted as a service. Projects with a compose file are unchanged.

Fixes #1031
2026-11-30 09:14:20 +01:00
Precious Okwu 6c226e5665 Builds: materialize ephemeral RUN layers on demand when read outside the guest (#1058)
Intermediate non-exported RUN steps adopted in ephemeral mode live in the guest layer directory without writing a blob in the host store. When a later host-side step (COPY, ADD, WORKDIR, or COPY --from) builds a tree view outside mount_view, layer_file, read_layer, and open_layer now stream the adopted layer tar from kiri-init once into a build-scoped 0700 temporary directory and remove it when Ports drops, while advertising ephemeral_layer_files to kiri-forge worker.
2026-11-30 09:02:32 +01:00
Precious Okwu cba1e2faa0 Tests: three Linux end-to-end rows that fail on main (#1057)
Three rows in tests/e2e.sh failed on main on a Linux host with AppArmor. No engine code changes.

cap-add-sys-admin and systempaths-bwrap now follow the default AppArmor profile: where it is enforced, a mount with --cap-add SYS_ADMIN is denied by default and works with --security-opt apparmor=unconfined, as on Docker. systempaths-bwrap checks bwrap's own output only. dns-user-net-three-refused-servfail-at-once no longer shares an ICMP rate limit with the rows before it; its 2-second limit is unchanged.
2026-11-30 08:25:14 +01:00
takealook97 6c9c1e5620 UI: fall back to the container name when the Compose service label is missing (#1051)
A container that carries com.docker.compose.project but no com.docker.compose.service label (the Supabase CLI makes these) was shown with the local address undefined.<project>, and with an empty service label it lost its address. The window and the menu now use <service>.<project> only when both labels are set, and the container's name otherwise, which is the address the router answers.

With HTTPS for local addresses on, a name the TLS side refuses (an underscore, or a label that starts or ends with a hyphen) is shown as http://.

Part of #1031: the compose-file warning and the extra "Not created" row are a separate change.
2026-11-30 05:44:44 +01:00
Precious Okwu 66f0c41ef0 Setup: Kiri's compose and buildx no longer replace other engines' plugins (#1054)
kiri setup on macOS no longer adds Kiri's plugin folder to cliPluginsExtraDirs in ~/.docker/config.json, which put Kiri's docker-compose and docker-buildx ahead of other engines' plugins for every Docker context.

Setup now removes Kiri's entry from an earlier setup and links each plugin into ~/.docker/cli-plugins only when the Docker CLI would find none. A plugin that is someone else's is kept and named in one line. A Kiri link that hides a plugin installed later is removed. kiri setup --uninstall removes the links that point into Kiri.

Fixes #1042
2026-11-30 05:34:28 +01:00
Precious Okwu dbaa28c4ed Linux packages bundle the pinned kiri-forge; Kiri Forge 0.1.1; 0.3.0 notes (#1048)
The Linux package build now fetches the pinned kiri-forge for each architecture, checks it against the SHA-256 in cli_pins.rs and bundles it, as the Mac and Windows builds do; before, /usr/bin/kiri-forge in the packages was a link to kiri. A release build stops if the binary is missing.

The bundled Kiri Forge is 0.1.1. docs/releases/0.3.0.md holds the notes for 0.3.0 and docs/releases/0.3.0.announce.json its announcement.
v0.3.0
2026-11-30 00:55:37 +01:00
Precious Okwu 3267a71f38 UI: What's new — release announcements from the update feed (#1047)
The update feed may carry an announcement for a big release: a style (narrow or wide) and a short list of parts (image, title, text, figures, command, list, note, button) that the window draws itself. No page is loaded. A picture is fetched by the app from Kiri's download address only, without following redirects, checked against its SHA-256 and its kind, and shown as a data: picture.

A wide announcement opens once when a release is offered, and the announcement for the running version shows once after updating. Read more and button links open only runkiri.com pages, Kiri's releases on GitHub and Kiri Forge's repository.

Also: a Featured section and section icons in the notes list, Read more on GitHub, What's new on the Kiri Forge update card opening the Forge release on GitHub when its feed has no notes, and KIRI_RELEASE_ANNOUNCE in the release tool.
2026-11-30 00:52:48 +01:00
Precious Okwu 569af9402e daemon: skip loopback pull layer tee and decouple UnpackSink writes (#1040) 2026-11-29 22:34:27 +01:00
Precious Okwu b66d3e3ad9 Kiri Forge: Kiri's own build engine, on by default (#1039) 2026-11-29 20:51:21 +01:00
Precious Okwu 3c27f469ef UI: Compose › Open a compose file — the project list is read once, projects side by side (#1038) 2026-11-29 18:37:55 +01:00
Precious Okwu f1b558caa6 Guest kernel: repair unfinished L4 checksums on unflagged virtio-net RX frames (#1029) (#1037)
Another bridged/shared VM on the same Mac can reply to Kiri's Mac IP with TX checksum offload still unfinished (pseudo-header sum only). Because Virtualization.framework's NAT forwards the frame inside macOS without passing a hardware NIC or setting VIRTIO_NET_HDR_F_DATA_VALID, the guest drops the replies on both host and bridged-container paths.

Add 0011-virtio-net-repair-unfinished-checksums.patch in virtnet_receive_done() before 0002's big-TCP GSO hook to verify unflagged non-GSO IPv4/IPv6 TCP, UDP, ICMP, and ICMPv6 packets, rewrite invalid L4 checksums in place (leaving fragments, malformed headers, IPv6 extension headers, and IPv4 UDP checksum 0 untouched), and mark them CHECKSUM_UNNECESSARY.

Thanks to @JDENredden for the detailed diagnosis and initial patch.
2026-11-29 15:02:03 +01:00
Precious Okwu 89cb4b1480 fix(win): prevent storage move pipe deadlock, stopped lock, and root write probe error (#1027) 2026-11-29 02:59:36 +01:00
Precious Okwu 6d90777e69 builds: match running build status case-insensitively (#1026) 2026-11-29 02:43:56 +01:00
Precious Okwu 238aafa334 import: strip OrbStack /mnt/mac bind prefix and allow digest-pinned RepoTags on load (#1025) 2026-11-29 01:55:28 +01:00
Precious Okwu 6976c20d8c ui: remove Beta label tags from Compose and USB (#1024) 2026-11-29 00:37:15 +01:00
Precious Okwu 2627ed3cdd Update next release references from 0.2.3 to 0.3.0 (#1023) 2026-11-29 00:26:05 +01:00
Precious Okwu 9df3d38cc7 Fix terminal prompt clipping, scroll-on-input, and exec/PTY latency (#1022) 2026-11-28 23:02:34 +01:00
Precious Okwu 9e8dedf985 ui, builds: preserve scroll & selection across periodic re-renders (#1007, #1006) (#1020)
* builds: deduplicate list() across builder aliases preferring primary builder (#1006)

* ui: preserve scroll positions and text selection across periodic re-renders (#1007)

* ui: reposition open SearchSelect popup when morph shifts its anchor
2026-11-28 22:48:35 +01:00
Precious Okwu 2e9c852716 kiri-win: fix unbounded commit growth, UI queue stalls, and pipe/thread leaks (#1009) (#1021) 2026-11-28 22:45:38 +01:00
Precious Okwu 8a43ff15b6 daemon/binds: refuse /mnt/wsl and non-socket /mnt/wslg paths from WSL distros (#1014) 2026-11-28 16:10:50 +01:00
Precious Okwu 67808ef8b0 Harden image diff_ids, mounts/volumes, caller/WSL gates, networking/DNS, AppArmor, Kubernetes, UI, and updaters (#1013)
* security: harden mount/volume confinement, WSL roots, caller gates, labels & domain routing

* net: isolate --internal bridges/DNS, support gateway_mode_ipv4 & host_binding_ipv4

- GHSA-gp5c-4g58-vr24 & #1010: enforce nftables isolation for --internal
  bridges across prerouting (early accept before HOST_ADDR/WSL_HOST_ADDR/
  EGRESS_ROUTES redirects), forward (iifname/oifname cross-bridge drops in
  both ip and ip6 tables even when non-internal subnets are empty), input
  (allow only bridge gw4 or NDP+gw6 on plain internal bridges; drop all
  on gateway_mode_ipv4=isolated / inhibit_ipv4=true), and postrouting
  (never masquerade internal subnets; disable IPv6 on IPv4-only internal
  bridges).
- GHSA-7x2g-c7pw-mpc6: refuse external UDP and TCP DNS forwarding on
  internal-only containers before custom --dns and AAAA handling, track
  all container bridges including kiri0 across spawn/NetAttach/NetDetach
  with vacuous internal_only when disconnected from all networks, and
  bind per-bridge UDP and TCP gateway DNS listeners with SO_BINDTODEVICE
  when bridge != kiri0.
- GHSA-vmx6-3c4p-cjr2 (#985): honor com.docker.network.bridge.host_binding_ipv4
  for TCP and UDP published ports with empty HostIp while keeping empty
  value as unset, validating Ipv4Addr at network create and use, and
  preserving #1011 names_sync lock ordering around container start gate.
- #1000: honor com.docker.network.bridge.enable_icc=false via IFLA_BRPORT_ISOLATED.
- #1008: support KIRI_HOST_LOOPBACK=off to block host loopback via host.docker.internal.
- #992: refuse 'default' network name and network/broadcast IPAM gateway or
  auxiliary addresses for prefix < 31 without /31 or /32 shift overflow.

* Verify image rootfs.diff_ids, pin managed BuildKit, and bound rmtree FDs

* security: fix AppArmor profile, WebView URL/CSP/i18n, k3s kubeconfig/pinning, elevation TOCTOU & MSI verification, and diag redaction

- GHSA-xx5v-42pc-2x72: enforce Linux AppArmor kiri-default profile with
  PROC_SUPER_MAGIC verification on /proc/thread-self/attr/apparmor/{exec,current}
  and Host::Absent no-op on SELinux/VM/WSL2 hosts.
- GHSA-hmxq-c9pq-2fm2: add strict weburl allowlist (preserving all 13 exact
  URLs and non-empty docs.docker.com/go/ subpath check), localUrl plainHost
  validation (preserving rports running/serving guard), strict WebView CSP and
  navigation blocking on macOS/Linux/Windows, typed numeric coercions in
  hubrows/sharing, and strict i18n tag+attribute parity enforcement.
- GHSA-9mjv-25f8-p9p9: replace raw k3s kubeconfig line pass-through with a
  strict line-by-line allowlist parser rejecting exec/auth-provider/file-path
  credentials and YAML anchors/flow collections, and pin default
  rancher/k3s:v1.37.1-k3s1 multi-arch index and per-arch config digests.
- GHSA-vc32-9whf-m39j / GHSA-wjfx-gjxf-6h52 / GHSA-hx2c-xfr4-jqm2: fix
  AppleScript backslash-before-quote escaping in setup::as_admin, eliminate
  all TMPDIR staging before root elevation in setup.rs and usb/helper.rs
  (verifying SHA-256 on {bin}.new as root before codesign and atomic mv), and
  enforce private staging + SHA-256 + WinVerifyTrust Authenticode / optional
  Ed25519 signature verification in kiri-win/update.rs and kiri.ps1.
- #994: redact truncated secret JSON string values at end-of-input in
  kiri diag.

* Keep rmtree deep-readonly test setup at O(1) open FDs and parse URL host in domain-label test
2026-11-28 14:12:38 +01:00
Precious Okwu 318a70468a Format Windows npipe context URLs with four slashes everywhere and self-heal two-slash contexts (#1012) 2026-11-28 11:05:55 +01:00
Precious Okwu c3a0d85255 Fix macOS virtiofs chown invalidation, secondary network start race, and Windows/WSL binds (#1011) 2026-11-28 10:43:53 +01:00
Precious Okwu 6aa889d16f Avoid clobbering Windows docker contexts through WSL symlinks and ignore empty KIRI_UPDATE_URL (#269, #984) (#1004) 2026-11-28 01:31:35 +01:00
Precious Okwu 5bed18b4cf Support kiri update --check in the Windows CLI (#984) (#1003)
* Support kiri update --check in the Windows CLI (#984)

* Enable docker::is_container_update on non-test Windows builds
2026-11-28 01:08:18 +01:00
Precious Okwu ae433de6c9 Fix virtiofs deleted-file revalidation, offline kiri domains, netns takeover, 429 manifest retries, and WSL storage/context (#190, #269, #399, #744) (#1002)
* Fix virtiofs deleted-file revalidation, offline kiri domains, netns takeover, 429 manifest retries, and WSL storage/context (#190, #269, #399, #744)

* Ignore initial TLS ClientHello probe in 429 manifest retry unit test
2026-11-28 00:34:17 +01:00
Precious Okwu f04583af8e Engine & CLI: restore missing unpacked layers, fix macOS k8s idle CPU (#989), and add kiri engine (#983) (#996)
* Start: evict stale VmLink::layers cache and re-send missing unpacked layers

* Engine & CLI: fix macOS k8s idle CPU (#989) and add kiri engine commands (#983)
2026-11-27 08:23:21 +01:00
09f80f932a UI: add Armenian & Azerbaijani (42 languages), About Community links, and hide off/paused local domains (#386, #401)
- lang/hy.json & lang/az.json: add Armenian (Հայերեն, #386) and Azerbaijani
  (Azərbaycanca, #401) at 100% key parity (2,038 keys across 41 translation
  files), tightening verbose Azerbaijani labels so narrow cards and tabs fit.
- lang.rs, langstep.js, index.html, setup.html: register hy (hy, hy-AM, hy_AM)
  and az (az, az-AZ, az-Latn-AZ, az_AZ), Armenian font fallbacks (Noto Sans
  Armenian, Mshtakan, Sylfaen), and Latin search aliases (azeri, azerbaycanca,
  hayeren).
- Settings → About: add Community row (Discord + @runkiri on X) with .soc-i
  icons and idiomatic 'Community' translations across all 41 language files.
- Domains: return empty string from localUrl() when the active router reports
  running: false or serving: false so dead .kiri.local/.kiri.localhost links
  are hidden while published host ports remain clickable.

Co-authored-by: Shahen Hovhannisyan <shahen.hovhannisyan.94@gmail.com>
Co-authored-by: Míng hàn <mahirmehtizade@outlook.com>
2026-11-26 14:00:17 +01:00
bea1613c2a UI: Settings → Appearance — Uzbek (Oʻzbekcha) and Nepali (नेपाली) (#568, #538)
Kiri's window, menus and Windows setup now come in Uzbek (Oʻzbekcha, in
standard official Uzbek Latin) and Nepali (नेपाली), bringing Kiri to 40
languages (39 translation files, 2,037 keys each).

- lang/uz.json: all 2,037 keys in official Uzbek Latin (Oʻ/oʻ, Gʻ/gʻ with
  U+02BB, tutuq belgisi U+02BC, Sh/sh, Ch/ch).
- lang/ne.json: all 2,037 keys in everyday Nepali developer register,
  with Noto Sans Devanagari first in index.html and Nirmala UI in setup.html.
- lang.rs & langstep.js: uz (uz, uz-UZ, uz-Latn-UZ, uz_UZ) and ne (ne,
  ne-NP, ne_NP) resolution, native names, greetings and Uzbek search aliases.
- UI tests & README: updated for 40 languages.

Co-authored-by: Behruz Bahodirov <bbahodirov.dev@gmail.com>
Co-authored-by: sundarshahi <shahithakurisundar@gmail.com>
2026-11-26 14:00:17 +01:00
Precious Okwu 5f8c2c3ad3 UI: allowlist Discord and X community links across macOS, Linux, and Windows 2026-11-26 14:00:17 +01:00
Precious Okwu a2aa118027 Fix CLI --help/-h and --version flags, Windows setup/import/build-with, and Docker config healing (#982, #984) 2026-11-26 14:00:17 +01:00
Precious Okwu e768fbcc53 macOS: spawn daemon directly when LaunchAgent kickstart leaves engine down (#602) 2026-11-26 14:00:17 +01:00
Precious Okwu 55422232de Volumes: persist measured volume sizes across VM sleep and restarts (#936) 2026-11-26 14:00:17 +01:00
Precious Okwu 80d5e4d7b0 Engine & Guest: bound VmLink and kiri-init TTY waits and refuse paused exec_start (#948) 2026-11-26 14:00:17 +01:00
Karthik P 448cb87acd Fix registry: #981 keeps stopped machines out of container and system prune (#975) 2026-11-26 14:00:17 +01:00
Karthik P 0e05258455 Engine: docker container prune and system prune keep stopped machines (#975)
A `kiri machine` keeps its work in its container's writable layer, so a
routine `docker system prune` with the machine stopped deleted it and
everything in it. container_prune now leaves containers labelled
dev.kiri.machine out, as OrbStack's prunes leave its machines alone;
`kiri machine delete` and `docker rm machine-NAME` still remove one.
The window's prune goes through the same endpoint.

Unit test in daemon/ops.rs, e2e check machine-prune-keeps, listed in
tests/regressions.tsv; docs/features.md says prunes keep machines.
2026-11-26 14:00:17 +01:00
Precious Okwu 25dc717984 UI: always offer Restart now and Restart VM to apply when engine is on 2026-11-26 11:04:28 +01:00
Precious Okwu 442ce53a75 UI & Storage: pin Settings sidebar while body scrolls, eliminate UI main-thread/worker stalls, and persist Windows VHDX overhead 2026-11-26 08:47:28 +01:00
Precious Okwu c5d29d1f3e UI: show universal Restarting overlay and shared spinner across all restarts 2026-11-26 07:28:36 +01:00