Various cleanups#8594
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
📝 WalkthroughWalkthroughThis PR normalizes whitespace in CI workflow conditionals, fixes a misspelled flag variable ( ChangesCI Workflow Formatting
Go Code Fixes and Renames
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
fvm/context.go (1)
245-250: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winKeep deprecated aliases for the renamed option helpers. Renaming these exported functions breaks downstream callers; add thin deprecated wrappers unless this is meant to be a breaking API change.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@fvm/context.go` around lines 245 - 250, The exported option helper WithContractRemovalRestricted was renamed and now breaks downstream callers; keep the new helper but add a thin deprecated wrapper under the old name so existing users still compile. Update the relevant option helpers in context.go by preserving the current implementation and introducing the deprecated alias function that forwards to it, matching the pattern used by other renamed APIs if present.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@fvm/context.go`:
- Around line 245-250: The exported option helper WithContractRemovalRestricted
was renamed and now breaks downstream callers; keep the new helper but add a
thin deprecated wrapper under the old name so existing users still compile.
Update the relevant option helpers in context.go by preserving the current
implementation and introducing the deprecated alias function that forwards to
it, matching the pattern used by other renamed APIs if present.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 68f29d81-d58b-4596-b847-5ac1342776a0
📒 Files selected for processing (11)
.github/workflows/ci.ymlcmd/util/cmd/verify_execution_result/cmd.goengine/verification/verifier/verifiers.gofvm/accounts_test.gofvm/blueprints/contracts.gofvm/context.gofvm/environment/system_contracts.gofvm/environment/system_contracts_test.gointegration/benchmark/scripts/scripts.gointegration/tests/access/cohort3/extended_indexing_test.gointegration/tests/access/cohort3/extended_indexing_transfers_test.go
feature/cadence-vmunrelated to Cadence VM workSummary by CodeRabbit
Bug Fixes
Style
Tests