Skip to content

Conversation

@Flaminel
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...adClient/Transmission/TransmissionClientWrapper.cs 0.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Flaminel Flaminel merged commit c07b811 into main Dec 19, 2025
11 of 12 checks passed
@Flaminel Flaminel deleted the fix_transmission_torrent_fetch branch December 19, 2025 21:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the Transmission torrent fetch functionality by properly handling null hash parameters and updating return type nullability to match the underlying Transmission API.

  • Conditionally calls the correct TorrentGetAsync overload based on whether a hash is provided
  • Updates GetSessionInformationAsync return type to nullable SessionInfo?

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ITransmissionClientWrapper.cs Updated interface to return nullable SessionInfo? from GetSessionInformationAsync
TransmissionClientWrapper.cs Implemented nullable return type and added conditional logic to call the appropriate TorrentGetAsync overload when hash is null vs non-null

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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