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

Aperta
#1,204 1 commento 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
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, playwright, typescript

Direzione di ricerca

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.

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

Descrizione

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

Lingua principale
TypeScript
Stelle
3
Fork
2
Merge medio
11h 49m
PR unite (30g)
102

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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

Tutte le issue di d-oit/do-knowledge-studio

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.