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

yylego / kratos-fast-timeout / 42891335085
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.3
DEFAULT BRANCH: main
Ran 10 Nov 2026 08:03PM UTC
Jobs 3
Files 1
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

10 Nov 2026 07:59PM UTC coverage: 100.0% (+100.0%) from 0.0%
42891335085

push

github

yyle88
Check the timeout at startup and drop the debug switch and span hooks

- NewMiddleware panics when the fast timeout is not above zero, since each matched request would then time out at once
- Drop WithDebugMode: each match is a slog Debug record, and the slog setup decides if it shows
- Drop WithNewSpanHook, since the tracing middleware that Kratos ships covers request tracing
- Add tests on the matched route, the excluded route, a tight upstream deadline and a zero timeout
- Explain in the README how EXCLUDE gives a few slow routes more time
- Require Go 1.26 to match the current grpc, and bump the dependencies
- Align .gitignore, the release workflow and the README template blocks with the current templates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

10 of 10 new or added lines in 1 file covered. (100.0%)

33 of 33 relevant lines covered (100.0%)

7.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.26.x - 42891335085.1 10 Nov 2026 08:03PM UTC 1
100.0
GitHub Action Run
2 Go-1.27.x - 42891335085.2 10 Nov 2026 08:03PM UTC 1
100.0
GitHub Action Run
3 Go-stable - 42891335085.3 10 Nov 2026 08:03PM UTC 1
100.0
GitHub Action Run
Source Files on build 42891335085
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a4cdef1e on github
  • Prev Build on refs/tags/v0.0.1 (#28314027663)
  • Delete
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