ci: add reproducible plugin verification
Merged
MP
4mo ago+3460+3460+0123456789012345678901234567890123456789-43-43-01234567890123456789
Summary
- track Cargo.lock for reproducible CI
- pin the supported Rust toolchain and WASM target
- add the central reusable plugin CI
- complete WASM extraction and resolution smoke coverage
- use upstream Extism 1.30.0
Validation
- 61 unit tests, the folder test and 5 WASM smokes pass
- native and WASM Clippy, release build and cargo audit pass
Linear: MAT-129
Summary by cubic
Adds reproducible plugin CI with scoped permissions and owner-only releases. Makes WASM smoke tests mandatory and fully exercises extraction and resolution via the http_request boundary; fulfills Linear MAT-129.
-
New Features
- Reusable workflows: verification on PRs/main (read-only), release on
v*tags (write); pinned (repinned) to canonical workflows by SHA; restrict releases to the repository owner. - Track
Cargo.lock; pin Rust1.95.0and targetwasm32-wasip1viarust-toolchain.toml.
- Reusable workflows: verification on PRs/main (read-only), release on
-
Dependencies
- Pin
extismto=1.30.0.
- Pin
Summary by CodeRabbit
-
New Features
- Added automated CI workflows for pull requests, main-branch updates, and version releases.
- Added a standardized Rust toolchain with WebAssembly support.
-
Tests
- WASM end-to-end and smoke tests now run as required checks.
- Expanded smoke-test coverage for link extraction and stream URL resolution.
-
Documentation
- Updated testing instructions to reflect mandatory WASM test execution.
-
Chores
- Improved build artifact and backup-file handling.
- Locked the test dependency to a specific compatible version.