Skip to content

Fixes a hang caused by improper error propagation in the creation of a transfer.#226

Merged
jeff-cohere merged 1 commit into
mainfrom
fix-225
Jun 26, 2026
Merged

Fixes a hang caused by improper error propagation in the creation of a transfer.#226
jeff-cohere merged 1 commit into
mainfrom
fix-225

Conversation

@jeff-cohere

Copy link
Copy Markdown
Collaborator

Instead of trying to return an error on a channel in which it's not expected, a transfer entry is created with a failed status when an error occurs in the validation of its specification.

Closes #225

@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://kbase.github.io/dts/pr-preview/pr-226/

Built to branch gh-pages at 2026-06-26 22:15 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 22.22222% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.24%. Comparing base (50fe0cf) to head (d6be4b0).

Files with missing lines Patch % Lines
transfers/store.go 22.22% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
- Coverage   59.32%   59.24%   -0.09%     
==========================================
  Files          34       34              
  Lines        4605     4615      +10     
==========================================
+ Hits         2732     2734       +2     
- Misses       1558     1564       +6     
- Partials      315      317       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeff-cohere jeff-cohere merged commit 95b5c78 into main Jun 26, 2026
10 checks passed
@jeff-cohere jeff-cohere deleted the fix-225 branch June 26, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transfer request/staging errors cause hangs

2 participants