[BUG]: WebKit browser tests fail intermittently in CI

Aperta
#1,085 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@AbarnaaSree ci sta già lavorando.

Dal 28/8/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
playwright, typescript, wasm
Ambito
databases, testing

Direzione di ricerca

Inizia con il workflow GitHub Actions “Build and test PGlite packages” e confronta i suoi errori della matrice WebKit in webkit-memory.test.web.js e webkit-idb.test.web.js. Traccia il ciclo di vita relativo agli errori initdb e WebAssembly segnalati, usando le run collegate come esempi di errore. Il lavoro è completo quando la diagnostica identifica se ogni errore inizia con l’arresto di un processo figlio o con un errore di runtime WebAssembly.

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

Descrizione

Describe the bug

The WebKit browser test suite intermittently fails in GitHub Actions across unrelated PRs and on main. The failing Node version and test file vary between runs, while the Chromium and Firefox suites usually pass.

The failures I have seen are in webkit-memory.test.web.js and webkit-idb.test.web.js, with errors such as:

page.evaluate: RuntimeError: Out of bounds memory access
INITDB failed to initialize: child process was terminated by signal 1: Hangup
RuntimeError: call_indirect to a null table entry

To Reproduce

I do not have a reliable local reproduction. Running the repository's "Build and test PGlite packages" workflow eventually hits it.

Some examples from unrelated changes:

Logs

In the PR #1079 run, the OPFS-AHP tests passed before the failures occurred in the WebKit memory/IDB tests. The same pattern appears in unrelated runs: the failure is isolated to WebKit and moves between Node matrix entries and storage targets.

Details

  • Environment: GitHub-hosted Ubuntu runners
  • Node versions observed: 20.x through 24.x
  • Test runner: the repository's current Vitest/Playwright setup
  • Browser target: WebKit
  • Reproduction locally: not reproduced so far

Additional context

This looks like a pre-existing flaky WebKit/initdb lifecycle issue rather than a failure tied to a specific PR. It would be useful to identify the first failing lifecycle boundary and add enough diagnostics to distinguish an initdb child-process shutdown from a WebAssembly runtime failure.

Lingua principale
TypeScript
Stelle
16.3k
Fork
474
Merge medio
23h 53m
PR unite (30g)
53

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 electric-sql/pglite

Tutte le issue di electric-sql/pglite

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.