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

Ouverte
#1,204 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
github, playwright, typescript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
TypeScript
Étoiles
3
Forks
2
Merge moyen
11 h 49 min
PR mergées (30 j)
102

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de d-oit/do-knowledge-studio

Toutes les issues de d-oit/do-knowledge-studio

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.