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

umputun / remark42 / 28548070647
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: deps/rest-v1.22.0
DEFAULT BRANCH: master
Ran 01 Jul 2026 09:14PM 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

01 Jul 2026 09:11PM UTC coverage: 84.406% (-0.03%) from 84.435%
28548070647

Pull #2105

github

paskal
feat(api): adopt enforcing rest.Timeout, drop local cooperative timeout

go-pkgz/rest v1.22.0 ships an enforcing Timeout middleware (net/http.TimeoutHandler
style): it runs the handler with a deadline and returns 504 at the deadline even if
the handler ignores the context - unlike the local cooperative timeout, which only
cancelled the context and never actually stopped a stuck handler.

Replace the local timeout with rest.Timeout on every route with a bounded response.
The streaming and long-polling routes are deliberately left without it, since the
enforcing timeout buffers the whole response in memory and aborts at the deadline:
- GET /api/v1/userdata and GET /api/v1/admin/export stream gzipped exports
- GET /api/v1/admin/wait long-polls for up to 15m
- POST /api/v1/admin/import[/form] and /remap ingest large uploads

Delete the local timeout middleware and its test; the enforcing behaviour is covered
by go-pkgz/rest. TestRouteTimeout locks the enforcing-vs-exempt contract in this build.
Pull Request #2105: adopt go-pkgz/rest v1.22.0: CORS Vary + enforcing Timeout, drop local reimplementations

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

6398 of 7580 relevant lines covered (84.41%)

36.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28548070647.1 01 Jul 2026 09:14PM UTC 53
84.41
GitHub Action Run
Source Files on build 28548070647
  • Tree
  • List 53
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2105
  • PR Base - master (#28544463906)
  • 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