-
Notifications
You must be signed in to change notification settings - Fork 50
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
chore(derive): [Holocene] Drain previous channel in one iteration #583
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files☔ View full report in Codecov by Sentry. |
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.
The logic makes sense to me and I like the short variable rename to prev_frame
and next_frame
- much clearer.
I would like to verify that it passes tests that cover the sad path ruleset where frames with differing channels are interleaved in #585.
Maybe we can merge #585 and then rebase this on-top?
Overview
Drains the entire previous channel at one time, rather than over multiple iterations, if the following case is met:
Also fixes a small issue w/ the
DERIVED_FRAMES_COUNT
metric's accounting, where it was counting dropped frames.Tests
Added a new test for this functionality, when there is a valid, closed channel earlier on in the frame queue @
test_holocene_replace_channel
.