Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# v143.0 (In progress)

## 🦊 What's Changed 🦊

### Logins
- Updated logins verification telemetry so it can be used in iOS([#6832](https://github.com/mozilla/application-services/pull/6832))

[Full Changelog](In progress)

# v142.0 (_2025-07-21_)
Expand Down
1 change: 1 addition & 0 deletions automation/run_ios_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ if [ "$SKIP_BUILDING" != true ]; then
-g Glean \
-o ./megazords/ios-rust/Sources/MozillaRustComponentsWrapper/Generated/Glean \
"${SOURCE_ROOT}"/components/nimbus/metrics.yaml \
"${SOURCE_ROOT}"/components/logins/metrics.yaml \
"${SOURCE_ROOT}"/components/sync_manager/metrics.yaml \
"${SOURCE_ROOT}"/components/sync_manager/pings.yaml

Expand Down
1 change: 1 addition & 0 deletions components/logins/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apply from: "$appServicesRootDir/publish.gradle"
// exposed by the plugin to be available for this project.
ext {
gleanNamespace = "mozilla.telemetry.glean"
gleanYamlFiles = ["${project.projectDir}/../metrics.yaml"]
if (gradle.hasProperty("mozconfig")) {
gleanPythonEnvDir = gradle.mozconfig.substs.GRADLE_GLEAN_PARSER_VENV
}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,15 @@ open class LoginsStorage {
/// use in the iOS logins verification process.
open func deleteUndecryptableRecordsForRemoteReplacement() throws {
return try queue.sync {
try self.store.deleteUndecryptableRecordsForRemoteReplacement()
let result = try self.store.deleteUndecryptableRecordsForRemoteReplacement()

if result.localDeleted > 0 {
GleanMetrics.LoginsStore.localUndecryptableDeleted.add(Int32(result.localDeleted))
}

if result.mirrorDeleted > 0 {
GleanMetrics.LoginsStore.mirrorUndecryptableDeleted.add(Int32(result.mirrorDeleted))
}
}
}

Expand Down
1 change: 1 addition & 0 deletions taskcluster/scripts/build-and-test-swift.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def generate_glean_metrics(args):
str,
[
ROOT_DIR / "components/nimbus/metrics.yaml",
ROOT_DIR / "components/logins/metrics.yaml",
ROOT_DIR / "components/sync_manager/metrics.yaml",
ROOT_DIR / "components/sync_manager/pings.yaml",
],
Expand Down
Loading