-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
area:runtime-pyodideArea: Pyodide runtime bridgeArea: Pyodide runtime bridgebugSomething isn't workingSomething isn't workingpriority:p2Priority P2 (medium)Priority P2 (medium)
Milestone
Description
Summary
PyodideBridge caches initPromise; if initialization or loadPackage fails once, subsequent calls keep failing without a retry path.
Failure mode
- Network error or missing package during init permanently bricks the bridge instance.
Repro (adversarial)
- Configure
PyodideBridgewith a badindexURLor missing package. - Call
init()and verify failure. - Fix config and call
init()again; it should succeed after retry.
Acceptance criteria
- Failed init clears
initPromiseso the bridge can retry. - Errors surface with actionable messages (missing package vs network).
- Tests cover retry behavior after a failing init.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:runtime-pyodideArea: Pyodide runtime bridgeArea: Pyodide runtime bridgebugSomething isn't workingSomething isn't workingpriority:p2Priority P2 (medium)Priority P2 (medium)