[PR #4409] [MERGED] Telemetry server: drop the hub's suggestion endpoints #5610

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

📋 Pull Request Information

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

Base: main ← Head: chore/telemetry-drop-hub-suggestions


📝 Commits (1)

  • 4e9ddb1 Telemetry server: drop the hub's suggestion endpoints

📊 Changes

5 files changed (+61 additions, -237 deletions)

View changed files

📝 crates/horizon-telemetry-server/README.md (+3 -7)
📝 crates/horizon-telemetry-server/src/intake.rs (+10 -97)
📝 crates/horizon-telemetry-server/src/lib.rs (+7 -22)
📝 crates/horizon-telemetry-server/tests/hub.rs (+37 -103)
📝 roadmap/README.md (+4 -8)

📄 Description

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

Roadmap suggestions now come only from #horizon-ideas posts (Ludovic's rule). The website's suggest form is gone (horizon-site#21) and Kira no longer relays it (kira#85), so the server's suggestion endpoints have no caller left.

  • crates/horizon-telemetry-server: removes POST /hub/suggest, GET /hub/suggestions, the hub_suggestions_per_day and hub_token settings (HORIZON_TELEMETRY_HUB_SUGGESTIONS_PER_DAY, HORIZON_TELEMETRY_HUB_TOKEN: a grep shows the token served only GET /hub/suggestions), and their README rows.
  • roadmap/README.md: the intake table and the step about suggestions now say they come from #horizon-ideas through Kira.
  • Tests: the suggestion test goes; the rate-limit test now uses bug reports (hub_reports_per_day); the keep-days expiry, which was only visible through GET /hub/suggestions, is now tested on the store.

Votes and bug reports are unchanged. No player sees a change (skip-release). After the merge and deploy, the Railway variable HORIZON_TELEMETRY_HUB_TOKEN on the telemetry service is unused; it's left for Ludovic to remove.

The telemetry server is its own workspace, so pr_ready's workspace tests don't cover it; run there: cargo fmt, cargo clippy --all-targets -- -D warnings clean, cargo test all pass (9 hub tests, 36 in all).

pr_ready (tools/pr_ready.py --quick on ludovics-mac-mini, against origin/main at 4ca814d89, 10 min 19 s)

Check Result
Scope ✅ 5 files, +61 −237
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 480 passed (1 min 42 s)
rustfmt ✅ (5 s)
clippy ✅ (2 min 12 s)
tests: workspace ✅ 2672 passed (5 min 5 s)
doc tests ✅ 0 passed (7 s)
content root tests ✅ 5 passed (1 min 6 s)
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ 1 affected, to run in CI (--quick): lan_integration
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 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/4409 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/telemetry-drop-hub-suggestions` --- ### 📝 Commits (1) - [`4e9ddb1`](https://github.com/horizon-rust/horizon/commit/4e9ddb17d9a8bad9b339922e8d4405eacb67b61c) Telemetry server: drop the hub's suggestion endpoints ### 📊 Changes **5 files changed** (+61 additions, -237 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-telemetry-server/README.md` (+3 -7) 📝 `crates/horizon-telemetry-server/src/intake.rs` (+10 -97) 📝 `crates/horizon-telemetry-server/src/lib.rs` (+7 -22) 📝 `crates/horizon-telemetry-server/tests/hub.rs` (+37 -103) 📝 `roadmap/README.md` (+4 -8) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Roadmap suggestions now come only from #horizon-ideas posts (Ludovic's rule). The website's suggest form is gone (horizon-site#21) and Kira no longer relays it (kira#85), so the server's suggestion endpoints have no caller left. - `crates/horizon-telemetry-server`: removes `POST /hub/suggest`, `GET /hub/suggestions`, the `hub_suggestions_per_day` and `hub_token` settings (`HORIZON_TELEMETRY_HUB_SUGGESTIONS_PER_DAY`, `HORIZON_TELEMETRY_HUB_TOKEN`: a grep shows the token served only `GET /hub/suggestions`), and their README rows. - `roadmap/README.md`: the intake table and the step about suggestions now say they come from #horizon-ideas through Kira. - Tests: the suggestion test goes; the rate-limit test now uses bug reports (`hub_reports_per_day`); the keep-days expiry, which was only visible through `GET /hub/suggestions`, is now tested on the store. Votes and bug reports are unchanged. No player sees a change (`skip-release`). After the merge and deploy, the Railway variable `HORIZON_TELEMETRY_HUB_TOKEN` on the telemetry service is unused; it's left for Ludovic to remove. The telemetry server is its own workspace, so pr_ready's workspace tests don't cover it; run there: `cargo fmt`, `cargo clippy --all-targets -- -D warnings` clean, `cargo test` all pass (9 hub tests, 36 in all). **pr_ready** (`tools/pr_ready.py --quick` on ludovics-mac-mini, against origin/main at 4ca814d89, 10 min 19 s) | Check | Result | | --- | --- | | Scope | ✅ 5 files, +61 −237 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 480 passed (1 min 42 s) | | rustfmt | ✅ (5 s) | | clippy | ✅ (2 min 12 s) | | tests: workspace | ✅ 2672 passed (5 min 5 s) | | doc tests | ✅ 0 passed (7 s) | | content root tests | ✅ 5 passed (1 min 6 s) | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ 1 affected, to run in CI (--quick): lan_integration | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 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 05:13:46 +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#5610
No description provided.