-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix MicrobatchExecutionDebug message #11071
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11071 +/- ##
==========================================
- Coverage 88.92% 88.86% -0.07%
==========================================
Files 183 183
Lines 23934 23941 +7
==========================================
- Hits 21283 21274 -9
- Misses 2651 2667 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ approving the non-me commits :)
The tests are failing due to a bug when there is only one batch. Fix is in #11113. Once that is merged, we'll update this PR and then proceed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM assuming test is fixed.
Also we might want to add some test since this is a bug fix?
* fix MicrobatchExecutionDebug message * Fix typing in `describe_batch` to convince mypy `batch_start` exists when needed --------- Co-authored-by: Quigley Malcolm <[email protected]> (cherry picked from commit fc6167a)
* fix MicrobatchExecutionDebug message * Fix typing in `describe_batch` to convince mypy `batch_start` exists when needed --------- Co-authored-by: Quigley Malcolm <[email protected]> (cherry picked from commit fc6167a) Co-authored-by: Michelle Ark <[email protected]>
Resolves #11111
Problem
We weren't logging the batch information for microbatch debug logs, instead we were logging a pointer to the function which gives the batch description information 🙈
Example:
Solution
Simply call the function instead of pointing at it 🙃
self.describe_batch
=>self.describe_batch()
Result
Checklist