Skip to content

Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.

Rust

fix(release): publish prefill-router before switchyard-runner (#707)

nachiketb-nvidia9c774d2ee6fc
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index d3c631681..45ee35deb 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -481,6 +481,7 @@ jobs:
switchyard-translation \
switchyard-libsy \
switchyard-llm-client \
+ prefill-router \
switchyard-runner \
switchyard-server; do
crate_version="$(jq -r --arg crate "${crate}" \
@@ -518,5 +519,6 @@ jobs:
publish_crate switchyard-translation
publish_crate switchyard-libsy
publish_crate switchyard-llm-client
+ publish_crate prefill-router
publish_crate switchyard-runner
publish_crate switchyard-server
diff --git a/docs/internal/release_workflow.md b/docs/internal/release_workflow.md
index 47962a597..10285724b 100644
--- a/docs/internal/release_workflow.md
+++ b/docs/internal/release_workflow.md
@@ -93,11 +93,12 @@ The same tag publishes these crates to crates.io in dependency order:
2. `switchyard-translation`
3. `switchyard-libsy`
4. `switchyard-llm-client`
-5. `switchyard-runner`
-6. `switchyard-server`
+5. `prefill-router`
+6. `switchyard-runner`
+7. `switchyard-server`
Add a repository Actions secret named `CARGO_REGISTRY_TOKEN` containing a crates.io API token that
-can publish all six crates and create new crates. The job waits for each version to reach the
+can publish all seven crates and create new crates. The job waits for each version to reach the
crates.io index before publishing its dependents. If publication stops partway through, use
GitHub's **Re-run failed jobs** action so successful crate jobs are not repeated.