[PR #895] [MERGED] Startup: no time limit on loading the world resources #2894

Closed
opened 2026-11-02 15:59:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/world-rest-no-timeout


📝 Commits (1)

  • 1b141ef Startup: no time limit on loading the world resources

📊 Changes

1 file changed (+10 additions, -16 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+10 -16)

📄 Description

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

Follow-up to rdbt's #878. WorldRestLoader::ready turned more than 120 s of world-resource loading into a fatal error with a crash report, even while the player sat on the title, which is usable during that load. Main had no such limit before #878, and a slow disk or a debug build with a cold cache can pass 120 s. contrib-878's held-loader smoke test hit it.

The limit is gone: a loader still running is just not ready yet, and a failure or panic still ends the thread and reaches the client through finish, as before. The stalled-worker test becomes world_rest_poll_waits_for_a_slow_worker.

cargo clippy -p horizon-client --all-targets -D warnings is clean, and the four world_rest tests pass.

🤖 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/895 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/18/2026 **Status:** ✅ Merged **Merged:** 10/18/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/world-rest-no-timeout` --- ### 📝 Commits (1) - [`1b141ef`](https://github.com/horizon-rust/horizon/commit/1b141ef33073505b9bfa8a97a4a3e67354aba46d) Startup: no time limit on loading the world resources ### 📊 Changes **1 file changed** (+10 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+10 -16) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Follow-up to rdbt's #878. `WorldRestLoader::ready` turned more than 120 s of world-resource loading into a fatal error with a crash report, even while the player sat on the title, which is usable during that load. Main had no such limit before #878, and a slow disk or a debug build with a cold cache can pass 120 s. contrib-878's held-loader smoke test hit it. The limit is gone: a loader still running is just not ready yet, and a failure or panic still ends the thread and reaches the client through `finish`, as before. The stalled-worker test becomes `world_rest_poll_waits_for_a_slow_worker`. `cargo clippy -p horizon-client --all-targets -D warnings` is clean, and the four `world_rest` tests pass. 🤖 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-02 15:59:54 +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#2894
No description provided.