Skip to content

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

Merged
bryevdv merged 2 commits into
bokeh:branch-3.3from
xiaoyang-sde:13314_fix_rollover
Aug 9, 2023
Merged

Fix PropertyValueColumnData._stream() to handle rollover >= len(L)#13318
bryevdv merged 2 commits into
bokeh:branch-3.3from
xiaoyang-sde:13314_fix_rollover

Conversation

@xiaoyang-sde

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

Copy link
Copy Markdown
Contributor

fixes #13314

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

@bryevdv

bryevdv commented Aug 9, 2023

Copy link
Copy Markdown
Member

@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

codecov Bot commented Aug 9, 2023

Copy link
Copy Markdown

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

quasiben commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

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

@bryevdv

bryevdv commented Aug 9, 2023

Copy link
Copy Markdown
Member

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
@github-actions

Copy link
Copy Markdown

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