Skip to content

Python worker can hide batch processing failures #8297

Description

@carloea2

Feature Summary

The Python worker catches an exception while unpacking a data batch but only writes it to the worker log. It then consumes the remaining rows and can report successful completion with missing output.

Before: a row fails, later rows continue, and the coordinator receives no error.

Expected: the first failure is reported to the coordinator and the worker enters exception pause without consuming later rows.

Reproduction evidence:

  1. Send a two row data frame to a Python worker.
  2. Make tuple bookkeeping fail on the first row.
  3. Observe that both rows are attempted and the exception manager remains empty.

Version and commit evidence:

1.3.0-incubating-SNAPSHOT on main

Commit Hash (Optional)
50321e4

Relevant log output

RuntimeError: statistics backend unavailable

Proposed Solution or Design

Expected: the first failure is reported to the coordinator and the worker enters exception pause without consuming later rows.

Affected Area

Workflow Engine (Amber)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions