Skip to content
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

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

Open
sgraf812 opened this issue Nov 7, 2018 · 1 comment
Labels

Comments

@sgraf812
Copy link

sgraf812 commented Nov 7, 2018

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.

@tobami tobami added the BUG label Dec 13, 2018
@tobami
Copy link
Owner

tobami commented Dec 13, 2018

It would be best to move to using ids in the url parameters to avoid this kind of problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants