Skip to content

Commit e015599

Browse files
Antigravity Agentclaude
andcommitted
fix(ci): remove child.deinit() — std.process.Child has no deinit in Zig 0.15.2
PRs #171 and #172 added child.deinit() calls, but std.process.Child doesn't have a deinit method. Builds locally due to lazy evaluation but fails CI when tri-api is compiled. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4bef593 commit e015599

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/tri-api/mcp_client.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ pub const McpManager = struct {
5757

5858
child.spawn() catch |err| {
5959
std.debug.print("[mcp] Failed to spawn {s}: {s}\n", .{ name, @errorName(err) });
60-
child.deinit();
6160
return 0;
6261
};
6362

src/tri/tri_state.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ pub fn runProcessAndCapture(allocator: std.mem.Allocator, argv: []const []const
3333
/// Run a subprocess, inherit stdio, return exit code
3434
pub fn runProcessInherit(allocator: std.mem.Allocator, argv: []const []const u8) !u8 {
3535
var child = std.process.Child.init(argv, allocator);
36-
defer child.deinit();
3736
child.stdout_behavior = .Inherit;
3837
child.stderr_behavior = .Inherit;
3938
_ = try child.spawn();

0 commit comments

Comments
 (0)