ci,test: pin Soroban toolchain, add clippy/audit jobs, and LLM transfer tests#241
Merged
codebestia merged 9 commits intoJun 26, 2026
Merged
Conversation
|
@iduhtheman Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
codebestia
approved these changes
Jun 26, 2026
codebestia
left a comment
Owner
There was a problem hiding this comment.
LGTM!
Thank you for your contribution.
codebestia
added a commit
that referenced
this pull request
Jun 26, 2026
ci,test: pin Soroban toolchain, add clippy/audit jobs, and LLM transfer tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI hardening for the contracts workspace and unit tests for the AI agent's LLM-path transfer analysis.
Changes
#138 — Pin Soroban toolchain
contracts/rust-toolchain.toml: declareschannel = "stable",targets = ["wasm32-unknown-unknown"],components = ["clippy", "rustfmt"]— all CI jobs now use a single pinned version; upgrading Rust requires an explicit PR#137 — cargo clippy lint job (wasm32)
.github/workflows/contracts-ci.yml: new parallelclippyjob runningcargo clippy --workspace --target wasm32-unknown-unknown -- -D warnings; runs on every PR touchingcontracts/**#139 — cargo audit security scan
.github/workflows/contracts-ci.yml: newauditjob viarustsec/audit-check@v2; addedschedule: cron: '0 8 * * 1'(Monday 08:00 UTC) so new CVEs surface without code changes#146 — Unit tests for POST /transfers/analyse (LLM path)
apps/ai_agent/tests/test_transfers.py: 5 tests covering flagged transfer, clean transfer, missingconfidencedefaults to 0.0, missingflaggeddefaults to False, missingOPENAI_API_KEYreturns 500closes #138
closes #137
closes #139
closes #146