Skip to content

Enrich worker failure reporting - #141

Merged
reneklacan merged 2 commits into
mainfrom
fix-worker-sentry-reporti
Aug 31, 2026
Merged

Enrich worker failure reporting#141
reneklacan merged 2 commits into
mainfrom
fix-worker-sentry-reporti

Conversation

@reneklacan

@reneklacan reneklacan commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

  • add a RuntimeBuilder failure-reporting hook that preserves concrete worker errors and exposes structured job, batch, retry, terminal, and argument metadata
  • enrich default Sentry events on an isolated per-execution hub while preserving worker breadcrumbs and scope context
  • defer panic-integration events until reporter selection, preserving the original panic stacktrace while still reporting exactly once
  • build failure metadata only on failed executions and keep custom reporters in full control of argument redaction
  • add focused coverage for returned errors, batches, retries, custom reporters, scope isolation, panic stacktraces, panic replacement, and builds without Sentry

Testing

  • cargo fmt --all -- --check
  • cargo clippy --all-features --workspace --all-targets -- -D warnings
  • cargo test
  • cargo check --all
  • cargo check -p oxana --no-default-features

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 29e001e. Configure here.

Comment thread oxana/src/failure.rs Outdated
@reneklacan
reneklacan merged commit b42c2d3 into main Aug 31, 2026
2 checks passed
@reneklacan
reneklacan deleted the fix-worker-sentry-reporti branch August 31, 2026 10:51
reneklacan added a commit that referenced this pull request Aug 31, 2026
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