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

Aberta
#1,204 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
github, playwright, typescript

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
3
Forks
2
Merge médio
11h 49min
PRs com merge (30d)
102

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de d-oit/do-knowledge-studio

Todas as issues de d-oit/do-knowledge-studio

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.