Dev env: simulate hide and unhide transitions

Abierto
#75 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
kotlin

Línea de trabajo

Read docs/threat-model.md, then inspect tools/devenv/mock_connector.py and hub/tests/test_devenv_mock_connector.py to see how sweeps and connector notifications are represented. Check the Android cache purge path and the manual check documented in deploy/dev/README.md. Done means mock hide and unhide notifications exercise the listed visibility, cache, and 404 behaviors, with Android verification documented.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

backend difficulty: intermediate enhancement help wanted privacy

Context

The mock connector only performs full visibility sweeps. Real connectors also report incremental changes when a
photo is hidden or unhidden on any Apple device, which triggers purging on the hub and the phone. That path is
privacy-critical and should be testable without a Mac.

Acceptance criteria

  • A mock connector command (for example make dev-hide ID=… / dev-unhide, or a timed scenario) sends the same
    change notifications as the real connector.
  • Tests assert that a newly hidden synthetic asset disappears from listings, albums, search and caches, returns
    404, and that unhiding makes it visible again only after the next confirmed sweep, matching the threat model.
  • The Android app purges the cached copy when connected to the dev hub (manual check documented in
    deploy/dev/README.md).
  • No change to the hub's visibility logic is required; if one seems to be, open a separate security issue first.

Pointers

  • tools/devenv/mock_connector.py, docs/threat-model.md, hub/tests/test_devenv_mock_connector.py
Lenguaje dominante
Kotlin
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ft-dev-org/cloudbridge-oss

Todos los issues de ft-dev-org/cloudbridge-oss

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.