Skip to content

ci: add Rust guard unit tests to CI pipeline#3396

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-rust-guard-unit-tests
Draft

ci: add Rust guard unit tests to CI pipeline#3396
Copilot wants to merge 2 commits intomainfrom
copilot/add-rust-guard-unit-tests

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

The 251 Rust unit tests for guards/github-guard/rust-guard (DIFC security guard compiled to WASM) were not part of CI — only ran locally. This let regressions like #3314 slip through.

Changes to .github/workflows/ci.yml

  • Path filters: added guards/** to pull_request paths so guard changes trigger CI
  • New rust-guard-test job: runs cargo test --lib in parallel with existing Go jobs
    • Uses actions-rust-lang/setup-rust-toolchain@a0b538fa (same pinned SHA as release.lock.yml)
    • Cargo caching via cache-workspaces: guards/github-guard/rust-guard
    • Concurrency control consistent with other CI jobs
  • Downstream gates: smoke-copilot-pr, smoke-copilot, large-payload-tester, language-support-tester now require rust-guard-test in addition to existing jobs

Copilot AI changed the title [WIP] Add Rust guard unit tests to CI pipeline ci: add Rust guard unit tests to CI pipeline Apr 8, 2026
Copilot finished work on behalf of lpcox April 8, 2026 15:42
Copilot AI requested a review from lpcox April 8, 2026 15:42
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.

[Repo Assist] ci: add Rust guard unit tests to CI pipeline

2 participants