Commit 3428471
ci: consolidate workflows, add path filtering, cover all plugins (#295)
* ci: consolidate workflows, add path filtering, cover all plugins
- ci.yml: add dorny/paths-filter change detection so sub-workflows
only run when relevant files change; fold REUSE compliance check
inline; update all-checks gate to tolerate skipped jobs
- plugins.yml: replace 5 separate jobs (format, lint-simple,
lint-whisper, lint-nllb, lint-sherpa) with a single matrix job
grouped by native dep profile (simple, sherpa, nllb); covers all
13 plugins (adds aac-encoder, helsinki, parakeet, pocket-tts,
supertonic); uses shared CARGO_TARGET_DIR to deduplicate common
crate compilation
- ui.yml: merge 4 jobs (lint, test, build, knip) into 1, eliminating
3x redundant checkout + bun install
- skit.yml: merge lint + test into lint-and-test, saving a full UI
build + Rust toolchain setup; keep test-gpu and build separate
- Delete standalone reuse.yml (now inline in ci.yml)
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* style(plugins): fix formatting in helsinki and parakeet
These plugins were not previously covered by CI linting. Running
cargo fmt to fix pre-existing formatting issues now caught by the
expanded plugin matrix.
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* style(plugins): fix formatting in aac-encoder
Pre-existing formatting issue now caught by the expanded plugin
CI matrix.
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* fix(plugins): resolve pre-existing clippy and fmt issues in newly-covered plugins
These plugins were not previously linted in CI. Fix issues now caught
by the expanded plugin matrix:
- helsinki: 42 clippy warnings (format string interpolation, unnecessary
wraps, excessive bools, match_same_arms, significant drop tightening)
- parakeet: 1 clippy warning (missing_const_for_fn on non-const method)
- aac-encoder: 2 clippy warnings (cast lints on u64/u128 conversion)
Also fix Devin Review finding: add 'changes' job to all-checks gate
so a failure in the change-detection job correctly fails the gate
instead of silently skipping all CI checks.
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* style(plugins): fix remaining formatting in helsinki after clippy --fix
cargo clippy --fix left some lines that cargo fmt wants to reformat.
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* fix(ci): trigger plugins on rust changes, add ldconfig for nllb cache hits
- ci.yml: add rust filter to plugins job condition so changes to
plugin SDK (sdks/**) or core crates (crates/**) trigger plugin
linting — prevents breaking SDK changes from going undetected
- plugins.yml: add ldconfig step for CTranslate2 cache hits,
matching the sherpa-onnx pattern for consistency
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* fix(ci): cache sherpa-onnx and CTranslate2 include headers alongside libs
Expand cache paths to include headers so future plugins using bindgen
or cc won't break on cache hits. Bump cache keys (v2) to invalidate
stale caches that only contained lib files.
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* fix(ci): add root-level Rust config files to change detection filter
Include rust-toolchain.toml, clippy.toml, and rustfmt.toml in the
rust path filter so changes to toolchain version or lint/format
config trigger Rust CI jobs.
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* refactor(ci): restore lint/test parallelism, add clarifying comments
- skit.yml: restore separate lint and test jobs (parallel execution)
to preserve wall-clock time. Reverts the merge that traded parallelism
for fewer runner minutes.
- plugins.yml: add comment explaining workflow_dispatch intent (standalone
debugging) and CARGO_TARGET_DIR sharing tradeoff (potential feature-flag
cross-contamination).
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
* fix(ci): restore contents:read permission, add .cargo/config.toml to filter
- changes job: add contents:read to permissions block — job-level
permissions replace defaults, so the checkout step needs this
explicitly alongside pull-requests:read.
- rust path filter: add .cargo/config.toml — this repo-wide Cargo
config can alter how every Rust crate builds, so changes to it
must trigger Rust CI.
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
---------
Signed-off-by: Claudio Costa <claudio.costa@partners.cognition.ai>
Signed-off-by: StreamKit Devin <devin@streamkit.dev>
Co-authored-by: StreamKit Devin <devin@streamkit.dev>
Co-authored-by: Claudio Costa <cstcld91@gmail.com>1 parent 70ade83 commit 3428471
File tree
12 files changed
+302
-456
lines changed- .github/workflows
- plugins/native
- aac-encoder/src
- helsinki
- src
- parakeet/src
12 files changed
+302
-456
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
17 | 57 | | |
18 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
19 | 65 | | |
20 | 66 | | |
21 | 67 | | |
22 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
23 | 74 | | |
24 | 75 | | |
25 | 76 | | |
26 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
27 | 84 | | |
28 | 85 | | |
29 | 86 | | |
30 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
31 | 95 | | |
32 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
33 | 108 | | |
34 | 109 | | |
| 110 | + | |
35 | 111 | | |
36 | | - | |
| 112 | + | |
37 | 113 | | |
38 | | - | |
39 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
0 commit comments