Skip to content

Only offer deploys pools can run - #438

Merged
Priyanshu-u07 merged 2 commits into
InferiaAI:mainfrom
Dhirenderchoudhary:fix/workflow-deploy-engines
Oct 25, 2026
Merged

Priyanshu-u07 merged 2 commits into
InferiaAI:mainfrom
Dhirenderchoudhary:fix/workflow-deploy-engines

Conversation

@Dhirenderchoudhary

Copy link
Copy Markdown
Collaborator

Fixes #433

Why

The canvas offered Deploy for speech and image nodes with engines that no compute pool can run (speaches, generic). The deploy could not start, and since the canvas only lists READY/RUNNING deployments, the node stayed on "Deploying..." forever.

What changed

  • Speech to text and text to speech no longer offer Deploy. When nothing matches, the node says it needs an external deployment and links to New Deployment.
  • Image generation now recommends sd-turbo on inferia-diffusion, using the same job spec New Deployment builds (buildDiffusionSpec).
  • The canvas polls /deployment/status/{id} for each deploy it started. If the deploy ends FAILED, TERMINATED or STOPPED, the node shows "Deploy failed" with the error and a Retry button.

Scope

  • This doesn't add a speaches recipe to the worker. Speech stays external until there is one.
  • sd-turbo on inferia-diffusion is not tested on a real GPU pool yet.

Verification

  • vitest: the new readiness tests failed before the fix and pass now. One of them checks that every catalog engine is in the worker recipe list. 71/71 workflow tests pass.
  • Ran the dashboard against my local stack with Playwright, with deploy and status responses stubbed: speech nodes show the external banner, the image deploy sends inferia-diffusion with its image, and a FAILED status turns into "Deploy failed" plus Retry within one poll.

speech nodes
failed deploy

@Priyanshu-u07 Priyanshu-u07 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Speech nodes now ask for an external deployment instead of offering a Deploy that can't start, image generation uses inferia-diffusion with the same spec as New Deployment, and a failed deploy shows "Deploy failed" with a working Retry instead of staying on "Deploying…"

@Priyanshu-u07
Priyanshu-u07 merged commit d6a7839 into InferiaAI:main Oct 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workflow Deploy offers engines the pools can't run (speaches, generic)

2 participants