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

basilisp-lang / basilisp / 7216198757 / 1
99%
main: 99%

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

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 %.

7723 of 7804 relevant lines covered (98.96%)

0.99 hits per line

Source Files on job 7216198757.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 7216198757
  • ebfa81ba on github
  • Prev Job for on main (#7216041478.1)
  • Next Job for on main (#7303851603.1)
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