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

Saver: Drop "get" key requirement from profiler data on submit #404

Merged
merged 4 commits into from
Jan 6, 2021

Conversation

glensc
Copy link
Contributor

@glensc glensc commented Dec 24, 2020

Drop "get" key from profiler data when it's submitted. The value is now extracted from "url", so sending "get" data is redundant.

Profiler no longer needs to send "get" over the wire.
The individual savers may choose not to store this down separately.

@glensc glensc requested a review from a team December 24, 2020 23:16
@glensc glensc self-assigned this Dec 24, 2020
@glensc
Copy link
Contributor Author

glensc commented Dec 24, 2020

The "url" for CLI may fail here:

need to ensure empty [] get is assigned in this case.

as the CI passed, that means that scenario is not in phpunit.

@glensc
Copy link
Contributor Author

glensc commented Dec 24, 2020

Looks like the test fixture is even out of sync, "url" has get parameters but "get" is empty:

Profiler no longer needs to send "get" over the wire.
The individual savers may choose not to store this down separately.

- Update NormalizingSaver test
- Remove redundant "get" from results.json
@glensc glensc changed the title Saver: Extract "get" from "url" Saver: Drop "get" key requirement from profiler data on submit Dec 25, 2020
@glensc glensc merged commit 17d4dbb into master Jan 6, 2021
@glensc glensc deleted the saver-redundant-get branch January 6, 2021 14:22
@glensc glensc added this to the Next milestone Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants