Skip to content

Fix PropertyValueColumnData._stream() to handle rollover >= len(L) #13318

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

Merged
merged 2 commits into from
Aug 9, 2023
Merged

Fix PropertyValueColumnData._stream() to handle rollover >= len(L) #13318

merged 2 commits into from
Aug 9, 2023

Conversation

xiaoyang-sde
Copy link

@xiaoyang-sde xiaoyang-sde commented Aug 9, 2023

fixes #13314

If rollover >= len(L), there's no need to delete items from L.

@bryevdv
Copy link
Member

bryevdv commented Aug 9, 2023

@quasiben can you do a quick test with this patch?

@bryevdv bryevdv added this to the 3.3 milestone Aug 9, 2023
@xiaoyang-sde xiaoyang-sde changed the title Fix PropertyValueColumnData._stream() to handle rollover >= len(data) Fix PropertyValueColumnData._stream() to handle rollover > len(data) Aug 9, 2023
@xiaoyang-sde xiaoyang-sde changed the title Fix PropertyValueColumnData._stream() to handle rollover > len(data) Fix PropertyValueColumnData._stream() to handle rollover >= len(L) Aug 9, 2023
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Merging #13318 (ce09654) into branch-3.3 (99310e6) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           branch-3.3   #13318   +/-   ##
===========================================
  Coverage       92.45%   92.45%           
===========================================
  Files             315      315           
  Lines           20150    20150           
===========================================
  Hits            18629    18629           
  Misses           1521     1521           

@quasiben
Copy link
Contributor

quasiben commented Aug 9, 2023

Thanks @xiaoyang-sde -- locally testing verified this resolves the bug!

@bryevdv
Copy link
Member

bryevdv commented Aug 9, 2023

Thanks for the quick turnaround @xiaoyang-sde! will merge now and backport for a 3.2.2 in the next few days

@bryevdv bryevdv merged commit ef355aa into bokeh:branch-3.3 Aug 9, 2023
@xiaoyang-sde xiaoyang-sde deleted the 13314_fix_rollover branch August 10, 2023 03:16
bryevdv pushed a commit that referenced this pull request Aug 11, 2023
#13318)

* Fix PropertyValueColumnData._stream() to handle rollover >= len(data)

* Clean implementation
@bryevdv bryevdv mentioned this pull request Aug 11, 2023
@bryevdv bryevdv modified the milestones: 3.3, 3.2.2 Aug 11, 2023
bryevdv pushed a commit that referenced this pull request Aug 12, 2023
#13318)

* Fix PropertyValueColumnData._stream() to handle rollover >= len(data)

* Clean implementation
Chiemezuo pushed a commit to Chiemezuo/bokeh that referenced this pull request Aug 27, 2024
bokeh#13318)

* Fix PropertyValueColumnData._stream() to handle rollover >= len(data)

* Clean implementation
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] CDS stream broken for larger rollover
4 participants