[BUG]: WebKit browser tests fail intermittently in CI

オープン
#1,085 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@AbarnaaSree がすでに取り組んでいます。

2026年8月28日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
playwright, typescript, wasm
領域
databases, testing

調査の方向性

“Build and test PGlite packages” GitHub Actions workflow から始め、webkit-memory.test.web.js と webkit-idb.test.web.js におけるその WebKit matrix failures を比較します。リンクされた runs を failure examples として使用し、報告された initdb エラーと WebAssembly エラーの周辺のライフサイクルを追跡します。完了条件は、各 failure が child-process shutdown から始まるのか、WebAssembly runtime failure から始まるのかを diagnostics で特定できることです。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
16.3k
フォーク
474
平均マージ
23時間 53分
マージ済み PR(30日)
53

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

electric-sql/pglite のほかの issue

electric-sql/pglite の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。