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

basilisp-lang / basilisp / 7216198757
99%

Build:
DEFAULT BRANCH: main
Ran 15 Dec 2023 12:31AM UTC
Jobs 1
Files 42
Run time 17s
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

15 Dec 2023 12:20AM UTC coverage: 99.122%. Remained the same
7216198757

push

github

web-flow
Fix issue with `readerwritelock` usage in basilisp (#722) (#731)

Hi,

could you please review patch to fix what it seems to be a potential
issue with how readwrite locks are used in basilisp. It addresses #722.

This was discovered while testing of the upcoming nrepl-server described
in #723. The nrepl-server tests which are using threads were failing due
to trying to release an rlock which has been already released, and is
fixed as described in #722 by using `with self._lock.gen_rlock()`
instead of a single instance of `with self._rlock()`. The error was
```
    File "/home/runner/work/basilisp/basilisp/.tox/py39/lib/python3.9/site-packages/basilisp/lang/runtime.py", line 706, in find
    return v
   File "/home/runner/work/basilisp/basilisp/.tox/py39/lib/python3.9/site-packages/readerwriterlock/rwlock.py", line 49, in __exit__
    self.release()
   File "/home/runner/work/basilisp/basilisp/.tox/py39/lib/python3.9/site-packages/readerwriterlock/rwlock.py", line 344, in release
    if not self.v_locked: raise RELEASE_ERR_CLS(RELEASE_ERR_MSG)
 RuntimeError: release unlocked lock
```

Thanks

Co-authored-by: ikappaki <ikappaki@users.noreply.github.com>

1644 of 1646 branches covered (0.0%)

Branch coverage included in aggregate %.

35 of 35 new or added lines in 3 files covered. (100.0%)

7723 of 7804 relevant lines covered (98.96%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7216198757.1 15 Dec 2023 12:31AM UTC 0
99.12
GitHub Action Run
Source Files on build 7216198757
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7216198757
  • ebfa81ba on github
  • Prev Build on main (#7216041478)
  • Next Build on main (#7303851603)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc