Skip to content

fix: propagate CollectionResult error from SDK#17

Merged
retr0h merged 1 commit intomainfrom
fix/collection-result-error
Mar 14, 2026
Merged

fix: propagate CollectionResult error from SDK#17
retr0h merged 1 commit intomainfrom
fix/collection-result-error

Conversation

@retr0h
Copy link
Contributor

@retr0h retr0h commented Mar 14, 2026

Summary

The SDK's CollectionResult now returns (*Result, error) instead
of *Result (osapi-io/osapi#259). Update all callers in ops.go
to propagate the error — malformed response bodies now surface as
task failures instead of being silently discarded.

Test plan

  • go test ./... passes
  • go build ./... passes

🤖 Generated with Claude Code

Update all CollectionResult callers to handle the new
(*Result, error) return signature. Errors from malformed
response bodies now propagate as task failures.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link

Thank you for contributing to this project! 😊🕹️

@codecov
Copy link

codecov bot commented Mar 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          968       968           
=========================================
  Hits           968       968           
Files with missing lines Coverage Δ
pkg/orchestrator/ops.go 100.00% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5fb1799...99d35b1. Read the comment docs.

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

@retr0h retr0h merged commit 1c34f28 into main Mar 14, 2026
7 checks passed
@retr0h retr0h deleted the fix/collection-result-error branch March 14, 2026 18:08
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.

1 participant