ci: add reproducible plugin verification

Merged
MP
4mo ago
+3460-43

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 Rust 1.95.0 and target wasm32-wasip1 via rust-toolchain.toml.
  • Dependencies

    • Pin extism to =1.30.0.

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.