[PR #2283] [MERGED] CI: check the launcher's workspace on main and on pull requests that touch it #4172

Closed
opened 2026-11-03 04:15:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2283
Author: @ludovic111
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @ludovic111

Base: main ← Head: ci/launcher-check


📝 Commits (3)

  • dbbe3a4 CI: check the launcher's workspace on every push to main and on pull requests that touch it
  • 9f1784d rust_changes: append the repository root to sys.path instead of prepending tools/
  • e0423bb Merge remote-tracking branch 'origin/main' into ci/launcher-check

📊 Changes

3 files changed (+74 additions, -3 deletions)

View changed files

📝 .github/workflows/ci.yml (+36 -0)
📝 tests/test_ci_rust_changes.py (+12 -1)
📝 tools/ci/rust_changes.py (+26 -2)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

verify's cargo runs never build launcher/, which is its own workspace. #2059 changed download::agent() to take a URL, the registry ratings commit 3dd17ad7d landed calling it the old way, each passed alone, and main's launcher stopped compiling (E0061; fixed by #2281). A launcher release from main would have failed.

  • New launcher job in ci.yml, parallel to verify: the launcher's cargo fmt --check, clippy --all-targets --locked -D warnings and test --locked --lib (the same three steps as pr_ready), with the GPUI headers launcher.yml installs and its own rust-cache.
  • It runs on every push to main, and on a pull request when tools/ci/rust_changes.py --launcher says it touches the launcher, a crate it builds (release_train.LAUNCHER_PATHS, minus LAUNCHER_IGNORED and docs), the root manifests, or this check itself. Otherwise the job's steps skip, so it still reports.
  • The ready-queue merger (outside the repo) now stops on a failed launcher check, as it does for verify.

Test: tests/test_ci_rust_changes.py gains the launcher cases (3 tests pass). This PR's own launcher job fails until #2281 is on main, because it checks the merge with main; it goes into the queue after #2281.

🤖 Generated with Claude Code


🔄 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/2283 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `ci/launcher-check` --- ### 📝 Commits (3) - [`dbbe3a4`](https://github.com/horizon-rust/horizon/commit/dbbe3a45d97da62cca77f2810bc5013e493c8b7b) CI: check the launcher's workspace on every push to main and on pull requests that touch it - [`9f1784d`](https://github.com/horizon-rust/horizon/commit/9f1784dc0c3e91c860a9c12b6f975f6a0f7f286f) rust_changes: append the repository root to sys.path instead of prepending tools/ - [`e0423bb`](https://github.com/horizon-rust/horizon/commit/e0423bba772f134c0b3a9058c616edb6db3c3316) Merge remote-tracking branch 'origin/main' into ci/launcher-check ### 📊 Changes **3 files changed** (+74 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+36 -0) 📝 `tests/test_ci_rust_changes.py` (+12 -1) 📝 `tools/ci/rust_changes.py` (+26 -2) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. verify's cargo runs never build `launcher/`, which is its own workspace. #2059 changed `download::agent()` to take a URL, the registry ratings commit 3dd17ad7d landed calling it the old way, each passed alone, and main's launcher stopped compiling (E0061; fixed by #2281). A launcher release from main would have failed. - New `launcher` job in ci.yml, parallel to verify: the launcher's `cargo fmt --check`, `clippy --all-targets --locked -D warnings` and `test --locked --lib` (the same three steps as pr_ready), with the GPUI headers launcher.yml installs and its own rust-cache. - It runs on every push to main, and on a pull request when `tools/ci/rust_changes.py --launcher` says it touches the launcher, a crate it builds (`release_train.LAUNCHER_PATHS`, minus `LAUNCHER_IGNORED` and docs), the root manifests, or this check itself. Otherwise the job's steps skip, so it still reports. - The ready-queue merger (outside the repo) now stops on a failed `launcher` check, as it does for verify. Test: `tests/test_ci_rust_changes.py` gains the launcher cases (3 tests pass). This PR's own launcher job fails until #2281 is on main, because it checks the merge with main; it goes into the queue after #2281. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:15:12 +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#4172
No description provided.