Skip to content

Executor: explicitly raise error when lightbeam fails to send any records#64

Merged
johncmerfeld merged 1 commit into
developmentfrom
executor/lb-send-safer
May 29, 2026
Merged

Executor: explicitly raise error when lightbeam fails to send any records#64
johncmerfeld merged 1 commit into
developmentfrom
executor/lb-send-safer

Conversation

@johncmerfeld
Copy link
Copy Markdown
Collaborator

@johncmerfeld johncmerfeld commented May 27, 2026

The executor has hitherto relied on lightbeam returning a nonzero status code to know whether or not it succeeded. This is probably not safe enough, especially now that we also upload records to S3. We should halt execution in the case that no records successfully send

Tested locally

Copy link
Copy Markdown
Collaborator

@jalvord1 jalvord1 left a comment

Choose a reason for hiding this comment

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

lgtm

@johncmerfeld johncmerfeld merged commit 4355465 into development May 29, 2026
1 check passed
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