[PR #6724] [CLOSED] Regenerate the mod API output #7056

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6724
Author: @MSedgeMC
Created: 11/2/2026
Status: ❌ Closed

Base: main ← Head: fix/mod-api-generated


📝 Commits (1)

  • c57830e Regenerate the mod API output

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/mod_api/generated.rs (+2 -1)

📄 Description

cargo test -p xtask --bin xtask mod_api::tests::generated_output_is_current fails on current main
(checked on a clean checkout of c4f1b948d, not on a branch):

mod API output is stale; run cargo run -p xtask -- mod-api

The stale part is one doc comment on Hooks::native_state_for_placement in
crates/horizon-client/src/mod_api/generated.rs: the source gained the sentence about knowing
whether state is yours with native_state_block, and the generated file kept the old wording.
This is the output of cargo run -p xtask -- mod-api for that commit - nothing else changed, and
no behaviour with it.

Proven: on the build VM, cargo test -q -p xtask --bin xtask mod_api -> 10 passed with this
change applied to main; rustfmt --edition 2024 --check clean on the file.

Not proven: nothing to prove in game - this only brings the generated file back in step with
its source so the verify job can run again.


🔄 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/6724 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/mod-api-generated` --- ### 📝 Commits (1) - [`c57830e`](https://github.com/horizon-rust/horizon/commit/c57830e2080b8f69f7e4b7614fb489efa175d4c1) Regenerate the mod API output ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mod_api/generated.rs` (+2 -1) </details> ### 📄 Description `cargo test -p xtask --bin xtask mod_api::tests::generated_output_is_current` fails on current `main` (checked on a clean checkout of `c4f1b948d`, not on a branch): ``` mod API output is stale; run cargo run -p xtask -- mod-api ``` The stale part is one doc comment on `Hooks::native_state_for_placement` in `crates/horizon-client/src/mod_api/generated.rs`: the source gained the sentence about knowing whether `state` is yours with `native_state_block`, and the generated file kept the old wording. This is the output of `cargo run -p xtask -- mod-api` for that commit - nothing else changed, and no behaviour with it. **Proven:** on the build VM, `cargo test -q -p xtask --bin xtask mod_api` -> `10 passed` with this change applied to `main`; `rustfmt --edition 2024 --check` clean on the file. **Not proven:** nothing to prove in game - this only brings the generated file back in step with its source so the verify job can run again. --- <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:58 +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#7056
No description provided.