Mobile: record enrollment state in RecordedNimbusContext

Aperta
#17,762 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kotlin, python, rust, swift
Ambito
analytics, data, mobile

Direzione di ricerca

The work spans three repositories: application-services needs TargetingAttributes exposed into RecordedContext, fenix and firefox-ios need RecordedNimbusContext.toJson to record the new fields, and experimenter needs the mapping. The issue names no specific file or test in experimenter, so start by finding how the earlier array and keyed-lookup tickets were done there. Done means mobile enrollment state reaches the recorded context on both platforms and experimenter maps it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Desktop records active_experiments, active_rollouts and enrollments_map; mobile records none of them. 122 references across Fenix and iOS Drafts are dropped as a result, making this the whole of the remaining mobile gap.

The values already exist in the Rust SDK's TargetingAttributes but are never surfaced into RecordedContext.

  • application-services: expose is_already_enrolled, active_experiments, enrollments and enrollments_map to RecordedContext
  • fenix and firefox-ios: record them in RecordedNimbusContext.toJson
  • experimenter: map them, reusing the array and keyed-lookup work from the earlier tickets

Largest item in the epic and the only one needing SDK changes.

┆Issue is synchronized with this Jira Task

Lingua principale
Python
Stelle
152
Fork
231
Merge medio
23h 54m
PR unite (30g)
201

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mozilla/experimenter

Tutte le issue di mozilla/experimenter

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.