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

sovrin / unitas / 34028735585
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: sovrin/offset-errors
DEFAULT BRANCH: master
Ran 06 Sep 2026 10:55AM UTC
Jobs 1
Files 126
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

06 Sep 2026 10:47AM UTC coverage: 100.0%. Remained the same
34028735585

Pull #1

github

sovrin
refactor(combinators): drop attempt, document that backtracking is free

attempt claimed to "wrap a parser to handle backtracking on failure",
but it cannot: a Failure is { ok: false; error?: string }, with no field
to record a position, and combinators hand every alternative the same
input string they started with. sequence discards its local remaining
and returns a bare failure(). Since create is itself the identity
function, attempt(p) was one extra closure around p and nothing else.

It was not accidentally a no-op — it is un-implementable in this design
without changing the Failure type. Its own test, "should backtrack on
failure", only asserted that a failing parser fails, which holds for any
parser at all.

Keeping it as a documented no-op would be the worse option: someone
arriving from Parsec writes attempt(p) expecting it to change behaviour
and silently gets nothing. Remove it and explain the actual guarantee in
the README's core concepts, which is where they will look for try.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #1: Split API reference out of README, fix npm listing, drop two no-op exports

202 of 202 branches covered (100.0%)

Branch coverage included in aggregate %.

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

636 of 636 relevant lines covered (100.0%)

32.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34028735585.1 06 Sep 2026 10:55AM UTC 126
100.0
GitHub Action Run
Source Files on build 34028735585
  • Tree
  • List 126
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #1
  • PR Base - master (#25281228913)
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