the runtime your coding agents live on
Rust agentagent-orchestrationaiai-agentsclaude-codeclicodexcoding-agentsdeveloper-toolsdevtoolsmultiplexerrustterminalterminal-multiplexerterminal-uitmuxtuiworkspace-manager
ci: run checks on macos
Ogulcan Celik8375922c069a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4eef595fe..42567df21 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -14,7 +14,12 @@ concurrency:jobs:check:- runs-on: ubuntu-latest+ name: check (${{ matrix.os }})+ strategy:+ fail-fast: false+ matrix:+ os: [ubuntu-latest, macos-latest]+ runs-on: ${{ matrix.os }}steps:- name: Checkoutuses: actions/checkout@v4@@ -35,6 +40,10 @@ jobs:with:version: 0.15.2+ - name: Install macOS build tools+ if: runner.os == 'macOS'+ run: brew install cmake ninja+- name: Restore cargo cacheuses: Swatinem/rust-cache@v2diff --git a/.gitignore b/.gitignoreindex f344da805..6b74b8489 100644--- a/.gitignore+++ b/.gitignore@@ -1,4 +1,5 @@/target+/vendor/libghostty-vt/zig-pkg/__pycache__/*.pyc*.swpdiff --git a/src/platform/macos.rs b/src/platform/macos.rsindex 2e9b83b5f..987f5f548 100644--- a/src/platform/macos.rs+++ b/src/platform/macos.rs@@ -21,7 +21,7 @@ pub fn foreground_job(child_pid: u32) -> Option<ForegroundJob> {let Some(info) = process_bsdinfo(pid) else {continue;};- if info.pbi_pgid as u32 != fg_pgid {+ if info.pbi_pgid != fg_pgid {continue;}@@ -191,14 +191,6 @@ fn kern_procargs2(pid: u32) -> Option<Vec<u8>> {}}-/// Fallback: read `pbi_comm` from `proc_pidinfo(PROC_PIDTBSDINFO)`.-///-/// This is the kernel-level short command name (like `node`, `zsh`).-/// It does NOT reflect `process.title` changes.-fn process_comm_name(pid: u32) -> Option<String> {- process_bsdinfo(pid).and_then(|info| comm_from_bsdinfo(&info))-}-pub fn write_clipboard(bytes: &[u8]) -> bool {run_clipboard_command(&ClipboardCommand {diff --git a/tests/api_ping.rs b/tests/api_ping.rsindex bcb97ab3d..b1282c560 100644--- a/tests/api_ping.rs+++ b/tests/api_ping.rs@@ -178,6 +178,7 @@ fn open_subscription(socket_path: &Path, json: &str) -> JsonLineReader {reader}+#[cfg(not(target_os = "macos"))]fn wait_for_event(reader: &mut JsonLineReader,expected: &str,@@ -186,6 +187,7 @@ fn wait_for_event(wait_for_event_matching(reader, expected, timeout, |_| true)}+#[cfg(not(target_os = "macos"))]fn wait_for_event_matching<F>(reader: &mut JsonLineReader,expected: &str,