• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / py-slang / 29981136218 / 1
86%
main: 86%

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2026 05:17AM UTC
Files 116
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jul 2026 05:03AM UTC coverage: 86.13% (-0.3%) from 86.433%
29981136218.1

push

github

web-flow
Fix PyPvmlPynterEvaluator hanging forever on WASM instantiation failure (#334)

Emscripten's generated createWasm() (pynterwasm.js) only resolves via
the success callback passed to Module.instantiateWasm — it never
observes the promise our own instantiateWasm returns. So whenever
wasm(imports) rejects (unsupported WASM, a fetch/network failure, a
malformed binary, ...), the success callback never fires and the
whole pynterwasm(...)/init() call hangs forever with no error ever
surfaced, leaving evaluateChunk() awaiting it indefinitely instead of
reporting a clean error via sendError.

Race init() against a promise we control so a genuine instantiation
failure rejects it instead of hanging. Add PyPvmlPynterEvaluator.test.ts,
which also documents (in Jest, where WASM is stubbed out — see
src/tests/__mocks__/wasm.js) that each evaluateChunk() call is fully
self-contained: unlike PyPvmlEvaluator/PyCseEvaluator, this evaluator
does not persist a global environment across calls, so it only
supports single-shot "run this whole program" usage, not REPL-style
incremental development. Documented with a comment on the class too,
flagging it for review before deciding how to expose this evaluator
(e.g. in language-directory).


Claude-Session: https://claude.ai/code/session_01KrwJGug3rCXijRseRjys9V

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

4388 of 5483 branches covered (80.03%)

Branch coverage included in aggregate %.

9491 of 10631 relevant lines covered (89.28%)

178983.9 hits per line

Source Files on job 29981136218.1
  • Tree
  • List 116
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29981136218
  • f4fb9276 on github
  • Prev Job for on main (#29980398089.1)
  • Next Job for on main (#29982158969.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc