Skip to content

fix(jobs): add error logging to catch {} in job_system.zig child.kill #178

@gHashTag

Description

@gHashTag

Task

In src/tri/job_system.zig line 575, a child process kill error is silently ignored:

_ = child.kill() catch {};

Fix

Log the error:

_ = child.kill() catch |err| {
    std.log.warn("failed to kill child process: {s}", .{@errorName(err)});
};

File

  • src/tri/job_system.zig — line 575

Acceptance

  • zig build compiles without errors
  • zig fmt passes
  • Error logged instead of silently swallowed

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:spawnAuto-spawn agent container

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions