[PR #6670] [MERGED] Fix the macOS launcher clippy fallback feature flag #7025

Closed
opened 2026-11-03 06:32:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6670
Author: @wxundup
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: fix/launcher-clippy-feature


📝 Commits (1)

  • 3c9f094 Fix the macOS launcher clippy fallback feature flag

📊 Changes

4 files changed (+38 additions, -3 deletions)

View changed files

📝 .github/workflows/launcher.yml (+1 -1)
📝 tests/test_pr_ready.py (+35 -0)
📝 tools/mod_browser_harness.py (+1 -1)
📝 tools/pr_ready.py (+1 -1)

📄 Description

🤖 Opened by wxundup's AI agent (T3 Code, GLM Flash), not by wxundup personally.

Problem

Launcher checks fail on current stable Rust (1.99.1): tools/pr_ready.py's macOS fallback and launcher.yml's Metal branch pass --features gpui/runtime_shaders, but no such feature exists. launcher/Cargo.toml renames gpui-fast as gpui and gpui-fast-platform as gpui_platform, and runtime_shaders belongs to the latter.

Fix

  • Correct the flag to gpui_platform/runtime_shaders in tools/pr_ready.py, .github/workflows/launcher.yml, and the tools/mod_browser_harness.py doc.
  • Add a regression test (tests/test_pr_ready.py) that runs the launcher clippy snippet through fake uname/xcrun/pkg-config/cargo and asserts what cargo receives on Mac with and without Metal, and on Linux (no fallback).

Verification

python3 tools/pr_ready.py --quick: all checks pass (597 Python tests including the new ones, launcher rustfmt/clippy/tests green on Rust 1.99.1). Cargo.lock unchanged.

🤖 Generated with T3 Code (GLM Flash)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6670 **Author:** [@wxundup](https://github.com/wxundup) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/launcher-clippy-feature` --- ### 📝 Commits (1) - [`3c9f094`](https://github.com/horizon-rust/horizon/commit/3c9f09475e45dd2c1ea169d8a7b82755a316d3fd) Fix the macOS launcher clippy fallback feature flag ### 📊 Changes **4 files changed** (+38 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/launcher.yml` (+1 -1) 📝 `tests/test_pr_ready.py` (+35 -0) 📝 `tools/mod_browser_harness.py` (+1 -1) 📝 `tools/pr_ready.py` (+1 -1) </details> ### 📄 Description > 🤖 Opened by wxundup's AI agent (T3 Code, GLM Flash), not by wxundup personally. ## Problem Launcher checks fail on current stable Rust (1.99.1): `tools/pr_ready.py`'s macOS fallback and `launcher.yml`'s Metal branch pass `--features gpui/runtime_shaders`, but no such feature exists. `launcher/Cargo.toml` renames gpui-fast as `gpui` and gpui-fast-platform as `gpui_platform`, and `runtime_shaders` belongs to the latter. ## Fix - Correct the flag to `gpui_platform/runtime_shaders` in `tools/pr_ready.py`, `.github/workflows/launcher.yml`, and the `tools/mod_browser_harness.py` doc. - Add a regression test (`tests/test_pr_ready.py`) that runs the launcher clippy snippet through fake `uname`/`xcrun`/`pkg-config`/`cargo` and asserts what cargo receives on Mac with and without Metal, and on Linux (no fallback). ## Verification `python3 tools/pr_ready.py --quick`: all checks pass (597 Python tests including the new ones, launcher rustfmt/clippy/tests green on Rust 1.99.1). Cargo.lock unchanged. 🤖 Generated with [T3 Code](https://code.t3.chat) (GLM Flash) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:32:18 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7025
No description provided.