Skip to content

Conversation

@sjmonson
Copy link
Collaborator

Summary

Fixes bug where dataloader will not recognize the end of a dataset due to the StopIteration Exception being caught and masked.


  • "I certify that all code in this PR is my own, except as noted below."

Use of AI

  • Includes AI-assisted code completion
  • Includes code generated by an AI application
  • Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes ## WRITTEN BY AI ##)

Signed-off-by: Samuel Monson <[email protected]>
@sjmonson sjmonson requested a review from markurtz November 18, 2025 22:46
@sjmonson sjmonson merged commit 8f1e001 into main Nov 18, 2025
18 checks passed
@sjmonson sjmonson deleted the fix/stopiteration branch November 18, 2025 22:49
@jaredoconnell
Copy link
Collaborator

It was agreed offline that follow up work would be a good idea regarding this section of code. The exception handling may be overly-broad, and if a non-flaky test is possible, we should add one.

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.

3 participants