Repository navigation
fix(test): gate the WASM fixture helper behind python-plugin-wasm - #2595
Merged
Merged
Conversation
cli_commands_test's wasm_plugins_dir() is only called from tests behind python-plugin-wasm, so the release-config lint (--no-default-features --features mimalloc,ag-rledger --all-targets -D warnings) failed on main with dead code. Gate the helper like its callers. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr
Contributor
📊 Benchmark Results
vs base, measured in this run
A difference counts only when it clears the combined spread of the two measurements, per shape (2σ: What do these numbers mean?
|
Contributor
✅ Compatibility Test Results
What's tested
Full results available in workflow artifacts |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
wasm_plugins_dir()incrates/rustledger/tests/cli_commands_test.rsis only called from tests gated onpython-plugin-wasm. Without that feature, the lint on the release configuration fails on main:The required
buildcheck doesn't compile that configuration, so this went unnoticed. This PR gates the helper with the same#[cfg(feature = "python-plugin-wasm")]as its callers. Test-only; no behavior change.Verified: that clippy command fails on main and passes with this change, and the all-features clippy still passes.
🤖 Generated with Claude Code
https://claude.ai/code/session_012nNGPA44Dt32NyxWem26xr