[PR #6637] [MERGED] Keep native build logs fresh through the complete attempt #7003

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

📋 Pull Request Information

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

Base: main ← Head: feat/native-build-log-recording


📝 Commits (1)

  • d9a30e0 Keep native build logs fresh through the complete attempt

📊 Changes

2 files changed (+165 additions, -71 deletions)

View changed files

📝 docs/launcher-commands.md (+1 -0)
📝 launcher/src/native_mods.rs (+164 -71)

📄 Description

🤖 Opened by wxundup's AI agent (T3 Code / Codex, gpt-6.1-sol), not by wxundup personally.

What and why

A native build can fail before compilation or after it, while selecting an instance or exporting the engine. Keep a fresh log for the complete public build attempt, retain compiler diagnostics, and append the final outcome. Add the log helpers the viewer uses for GUI preflight errors. Refresh the generated native-build CLI reference.

Foundation for #6622; the viewer is a separate commit/PR.

Kind

  • bug: a crash or a breakage

Vanilla reference

Horizon-only launcher diagnostics.

Other projects' code

None copied.

Self-check

31 native-build tests pass, including fresh-log rollover, real early failures, export preflight refusal, and diagnostics retained through a later failure. The integrated viewer stack passes 484 launcher tests (6 existing ignored), strict Clippy, and a runnable build with the production manifest and supported --features gpui_platform/runtime_shaders. Production dependencies and Cargo.lock are unchanged. Sol review (gpt-6.1-sol, high): none.

The combined-stack self-check is below. The normal Mac launcher checks hit missing Metal tooling, then the checker's existing incorrect gpui/runtime_shaders fallback. The supported platform feature above passes; the automatic old-Rust diagnosis is not the printed dependency error. All runs used isolated HORIZON/XDG homes.

pr_ready (tools/pr_ready.py --quick on Mac, against origin/main at db34ce484, 40 s)

Check Result
Scope ⚠️ 15 files, +708 −84; 777 lines of code: over 500, split it if it can ship in parts
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 596 passed (38 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ✅ (1 s)
Rust ⚠️ 1.98.1 is older than CI's stable (1.99): clippy may flag lints CI doesn't, update with rustup update
launcher clippy ❌ failed; likely the old Rust above
launcher tests ❌ failed
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 Generated with Codex and OpenCode (GLM 5.3).


🔄 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/6637 **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:** `feat/native-build-log-recording` --- ### 📝 Commits (1) - [`d9a30e0`](https://github.com/horizon-rust/horizon/commit/d9a30e08b381807afcdd2ab3f224372619455b82) Keep native build logs fresh through the complete attempt ### 📊 Changes **2 files changed** (+165 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `docs/launcher-commands.md` (+1 -0) 📝 `launcher/src/native_mods.rs` (+164 -71) </details> ### 📄 Description > 🤖 Opened by wxundup's AI agent (T3 Code / Codex, gpt-6.1-sol), not by wxundup personally. ## What and why A native build can fail before compilation or after it, while selecting an instance or exporting the engine. Keep a fresh log for the complete public build attempt, retain compiler diagnostics, and append the final outcome. Add the log helpers the viewer uses for GUI preflight errors. Refresh the generated native-build CLI reference. Foundation for #6622; the viewer is a separate commit/PR. ## Kind - [x] bug: a crash or a breakage ## Vanilla reference Horizon-only launcher diagnostics. ## Other projects' code None copied. ## Self-check 31 native-build tests pass, including fresh-log rollover, real early failures, export preflight refusal, and diagnostics retained through a later failure. The integrated viewer stack passes 484 launcher tests (6 existing ignored), strict Clippy, and a runnable build with the production manifest and supported `--features gpui_platform/runtime_shaders`. Production dependencies and Cargo.lock are unchanged. Sol review (`gpt-6.1-sol`, high): `none`. The combined-stack self-check is below. The normal Mac launcher checks hit missing Metal tooling, then the checker's existing incorrect `gpui/runtime_shaders` fallback. The supported platform feature above passes; the automatic old-Rust diagnosis is not the printed dependency error. All runs used isolated HORIZON/XDG homes. **pr_ready** (`tools/pr_ready.py --quick` on Mac, against origin/main at db34ce484, 40 s) | Check | Result | | --- | --- | | Scope | ⚠️ 15 files, +708 −84; 777 lines of code: over 500, split it if it can ship in parts | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 596 passed (38 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ✅ (1 s) | | Rust | ⚠️ 1.98.1 is older than CI's stable (1.99): clippy may flag lints CI doesn't, update with `rustup update` | | launcher clippy | ❌ failed; likely the old Rust above | | launcher tests | ❌ failed | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 Generated with [Codex](https://openai.com/codex/) and OpenCode (GLM 5.3). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:31:43 +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#7003
No description provided.