Skip to content

chore: drop unused _TestCallbackData - #472

Merged
xdustinface merged 1 commit into
v0.42-devfrom
chore/drop-test-callback-data
Feb 26, 2026
Merged

xdustinface merged 1 commit into
v0.42-devfrom
chore/drop-test-callback-data

Conversation

@xdustinface

@xdustinface xdustinface commented Feb 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Tests
    • Removed unused test scaffolding and related imports to simplify test code and reduce unnecessary synchronization plumbing. This cleans up dead code and makes tests easier to read and maintain.

@coderabbitai

coderabbitai Bot commented Feb 25, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 486d505 and 5a92aab.

📒 Files selected for processing (1)
  • dash-spv-ffi/tests/test_client.rs
💤 Files with no reviewable changes (1)
  • dash-spv-ffi/tests/test_client.rs

📝 Walkthrough

Walkthrough

Removed unused test scaffolding from dash-spv-ffi/tests/test_client.rs, including imports of Arc and Mutex, and eliminated the _TestCallbackData struct that contained three Arc<Mutex<...>> fields. No test logic references these components.

Changes

Cohort / File(s) Summary
Test Cleanup
dash-spv-ffi/tests/test_client.rs
Removed unused Arc and Mutex imports and deleted the _TestCallbackData struct containing synchronization primitives.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 I hopped through tests with scissors keen,
Snipped Arc and Mutex from the scene,
_TestCallbackData tucked away,
A tidier hop for code today,
Nibble, tidy, onward I preen! 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removing the unused _TestCallbackData struct from test code.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/drop-test-callback-data

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@xdustinface
xdustinface force-pushed the chore/drop-test-callback-data branch from 486d505 to 5a92aab Compare February 25, 2026 08:16
@xdustinface
xdustinface requested a review from ZocoLini February 26, 2026 01:44
@xdustinface
xdustinface merged commit bdceff5 into v0.42-dev Feb 26, 2026
52 checks passed
@xdustinface
xdustinface deleted the chore/drop-test-callback-data branch February 26, 2026 15:57
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.

2 participants