fix(ci): add missing version fields for crates.io publishing#573
Merged
AlexMikhalev merged 1 commit intomainfrom Feb 23, 2026
Merged
fix(ci): add missing version fields for crates.io publishing#573AlexMikhalev merged 1 commit intomainfrom
AlexMikhalev merged 1 commit intomainfrom
Conversation
terraphim_service depends on terraphim_router with a path-only dependency (no version field). cargo publish requires all deps to have a version when publishing to crates.io. Changes: - Add version = "1.0.0" to terraphim_router dep in terraphim_service - Add version fields to path deps in terraphim_router (types, persistence) - Add version fields to path deps in terraphim_spawner (types, router) - Add terraphim_router and terraphim_spawner to publish-crates.sh Co-Authored-By: Terraphim AI <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
version = "1.0.0"to path-only dependencies that breakcargo publishterraphim_routerandterraphim_spawnerto the publish script's crate listRoot Cause
The v1.10.0 release failed at
Publish Rust crates to crates.iowith:terraphim_servicedepends onterraphim_routerwithpath = "../terraphim_router"but noversionfield. Whencargo publishpackages a crate, it strips thepathand uses only theversionto resolve from crates.io. Without a version, it fails.Additionally,
terraphim_routerandterraphim_spawnerwere not inpublish-crates.sh's dependency-ordered crate list, so they would never be published even if the version was specified.Changes
crates/terraphim_service/Cargo.tomlversion = "1.0.0"toterraphim_routerdepcrates/terraphim_router/Cargo.tomlversion = "1.0.0"toterraphim_typesandterraphim_persistencedepscrates/terraphim_spawner/Cargo.tomlversion = "1.0.0"toterraphim_typesandterraphim_routerdepsscripts/publish-crates.shterraphim_routerandterraphim_spawnertoCRATESarrayTest plan
cargo check -p terraphim_router -p terraphim_spawner -p terraphim_servicepassesGenerated with Terraphim AI