From 87d9d6e3fe7122d4a2ff507d6561eebfa569f8e7 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 16:53:45 -0300 Subject: Tty9p and its pardes-v9fs helper removed (the user: a one-off), a terminal with the session kernel-mounted through Linux v9fs: the builtin and its SPC n 9, the spawn's mounted path and the pane's flag, the host's helper launch, src/linux/v9fs.zig and its build and install, test/v9fs.py, v9fs_driver_test.py and v9fs_terminal.py with their three steps, the docs (the build notes keep how to mount a session by hand); the builtin lists regenerated; core, fs-unit, pane, behaviour and process tests, the gui build and all 113 snap scripts pass; ~/.local/bin/pardes-v9fs, installed before, is left Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- build.zig | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index c90485b6..bb2b8641 100644 --- a/build.zig +++ b/build.zig @@ -1748,36 +1748,6 @@ pub fn build(b: *std.Build) void { run_discovery.has_side_effects = true; b.step("fs-discovery-test", "test browsable pane creation over 9P").dependOn(&run_discovery.step); - if (target.result.os.tag == .linux) { - const v9fs_helper = b.addExecutable(.{ - .name = "pardes-v9fs", - .root_module = b.createModule(.{ - .root_source_file = b.path("src/linux/v9fs.zig"), - .target = target, - .optimize = requested_optimize, - .link_libc = true, - }), - }); - // Ordinary executable; each launch asks sudo inside its own PTY. - installHome(b, v9fs_helper, home_bin); - const run_v9fs = b.addSystemCommand(&.{ "python3", "-B", "test/v9fs.py" }); - run_v9fs.addArtifactArg(exe); - run_v9fs.addArtifactArg(v9fs_helper); - run_v9fs.setCwd(b.path(".")); - run_v9fs.has_side_effects = true; - b.step("v9fs-test", "probe Linux kernel 9P mounts in a private subprocess namespace (requires sudo -v)").dependOn(&run_v9fs.step); - const run_v9fs_driver = b.addSystemCommand(&.{ "python3", "-B", "test/v9fs_driver_test.py" }); - run_v9fs_driver.setCwd(b.path(".")); - run_v9fs_driver.has_side_effects = true; - b.step("v9fs-driver-test", "test kernel-mount probe launcher without privileges or compiling the editor").dependOn(&run_v9fs_driver.step); - const run_v9fs_terminal = b.addSystemCommand(&.{ "python3", "-B", "test/v9fs_terminal.py" }); - run_v9fs_terminal.addArtifactArg(exe); - run_v9fs_terminal.addArtifactArg(v9fs_helper); - run_v9fs_terminal.setCwd(b.path(".")); - run_v9fs_terminal.has_side_effects = true; - b.step("v9fs-terminal-test", "exercise Tty9p authentication routing and cleanup without mount privileges").dependOn(&run_v9fs_terminal.step); - } - const run_agent_session_test = b.addSystemCommand(&.{ "python3", "-B", "test/agent_session_test.py" }); run_agent_session_test.addArtifactArg(exe); if (platform == .gui) run_agent_session_test.addArg("--gui-grid"); -- cgit v1.3