Fix incorrect analytics mapping for UTDs. (#3497)

* Fix incorrect analytics mapping for UTDs.

* Upgrade GitHub workflows to use macOS 15.
This commit is contained in:
Doug 2024-11-08 08:36:15 +00:00 committed by GitHub
parent 4f8565c3b4
commit 4e880f1924
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ on:
jobs: jobs:
build: build:
name: Danger name: Danger
runs-on: macos-14 runs-on: macos-15
steps: steps:
- name: Checkout - name: Checkout

View File

@ -11,7 +11,7 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'Trigger-PR-Build') if: contains(github.event.pull_request.labels.*.name, 'Trigger-PR-Build')
name: Release name: Release
runs-on: macos-14 runs-on: macos-15
concurrency: concurrency:
# Only allow a single run of this workflow on each branch, automatically cancelling older runs. # Only allow a single run of this workflow on each branch, automatically cancelling older runs.

View File

@ -7,7 +7,7 @@ on:
jobs: jobs:
open-translations-pr: open-translations-pr:
runs-on: macos-14 runs-on: macos-15
# Skip in forks # Skip in forks
if: github.repository == 'element-hq/element-x-ios' if: github.repository == 'element-hq/element-x-ios'
steps: steps:

View File

@ -11,7 +11,7 @@ on:
jobs: jobs:
tests: tests:
name: Tests name: Tests
runs-on: macos-14 runs-on: macos-15
concurrency: concurrency:
# Only allow a single run of this workflow on each branch, automatically cancelling older runs. # Only allow a single run of this workflow on each branch, automatically cancelling older runs.

View File

@ -11,7 +11,7 @@ on:
jobs: jobs:
tests: tests:
name: Tests (Enterprise) name: Tests (Enterprise)
runs-on: macos-14 runs-on: macos-15
# Skip in forks # Skip in forks
if: github.repository == 'element-hq/element-x-ios' if: github.repository == 'element-hq/element-x-ios'

View File

@ -368,7 +368,7 @@ class UserSessionFlowCoordinator: FlowCoordinatorProtocol {
switch info.cause { switch info.cause {
case .unknown: case .unknown:
analytics.trackError(context: nil, domain: .E2EE, name: .UnknownError, timeToDecryptMillis: timeToDecryptMs) analytics.trackError(context: nil, domain: .E2EE, name: .OlmKeysNotSentError, timeToDecryptMillis: timeToDecryptMs)
case .unknownDevice: case .unknownDevice:
analytics.trackError(context: nil, domain: .E2EE, name: .ExpectedSentByInsecureDevice, timeToDecryptMillis: timeToDecryptMs) analytics.trackError(context: nil, domain: .E2EE, name: .ExpectedSentByInsecureDevice, timeToDecryptMillis: timeToDecryptMs)
case .unsignedDevice: case .unsignedDevice: