-
Notifications
You must be signed in to change notification settings - Fork 123
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
1624695: Act on changes in upload enable state outside of application #791
Conversation
@@ -79,6 +79,7 @@ codecov | |||
codepoints | |||
commandline | |||
conda | |||
config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonder if we maybe should just use the proper form "configuration" in text then.
(but I see it's "config file" down below, which seems fine to me)
CHANGELOG.md
Outdated
@@ -13,6 +13,7 @@ | |||
* `glean_parser` now makes it easier to write external translation functions for | |||
different language targets. | |||
* BUGFIX: glean_parser now works on 32-bit Windows. | |||
* Glean will now detect when the upload enabled flag changes outside of the application, for example due to a change in a config file. This means that if upload is disabled while the application wasn't running (e.g. between the runs of a Python command using the Glean SDK), the database is correctly cleared and a deletion request ping is sent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a link to the bug here (or to the PR as we do for other items in the changelog)?
46fd2f0
to
91e2041
Compare
This includes a bug fix for the metrics ping scheduler sending on the last day of the month. Does anyone feel strongly about separating that out? |
65ef8a6
to
1b6bfe5
Compare
As long as it is its own commit, I'm fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+wc.
I'd prefer to clean up the commits for a nice history and separate out the iOS bugfix while you're at it.
minimal nits left, but otherwise good to go.
@@ -125,7 +125,7 @@ class MetricsPingSchedulerTests: XCTestCase { | |||
byAdding: .day, | |||
value: 1, | |||
to: now, | |||
wrappingComponents: true | |||
wrappingComponents: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this to its own commit and then give it a proper commit message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while you're at it you can then squash the remaining commits into a single useful one.
@@ -59,7 +59,7 @@ class MetricsPingScheduler { | |||
byAdding: .day, | |||
value: 1, | |||
to: fireDate, | |||
wrappingComponents: true | |||
wrappingComponents: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should go into the separated-out commit.
b5f7ee5
to
b41fcf1
Compare
I found a much simpler way forward here that really only adds some slightly different logic in
Glean::new
and a bit of a refactor. I'm much happier with this than the earlier two approaches.TODO: