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

umputun / remark42 / 28794117005
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: fix/tree-limit-tests
DEFAULT BRANCH: master
Ran 06 Jul 2026 01:15PM UTC
Jobs 1
Files 53
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 Jul 2026 01:08PM UTC coverage: 84.562% (+0.03%) from 84.535%
28794117005

Pull #2124

github

paskal
Return 400 for export of an unknown site

exportCtrl mapped every export failure to 500 Internal Server Error, so
requesting a backup for a non-existent site (e.g. wrong -s/--site) came
back as a misleading 500 instead of a client error — inconsistent with
the rest of the admin/public API, which returns 400 + ErrSiteNotFound
for site-lookup failures.

Add an engine.ErrSiteNotFound sentinel (wrapped at the bolt db-lookup so
the existing "site %q not found" message is unchanged) and map it to 400
+ rest.ErrSiteNotFound in exportCtrl; genuine internal failures (gzip
close/write) still return 500.
Pull Request #2124: Return 400 for export of an unknown site

9 of 10 new or added lines in 2 files covered. (90.0%)

6480 of 7663 relevant lines covered (84.56%)

36.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
69.81
1.52% backend/app/rest/api/migrator.go
Jobs
ID Job ID Ran Files Coverage
1 28794117005.1 06 Jul 2026 01:15PM UTC 53
84.56
GitHub Action Run
Source Files on build 28794117005
  • Tree
  • List 53
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2124
  • PR Base - master (#28757531875)
  • Delete
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