Closed
Bug 1780588
Opened 2 years ago
Closed 2 years ago
Custom pings with events in them might be sent with reason "startup"
Categories
(Data Platform and Tools :: Glean: SDK, defect, P4)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1716725
People
(Reporter: chutten, Unassigned)
References
Details
All pings with events in them are sent at startup with reason "startup" if there are any leftover events from the previous application session.
I'm not sure if this is desired behaviour. It doesn't bother me in my use cases. But what does bother me includes:
- This isn't documented in the Custom Pings docs
- Sending a custom ping at startup with reason "startup" will error if that ping didn't define a reason of "startup"
This bug is for discussing what the desired behaviour is and updating the code and docs and tests to cover it.
Comment 1•2 years ago
|
||
Luckily the solution to this was already thought of (currently only implemented in Glean.js, sadly): https://docs.google.com/document/d/1R-tIZYz4Izx8rDB_YUiJXU9Xtk8VcJoF8Pmhggps_GU/edit#heading=h.5x0d5h95i329
Updated•2 years ago
|
Priority: -- → P4
Reporter | ||
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•