[PR #4485] [MERGED] Native mods: drop source-text lifecycle tests #5651

Closed
opened 2026-11-03 05:14:05 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4485
Author: @arismoko
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @levzzz5154

Base: main ← Head: native-lifecycle-behavior-cleanup


📝 Commits (1)

  • bdc422a Remove source-pinned native lifecycle tests

📊 Changes

1 file changed (+0 additions, -49 deletions)

View changed files

📝 crates/horizon-client/src/game/native_lifecycle.rs (+0 -49)

📄 Description

🤖 Opened by Aria's agent swarm, Dyna, not by Aria.

Closes #4479.

Remove two tests that match Rust source text for lifecycle call sites. Keep the lifecycle state-machine tests.

The call-site wiring is covered by the in-game checks below, rather than by source-text matching. A real automated lifecycle harness can follow if maintainers want one.

In-game checks

On commit bdc422ad8cd6941111a6d8217b5e3b42d94d4a62, a throwaway native mod recorded lifecycle events.

  • Server thread: opened a world, observed tick starts and ends, and observed final close.
  • Dedicated server: blocking the final save with a directory at world/level.dat_new emitted WorldCloseFailed and no WorldCloseFinal.
  • Dedicated server: an injected tick_world error followed ServerTickStart; the failed tick emitted no ServerTickEnd and reported WorldCloseFailed.

Checks

  • cargo test -p horizon-client --bin horizon-client game::native_lifecycle::tests::: 8 passed.
  • cargo fmt --all -- --check: passed.

🤖 Generated with Dyna


🔄 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/4485 **Author:** [@arismoko](https://github.com/arismoko) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `native-lifecycle-behavior-cleanup` --- ### 📝 Commits (1) - [`bdc422a`](https://github.com/horizon-rust/horizon/commit/bdc422ad8cd6941111a6d8217b5e3b42d94d4a62) Remove source-pinned native lifecycle tests ### 📊 Changes **1 file changed** (+0 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/native_lifecycle.rs` (+0 -49) </details> ### 📄 Description > 🤖 Opened by Aria's agent swarm, Dyna, not by Aria. Closes #4479. Remove two tests that match Rust source text for lifecycle call sites. Keep the lifecycle state-machine tests. The call-site wiring is covered by the in-game checks below, rather than by source-text matching. A real automated lifecycle harness can follow if maintainers want one. ### In-game checks On commit `bdc422ad8cd6941111a6d8217b5e3b42d94d4a62`, a throwaway native mod recorded lifecycle events. - Server thread: opened a world, observed tick starts and ends, and observed final close. - Dedicated server: blocking the final save with a directory at `world/level.dat_new` emitted `WorldCloseFailed` and no `WorldCloseFinal`. - Dedicated server: an injected `tick_world` error followed `ServerTickStart`; the failed tick emitted no `ServerTickEnd` and reported `WorldCloseFailed`. ### Checks - `cargo test -p horizon-client --bin horizon-client game::native_lifecycle::tests::`: 8 passed. - `cargo fmt --all -- --check`: passed. 🤖 Generated with Dyna --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:05 +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#5651
No description provided.