Skip to content

fix(ci): download ONNX Runtime from Microsoft instead of pyke.io CDN#364

Merged
streamer45 merged 1 commit into
mainfrom
devin/1777032417-fix-ort-cdn-ci
Apr 24, 2026
Merged

fix(ci): download ONNX Runtime from Microsoft instead of pyke.io CDN#364
streamer45 merged 1 commit into
mainfrom
devin/1777032417-fix-ort-cdn-ci

Conversation

@staging-devin-ai-integration
Copy link
Copy Markdown
Contributor

@staging-devin-ai-integration staging-devin-ai-integration Bot commented Apr 24, 2026

Summary

The Plugins / Lint (simple) and Plugins / Lint (sherpa) CI jobs fail because ort-sys v2.0.0-rc.10's build script downloads ONNX Runtime binaries from cdn.pyke.io, which is currently returning HTTP 504 (Gateway Timeout). This is a known recurring issue with the pyke.io CDN.

Affected plugins: whisper, sensevoice, parakeet (all depend on ort = "2.0.0-rc.10")

Fix: Pre-download ONNX Runtime v1.22.0 from Microsoft's official GitHub releases (highly reliable) and set ORT_LIB_LOCATION so the ort-sys build script uses the pre-downloaded library, completely bypassing the pyke.io CDN. The download is cached between CI runs to avoid re-downloading on every build.

Review & Testing Checklist for Human

  • Verify the Plugins / Lint (simple) and Plugins / Lint (sherpa) CI jobs pass on this PR
  • Confirm no regressions in plugin clippy/tests for whisper, sensevoice, and parakeet

Notes

  • The ONNXRUNTIME_VERSION env var (1.22.0) matches the version embedded in ort-sys v2.0.0-rc.10 — if the ort dependency is ever upgraded, this version should be updated to match.
  • The nllb and servo groups are unaffected (no ort dependency) and unchanged.

Link to Devin session: https://staging.itsdev.in/sessions/41a4153313204dceb2ca98abd548de2c
Requested by: @streamer45


Open in Devin Review (Staging)

The ort-sys build script downloads ONNX Runtime binaries from
cdn.pyke.io, which is intermittently unreliable (HTTP 504/522 errors).
This breaks the Plugins / Lint jobs for the simple and sherpa groups
whenever the CDN is down.

Pre-download ONNX Runtime from Microsoft's official GitHub releases
and set ORT_LIB_LOCATION so the ort-sys build script uses the
pre-downloaded library, completely bypassing the pyke.io CDN.

Ref: pykeio/ort#395
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
@staging-devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Contributor Author

@staging-devin-ai-integration staging-devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review (Staging)
Debug

Playground

@streamer45 streamer45 merged commit 1e7e1b8 into main Apr 24, 2026
17 checks passed
@streamer45 streamer45 deleted the devin/1777032417-fix-ort-cdn-ci branch April 24, 2026 12:40
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.

2 participants