[browser][experimental] Assess Ladybird compatibility for local-first browser features

Abierto
#1,204 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github, playwright, typescript

Línea de trabajo

Start with the existing Playwright configuration in playwright.config.ts and Ladybird’s WebDriver documentation. Map the listed browser APIs to current support, then build an opt-in Linux smoke suite using disposable profiles and synthetic fixtures. Verify the specified workspace, persistence, search, graph and export flows where supported; document execution steps, gaps, classified failures and a recommendation.

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

Descripción

priority: low testing

Why this matters

DO Knowledge Studio depends on browser-native capabilities for its local-first product contract: IndexedDB persistence, Web Workers, client-side search, graph rendering, file import/export and optional WebRTC collaboration. Testing only Chromium-derived projects can miss engine-specific behavior that affects portability and user data reliability.

Ladybird is an independent browser engine with an early WebDriver implementation. Its current alpha status makes this an exploratory compatibility assessment only; it must not become a required CI gate or a supported-browser promise.

Scope

  1. Check current official Ladybird documentation for WebDriver coverage, platform availability and support for the APIs used by the application.
  2. Map the app's critical browser APIs to Ladybird support, prioritizing:
    • IndexedDB read/write, transaction and upgrade behavior.
    • Web Workers and worker messaging used by local search.
    • SVG rendering and graph/mind-map interactions.
    • File import/export and download behavior.
    • WebRTC/Yjs collaboration only if the required networking APIs are supported and stable.
  3. Implement a small opt-in Linux smoke suite using Ladybird WebDriver, with a user-provided/preinstalled driver binary. Reuse deterministic test fixtures and avoid network-dependent tests.
  4. Verify basic workspace creation, reload persistence, search, graph rendering and export where supported.
  5. Capture screenshots, console/runtime errors and WebDriver logs; classify failures as app defects, unsupported APIs, engine defects or alpha instability.
  6. Document local execution, known gaps and a recommendation on whether to keep the experiment.

Data-safety requirements

  • Use disposable test profiles and synthetic fixtures only.
  • Never run this experiment against a real user workspace or production data.
  • Do not weaken persistence guarantees or skip existing Chromium tests based on Ladybird results.

Non-goals

  • No production dependency on Ladybird.
  • No replacement of Chromium or existing browser test projects.
  • No required CI job, release blocker or browser support commitment while Ladybird is alpha.
  • No attempt to emulate missing browser APIs in the application solely to make this experiment pass.

Acceptance criteria

  • The suite is opt-in and skipped cleanly when Ladybird/WebDriver is unavailable.
  • Existing Playwright projects and offline-contract tests remain unchanged.
  • The smoke suite uses deterministic local data and leaves no persistent user data behind.
  • API support gaps and test failures are clearly distinguished.
  • A concise compatibility report records observed behavior, reproduction steps and a go/no-go recommendation for future adoption.

References

Lenguaje dominante
TypeScript
Estrellas
3
Forks
2
Merge medio
11 h 49 min
PR fusionados (30 d)
102

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 d-oit/do-knowledge-studio

Todos los issues de d-oit/do-knowledge-studio

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.