Skip to content

Completely refreshing a timeline with an active benchmark leads to a crash when the benchmark name has a space #256

@sgraf812

Description

@sgraf812

In our project, we have benchmark names such as "Parser-Test 1", with a space in the benchmark name.

When I hit Ctrl+F5 (or close the tab and re-open it with Ctrl+Shift+T) in the timeline view for such a benchmark, the benchmark becomes unselected and I get notified via E-Mail that there was a crash in codespeed here:

if data['ben'] == 'grid':
, apparently because there's no entry for 'ben' in the data dictionary. The request URL doesn't seem to contain the 'ben' entry at all.

If I remove the space from the name, e.g. "Parser-Test", everything works as advertised.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions