Add a Glean event for card security code storage errors
Categories
(Toolkit :: Form Autofill, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: mtigley, Assigned: kalenlu)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxcm-cvv])
Attachments
(1 external file)
Add a Glean event that records when saving, reading (decrypting) or clearing a card security code fails, so silent failures show up in telemetry. S1/S2 bugs stay the rollout gate; this is a reliability signal on top of them.
- Metric: formautofill.creditcards.cvv_store_error (event)
- Extras:
- operation: "save", "read" or "clear"
- error_type: the error category
- Recorded when saving, reading (decrypting) or clearing a security code fails.
- Only the error category is recorded, never the code or any other card values.
Category: reliability. Needs a data review.
| Reporter | ||
Updated•1 month ago
|
| Reporter | ||
Updated•1 month ago
|
Updated•29 days ago
|
| Assignee | ||
Comment 1•29 days ago
|
||
Add formautofill.creditcards.cvv_store_error, an event with operation ("save", "read", "clear")
and error_type extras, so failed security code writes and reads show up in telemetry instead of
failing silently.
RustAutofillCreditCardsAdapter records it from _add/_update when the failed write carried a
code ("save"), or dropped one the stored card held ("clear"). update() now passes the stored
record to _update(store, guid, record, stored) for that check.
#read records "read" when getCreditCard/getAllCreditCards fails and listCreditCardCandidates()
reports hasCvv for a card the read covered. The listing does not use the key, so it cannot prompt.
A missing record is not counted.
error_type is the AutofillApiError subclass name (CryptoError, SqlError, ...) or "Unknown",
matching the migration's error_code. No message, guid or card value is recorded.
A declined or locked primary password (NS_ERROR_ABORT) is not recorded: it is expected, not a failure.
The store encrypts the number and code in one call, so a failed write that carried a code counts as a
code failure. The JSON store holds no codes and is unchanged.
Updated•29 days ago
|
Updated•25 days ago
|
Updated•24 days ago
|
Comment 3•24 days ago
|
||
| bugherder | ||
Updated•18 days ago
|
Description
•