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

source-academy / py-slang / 45991787669
88%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2026 11:50AM UTC
Jobs 1
Files 225
Run time 1min
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

27 Nov 2026 11:35AM UTC coverage: 88.328% (+0.2%) from 88.116%
45991787669

push

github

web-flow
Node 24, and tsconfig lib is ES2022, which the code already needs (#674)

* tsconfig: lib is ES2022, which is what the code uses

The code uses Array.prototype.at (20 places), an ES2022 method, while lib said ES2020. It compiled only
because @types/node 18 declared 'at' on Array; newer type packages do not.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Node 24

.node-version is 24 and the three workflows read it (they said 22); package.json says engines node
>=24; @types/node is ^24 (it was ^18.19.84); the README says Node 24. Follows the Node.js version page
of the documentation repository.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* WASM modules: check the arguments of a module call, and let a callback take any number

Found by moving CI to Node 24, whose V8 has JSPI: the tests of the module-call path had only ever run
their no-JSPI branch (Node 22). With JSPI four failed, for three reasons.

- The callback that stands for a Python closure was declared with no arguments and not vararg, so a
  module's checked closure_call rejected it ("Expected 0 arguments, got 3"). It is now vararg; the
  wasm side checks the arity itself.
- modules.call used the unchecked closure_call_unchecked, which lets through a wrong number of
  arguments and an argument of the wrong type. It now makes the checked call, as the CSE, PVML and
  py2js engines do.
- Three tests expected "7" and "6" where a module's number is a float, "7.0" and "6.0", since
  #332; the test of double() already said "42.0".

A test for the wrong number of arguments is new. moduleInterop takes the GenericDataHandler that
every caller already passes, for closure_make's vararg flag.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

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

7731 of 9230 branches covered (83.76%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

16076 of 17723 relevant lines covered (90.71%)

255269.16 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
92.0
0.8% src/engines/wasm/index.ts
Jobs
ID Job ID Ran Files Coverage
1 45991787669.1 27 Nov 2026 11:50AM UTC 225
88.33
GitHub Action Run
Source Files on build 45991787669
  • Tree
  • List 225
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45991787669
  • 04d21609 on github
  • Prev Build on main (#45986547483)
  • Next Build on main (#45996727610)
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