Beatriz Rizental
bc7e9d632e
Merge pull request #715 from brizental/1616016/java-doc
...
Update Java documentation to use new API
2020-02-17 13:46:29 +01:00
Alessio Placitelli
ab8a86146d
Merge pull request #713 from mozilla/release-v25.0.0
...
Bumped version to 25.0.0
2020-02-17 13:31:00 +01:00
Beatriz Rizental
c24f6f62fd
Update Java documentation to use new API
...
[doc only]
2020-02-17 12:35:32 +01:00
Jan-Erik Rediger
177ff20f6a
Don't try to install perl on the PyPi image anymore
...
The image doesn't have `sudo` and thus this fails.
We already switched away from shasum in #704
2020-02-17 12:02:30 +01:00
Alessio Placitelli
5078ba9905
Bumped version to 25.0.0
2020-02-17 11:38:29 +01:00
Michael Droettboom
3f1fca72ae
1608585: Fix labeled regex ( #668 )
...
* 1608585: Fix labeled regex
* Update docstring
* Update docs
* Add CHANGELOG
* spellcheck
* Move CHANGELOG entry
2020-02-14 22:20:16 +05:30
Michael Droettboom
268d303f6e
Upgrade to glean_parser v1.18.2 ( #712 )
...
* Upgrade to glean_parser v1.18.1
* Fix reason list formatting
2020-02-14 20:15:19 +05:30
Beatriz Rizental
b6ccdbd5e5
Add comment about threading and fix lints
2020-02-14 14:49:41 +01:00
Beatriz Rizental
72c0c4bc82
Attend to review comments
2020-02-14 14:41:15 +01:00
Beatriz Rizental
ebdd8a7b71
Break process response test in smaller tests
2020-02-14 14:41:15 +01:00
Beatriz Rizental
69a84dcc94
Process ping upload response in upload module
2020-02-14 14:41:15 +01:00
Beatriz Rizental
0d811cf830
Move upload utils into its own struct
...
Mostly so that we don't have to pass data_path to every function on that
module, the struct requires that we only pass that once on init.
2020-02-14 14:41:15 +01:00
Beatriz Rizental
bca4b4c082
Rename util.rs to directory.rs
2020-02-14 14:41:15 +01:00
Alessio Placitelli
902bb4a89e
Merge pull request #710 from Dexterp37/exceptions_in_dispatcher
...
Test that exceptions in dispatched actions are correctly handled
2020-02-14 12:16:26 +01:00
Alessio Placitelli
81c6eeff66
Address review comments
2020-02-14 12:09:31 +01:00
Michael Droettboom
60d3c88945
1613174: Run glinter as part of loading Python metrics ( #706 )
...
* 1613174: Run glinter as part of loading Python metrics
* Don't treat warnings as errors
* Only display output if there are actual errors
2020-02-14 01:25:40 +05:30
Travis Long
0967d13e36
Merge pull request #707 from travis79/Bug1614948-init-off-main-thread
...
Bug 1614948 - Make `Glean.initialize` run off the main thread in iOS
2020-02-13 18:12:25 +01:00
Alessio Placitelli
0a8683a904
Use a SupervisorJob to deal with exceptions in coroutines
...
This guarantees that the Dispatchers.API context doesn't
get in a "cancelled" state if any exception is thrown
in a children coroutine. Without this change, the context
simply hangs and does not execute any other coroutine.
See https://kotlinlang.org/docs/reference/coroutines/exception-handling.html#supervision-job
2020-02-13 17:46:23 +01:00
Alessio Placitelli
b80427d0b8
Test that exceptions in dispatched actions are correctly handled
2020-02-13 17:44:29 +01:00
Alessio Placitelli
1ec7a51c64
Merge pull request #702 from Dexterp37/fixup_glean_in_fenix_docs
...
Fix the instructions to test Glean in Fenix [docs only]
2020-02-13 17:43:12 +01:00
Travis Long
e94a38142f
Clarify comments and tests
2020-02-13 10:41:31 -06:00
Alessio Placitelli
78a60333e6
Rephrase step 2.4
2020-02-13 17:33:24 +01:00
Travis Long
77df093fab
Make `flushQueuedInitialTasks` await the execution of the tasks during init
2020-02-13 08:22:58 -06:00
Travis Long
fc0c445479
Bug 1614948 - Make `Glean.initialize` run off the main thread in iOS
...
minor fixes
2020-02-13 08:22:58 -06:00
Michael Droettboom
22ff84a3a4
1609735: Python: Add instrumentation when overflowing preinit queue ( #705 )
2020-02-13 19:51:35 +05:30
Beatriz Rizental
18842a2e62
Merge pull request #696 from brizental/1614281/ping-upload-wait
...
Have upload module flag when ping directory is being processed
2020-02-13 11:46:03 +01:00
Beatriz Rizental
e2540ab7c5
Have upload module flag when ping directory is being processed
...
While trying to use `get_upload_task` from the upload module,
the requester will receive three possible tasks:
* `Wait` - which means that the pings directory is currently being
processed and the requester should come back later;
* `Done` - which means that the pings queue is empty and requester can
stop asking for more pings;
* `Upload(PingRequest)` - if no processing is going on and there are pings in
the queue, requester will get the oldest ping in it.
2020-02-13 11:32:38 +01:00
Alessio Placitelli
f9d320db87
Merge pull request #709 from mozilla/Dexterp37-patch-1
...
Add the missing data review link for the 'baseline' reason [doc only]
2020-02-13 10:59:01 +01:00
Alessio Placitelli
bf161b20b4
Add the missing data review link for the 'baseline' reason
2020-02-13 10:31:28 +01:00
Alessio Placitelli
eeb82abb1b
Merge pull request #672 from Dexterp37/faster_init
...
Make Glean init in Kotlin fully async
2020-02-13 10:04:26 +01:00
Alessio Placitelli
285b862a98
Merge pull request #682 from tdsmith/patch-1
...
Disambiguate device model
2020-02-13 10:03:38 +01:00
Alessio Placitelli
f71ba5d570
Merge branch 'master' into faster_init
2020-02-13 09:59:32 +01:00
Michael Droettboom
bb60016439
Add detail about updating Glean version in consumers ( #708 )
2020-02-13 03:01:55 +05:30
Michael Droettboom
99e2c0e12a
1609169: Fix deploying Python wheels to Github ( #704 )
2020-02-13 00:40:03 +05:30
Travis Long
42d4d66f57
Merge pull request #703 from travis79/Bug1614785-ios-clear-app-lifetime-metrics
...
Bug 1614785 - Add clearing of app lifetime metrics after sending metrics ping
2020-02-12 18:15:32 +01:00
Travis Long
d626a5e32e
Add CHANGELOG.md entry
2020-02-12 10:04:24 -06:00
Travis Long
0ddcd33eb3
Bug 1614785 - Add clearing of app lifetime metrics after sending metrics ping
2020-02-12 09:07:49 -06:00
Alessio Placitelli
c89f0e90da
Fix the instructions to test Glean in Fenix
2020-02-12 15:31:11 +01:00
Travis Long
41f583603f
Merge pull request #698 from travis79/Bug1614386-add-ios-baseline-reason-code
...
Bug 1614386 - Add reason code to iOS baseline ping
2020-02-12 15:23:24 +01:00
Alessio Placitelli
8a517223b8
Merge pull request #701 from Dexterp37/change_metrics_docs
...
Document the process for requesting new metric types [doc only]
2020-02-12 14:51:40 +01:00
Travis Long
379c17eefb
Add CHANGELOG.md entry
...
Move CHANGELOG entry to correct section after rebasing
2020-02-12 07:12:01 -06:00
Travis Long
616d8207ac
Bug 1614386 - Add reason code to iOS baseline ping
2020-02-12 07:10:53 -06:00
Alessio Placitelli
6f1fd24a03
Provide a mock context for GleanFromJavaTest
...
Without the context, the Glean init would throw
an exception which would "hang" the dispatchers
in the next async tests.
2020-02-12 12:39:36 +01:00
Alessio Placitelli
f9b20a7530
Use cooperative coroutine cancellation in test code
...
Our test code relies on `withTimeout*` and `while(true)`
in a few places to wait for things to happen. However,
having a timeout is not enough: if the coroutine is busy,
even if the timeout elapses, the work will not be interrupted.
That's because cancellation in Kotlin coroutines is cooperative,
see [the docs](https://github.com/Kotlin/kotlinx.coroutines/blob/master/docs/cancellation-and-timeouts.md#cancellation-is-cooperative )
for more details.
This commit uses cooperative cancellation so that tests will
break, instead of hanging forever.
2020-02-12 12:39:36 +01:00
Alessio Placitelli
019c96cd0e
Make Glean init in Kotlin fully async
2020-02-12 11:53:10 +01:00
Alessio Placitelli
c1ab662a11
Document the process for requesting new metric types
2020-02-12 11:27:34 +01:00
Jan-Erik Rediger
8d2630bcef
Merge pull request #653 from mozilla/drop-ping-type
...
1609149 - Remove `ping_type` from pings.
2020-02-12 11:24:41 +01:00
Jan-Erik Rediger
9ea7e1ab89
Check URL for ping type in upload module
2020-02-12 11:16:17 +01:00
Jan-Erik Rediger
9acbb78a7e
Add back ping type checks against the ping type in the URL path
2020-02-12 11:11:40 +01:00
Jan-Erik Rediger
8838ade9f3
Document change
2020-02-12 11:05:20 +01:00