Skip to content

Conversation

@grzegorz-roboflow
Copy link
Collaborator

@grzegorz-roboflow grzegorz-roboflow commented Jan 16, 2026

What does this PR do?

When inference pipeline crashes it would be nice to be able to collect image/frame that caused the crash

Type of Change

  • New feature (non-breaking change that adds functionality)

Testing

  • I have tested this change locally

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code where necessary, particularly in hard-to-understand areas
  • My changes generate no new warnings or errors
  • I have updated the documentation accordingly (if applicable)

Additional Context


Note

Adds optional crash diagnostics for workflow execution.

  • Introduces INFERENCE_DEBUG_OUTPUT_DIR env var in env.py to control where crash artifacts are written
  • Implements _store_crash_info to write a .jpg of the input image and a .txt with exception + traceback
  • Wraps SIMD batch step execution to capture exceptions and persist crash info when failures occur

Written by Cursor Bugbot for commit 1c62163. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@grzegorz-roboflow grzegorz-roboflow marked this pull request as draft January 16, 2026 13:08
@grzegorz-roboflow grzegorz-roboflow marked this pull request as ready for review January 19, 2026 15:23
@grzegorz-roboflow
Copy link
Collaborator Author

bugbot run

@grzegorz-roboflow grzegorz-roboflow enabled auto-merge (squash) January 19, 2026 19:39
Copy link

@cursor cursor bot left a comment

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 and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@PawelPeczek-Roboflow PawelPeczek-Roboflow merged commit 239a317 into main Jan 22, 2026
49 checks passed
@PawelPeczek-Roboflow PawelPeczek-Roboflow deleted the rnv/debug branch January 22, 2026 11:18
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.

4 participants