Fix `KeyError: 'startstops'` in performance report

This issue has been created since 2021-12-16.

I'm not sure what actually causes this; I assume it has to do with esoteric error cases on the worker and this code path:

if ts.startstops:
smsg["startstops"] = ts.startstops
Therefore I don't really know how to test it properly. But I think this should fix it.

I also noticed that if startstops is just empty, as opposed to missing, the max would fail with a ValueError (have never seen this happen IRL though). So I'm just dropping all cases where startstops doesn't contain information.

  • Closes #5171
  • Tests added / passed
  • Passes pre-commit run --all-files
More Details About Repo
Owner Name dask
Repo Name distributed
Full Name dask/distributed
Language Python
Created Date 2015-09-13
Updated Date 2022-09-24
Star Count 1398
Watcher Count 59
Fork Count 648
Issue Count 1251

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
列表共用一个EasyRefresh时,列表的偏移量会导致多次load 1 2022-02-09 2022-09-19
bug: request rejected and to many request from this user 7 2022-01-17 2022-07-23
Using a 2D U-Net for KiTS21 0 2022-05-10 2022-05-15
Model.Train and Cross Validation 2 2022-04-29 2022-08-10
[1.18.2] Server does not work with Realism Thirst mod. 0 2022-06-11 2022-08-18
jwalk works incorrectly on Windows and Macos 1 2021-02-12 2022-08-21
抽卡记录导出工具出错 2 2021-01-25 2022-01-16
Google Drive API integration 0 2021-10-26 2022-09-17
Caching layer for Session 1 2021-10-24 2022-09-16
adding header files to wrapNAME.cpp 4 2021-03-11 2022-07-20
What is behavior of Startegy OnDemand validation 2 2022-03-01 2022-09-10
leader 日志一直出现slavestatus false是什么意思? 1 2021-06-23 2022-09-02
jSerialComm lost 1st byte when read from serial port. 3 2021-03-04 2022-09-15
Assert in close.hpp line 244 version 1.75 34 2022-04-26 2022-09-24
lolMiner 1.52a zhash, zelhash don't support nicehash extranonce 4 2022-07-17 2022-09-16
Adapter Webseiten bei mehreren text2command Instanzen 1 2021-03-01 2022-09-28
Allow deleting your avatar and header via the /api endpoints 0 2022-08-02 2022-09-03
<no summary> showing when optional field is missing 2 2022-03-29 2022-09-29
puzzle rating different between website and app 0 2021-08-28 2022-07-06
Update AMO event to match new logging statement 1 2021-01-22 2022-08-30
make installcheck fails 3 2021-04-26 2022-09-14
Add Dynamic Code Analysis 0 2022-06-08 2022-08-07
Add support for session windows 0 2022-09-08 2022-09-11
Migrate the datatable + add features such as multi-selection 0 2021-06-04 2022-09-27
Unable to set backup direcotry 1 2022-06-11 2022-09-18
Broken link on 6. Creating Campaigns 5 2021-03-28 2022-09-29
[Core] Ray broken when the latest protobuf is used (>= 4.21.1) 7 2022-06-10 2022-09-11
[Core] ray.remote documentation has too many signatures 3 2022-06-10 2022-09-21
Getting Started on Building for MSP430 1 2018-11-14 2022-08-31
wrong/missing body/font-family reference for tabs 7 2022-06-09 2022-07-10
Autocomplete re-renders on scroll and resize 0 2022-06-10 2022-07-27
[Feature Request]: Remove baseTime parameter when not used anymore 0 2022-09-06 2022-09-09
What is the point of regenerating the preload file every X requests if a server restart is required for it to take effect? 1 2020-12-04 2022-08-26
The parameter "SKU" is incorrect 3 2022-01-30 2022-08-22
add docs about multi folder support 0 2021-11-12 2022-09-21
scalene on DeepSpeed 3 2021-05-28 2022-09-25
Scrolling in Secret input box also unexpectedly scrolls Canvas 1 2022-04-07 2022-09-16
Task Framework supported execution progress. 0 2022-09-20 2022-09-13
使用 group by grouping sets()后发现数据跟 group by 对不上 0 2022-09-20 2022-09-13
How to filter document before sending to MeiliSearch? 3 2021-12-28 2022-09-26
Game crashes when starting ANY new world or entering existing one. 1 2022-01-08 2022-09-20
DataTable bug when using multiple selection with lazy mode 2 2022-01-26 2022-08-03
Modify column from getColumn() will error 0 2021-11-30 2022-07-31
Add performance metrics to the gateway service 0 2021-12-04 2022-09-15
SyntaxError: Use of const in strict mode 1 2016-09-29 2022-09-18
[analyzer] add a fix for `uri_does_not_exist` 3 2022-04-07 2022-09-23
Add `Context` heading to the bug report issue template 5 2022-01-15 2022-08-21
Following k8s upgrade, RKE2 Node driver cluster fails to restore `only etcd` option to s3 snapshot taken before k8s upgrade 5 2022-05-06 2022-08-28
URL Cleanup 0 2019-03-26 2021-11-01
【v5.0.0-rc1】新建策略组白屏,前端抛代码异常 1 2021-07-05 2022-09-08