fix(crypto): feature-gate aws-lc-rs so near-crypto builds for wasm32 - #16113
fix(crypto): feature-gate aws-lc-rs so near-crypto builds for wasm32#16113r-near wants to merge 4 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #16113 +/- ##
==========================================
+ Coverage 73.35% 73.37% +0.02%
==========================================
Files 859 859
Lines 189728 189730 +2
Branches 189728 189730 +2
==========================================
+ Hits 139179 139222 +43
+ Misses 46102 46061 -41
Partials 4447 4447
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Greptile SummaryMakes the ML-DSA backend optional while preserving it in default and workspace builds.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains in the fixes associated with the previous review threads. Reviews (5): Last reviewed commit: "test(crypto): gate ML-DSA-65 tests on th..." | Re-trigger Greptile |
Pull request overviewMakes Changes:
Reviewed changesPer-file summary
FindingsNon-blocking (follow-ups / suggestions):
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4cbeb01406
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@greptile review |
Pull request overviewMakes Changes:
Reviewed changesPer-file summary
FindingsPrior P1s (verify panicking on untrusted input, Non-blocking (nits / follow-ups):
✅ Approved |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7a0fe83075
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Pull request overviewMakes Changes:
Reviewed changesPer-file summary
FindingsThe previously flagged P1s — The three non-blocking follow-ups already noted in the last automated review still apply and are worth a quick pass before merge:
✅ Approved |
Wiezzel
left a comment
There was a problem hiding this comment.
I'd rather name the feature ml-dsa-65 than aws-lc-rs. The external crate name is not very informative.
Additionally, I recommend adding warnings to the relevant functions' docstrings that they panic when the feature is not enabled.
Makes
aws-lc-rsoptional (still default-on) in near-crypto: the ML-DSA types and parsing stay unconditional, only sign/verify/keygen need the backend, so wasm32 consumers build again with default features off and node builds are unchanged.Fixes #16112.