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

pkhuong / kismet-cache / 6461524775
99%

Build:
DEFAULT BRANCH: main
Ran 09 Oct 2023 08:45PM UTC
Jobs 1
Files 11
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

09 Oct 2023 08:42PM UTC coverage: 98.924% (+0.07%) from 98.852%
6461524775

push

github

pkhuong
benign_error: small module to handle ESTALE like ENOENT

Most cases where we check for ENOENT, we want to bubble that up like
a non-erroneous cache miss. ESTALE means we thought there was something
there, but that handle (inode) has since disappeared, either because
the file was unlinked or because it was replaced with another.

Either way, it seems simplest to treat such stale filehandles like
missing files.

We don't expect this to happen a lot, except for cleanups: files in the
kismet cache should mostly be write-once (content addressed), until the
cache grows too large and old unused files are reaped to make room. In
that situation, a stale filehandle means the file was deleted, and it's
fine to treat that like ENOENT.

Alternatively, one could also flush the client-side filehandle cache
and retry, but that's more work for marginal benefits.

41 of 41 new or added lines in 4 files covered. (100.0%)

3771 of 3812 relevant lines covered (98.92%)

320.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6461524775.1 09 Oct 2023 08:45PM UTC 0
98.92
GitHub Action Run
Source Files on build 6461524775
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6461524775
  • b3091a1e on github
  • Prev Build on main (#6207687088)
  • Next Build on main (#9688087245)
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