Skip to content

Bring survey prompt back to 10 days and every 90 days. #5631

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

Merged
merged 2 commits into from
Apr 7, 2021

Conversation

tejal29
Copy link
Contributor

@tejal29 tejal29 commented Apr 6, 2021

Revert #4626 and bring back survey prompts to normal cadency

  1. Show one every 90 days
  2. Keep prompting after every 10 days until a user fills.

@tejal29 tejal29 requested a review from a team as a code owner April 6, 2021 00:46
@google-cla google-cla bot added the cla: yes label Apr 6, 2021
@codecov
Copy link

codecov bot commented Apr 6, 2021

Codecov Report

Merging #5631 (8f3660e) into master (665b502) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5631      +/-   ##
==========================================
- Coverage   70.68%   70.67%   -0.02%     
==========================================
  Files         408      408              
  Lines       15581    15581              
==========================================
- Hits        11014    11012       -2     
- Misses       3757     3758       +1     
- Partials      810      811       +1     
Impacted Files Coverage Δ
pkg/skaffold/config/util.go 65.40% <100.00%> (ø)
pkg/skaffold/util/tar.go 50.66% <0.00%> (-5.34%) ⬇️
pkg/skaffold/server/server.go 41.96% <0.00%> (ø)
pkg/skaffold/docker/parse.go 85.40% <0.00%> (+1.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 665b502...8f3660e. Read the comment docs.

@@ -321,7 +321,7 @@ func recentlyPromptedOrTaken(cfg *ContextConfig) bool {
if cfg == nil || cfg.Survey == nil {
return false
}
return lessThan(cfg.Survey.LastTaken, 365*24*time.Hour) || lessThan(cfg.Survey.LastPrompted, 60*24*time.Hour)
return lessThan(cfg.Survey.LastTaken, 90*24*time.Hour) || lessThan(cfg.Survey.LastPrompted, 10*24*time.Hour)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that I think it's a problem but if most of our users download the latest release around the same day then these reminders will be in sync 😅 Should we have a ( +- random number of days) to introduce slight disorder?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubt our survey traffic will be noticed by Google Forms :-)

Copy link
Contributor

@gsquared94 gsquared94 Apr 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't concerned about traffic, more about boosting some bias in the responses. Say the first release with this has some other bug, and a lot of feedback comes in on the same day around that bug. You can see this cycle repeating where a lot of feedback is clustered on specific dates (and as such specific skaffold versions). Though even that probably isn't significant at our scale.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a very good point. Though we've never issued a dot release for bug fixes within a day or so.

  • 1.13.0 -> 1.13.1: Jul 30 -> Aug 4
  • 1.13.1 -> 1.13.2: Aug 4 -> Aug 20
  • 1.17.0 -> 1.17.1: Nov 23 -> Dec 1
  • 1.17.1 -> 1.17.1: Dec 1 -> Dec 7

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case consider the example that we have 10 diligent users who respond to the survey as soon as they see the prompt. They'll be reprompted on the exact date 3 months later and that cycle continues. Now we only have feedback for those specific skaffold versions and very few in between. 🤷🏾‍♂️

None of that might be statistically significant and I'm ok with the change though.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basically everyone will see this prompt as soon as they download the new binary (assuming most users don't submit feedback). Should there be a first prompt offset of random days between (0 - 15) so that it's more evened out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did consider/mention this in the Survey DD where we should show the prompt X days after download.
There is no clear way to distinguishing a new user Vs an old user upgrading to a version. (Note, feedbacks are not associated with version)

I feel a new user would probably ignore the survey prompt first tine and the next one should show after 10 days at which he point they may choose to respond.

If its a not small change in code, i would not mind adding it in a separate PR. However i feel we might over engineer when most times a new user will ignore.

@tejal29 tejal29 merged commit fd96d77 into GoogleContainerTools:master Apr 7, 2021
@tejal29 tejal29 deleted the bringSurveyPromp branch April 15, 2021 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants