[PR #2139] [MERGED] Mod registry image: copy horizon-shader-api #4042

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

📋 Pull Request Information

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

Base: main ← Head: fix/registry-dockerfile-shader-api


📝 Commits (1)

  • a34cad3 mod registry image: copy horizon-shader-api, which horizon-mods now depends on

📊 Changes

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

View changed files

📝 crates/horizon-mod-registry/Dockerfile (+2 -0)

📄 Description

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

Every Railway build of horizon-mod-registry has failed since horizon-mods gained its optional horizon-shader-api dependency: cargo needs the manifest of an optional path dependency even with the feature off (error: no matching package named horizon-shader-api found). The registry kept running its last good image, and Railway sent a failure e-mail on every merge.

Fix: the Dockerfile copies crates/horizon-shader-api too. Checked: the same build context (root Cargo.toml + the three crates) builds with cargo build --release --locked locally.

Also done on Railway (not in this diff): the registry watches /crates/horizon-shader-api/**, and the telemetry service now has watch patterns, so it no longer rebuilds on every merge.

🤖 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/2139 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/registry-dockerfile-shader-api` --- ### 📝 Commits (1) - [`a34cad3`](https://github.com/horizon-rust/horizon/commit/a34cad379faf46b163a3a26ea8b4c1aa85dcb142) mod registry image: copy horizon-shader-api, which horizon-mods now depends on ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-mod-registry/Dockerfile` (+2 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Every Railway build of `horizon-mod-registry` has failed since `horizon-mods` gained its optional `horizon-shader-api` dependency: cargo needs the manifest of an optional path dependency even with the feature off (`error: no matching package named horizon-shader-api found`). The registry kept running its last good image, and Railway sent a failure e-mail on every merge. Fix: the Dockerfile copies `crates/horizon-shader-api` too. Checked: the same build context (root Cargo.toml + the three crates) builds with `cargo build --release --locked` locally. Also done on Railway (not in this diff): the registry watches `/crates/horizon-shader-api/**`, and the telemetry service now has watch patterns, so it no longer rebuilds on every merge. 🤖 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 04:14:14 +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#4042
No description provided.