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

uber / cadence / 018facb1-f3f4-434f-82b7-7bfae9501789
72%

Build:
DEFAULT BRANCH: master
Ran 24 May 2024 10:45PM UTC
Jobs 1
Files 716
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

24 May 2024 10:21PM UTC coverage: 69.506% (+0.03%) from 69.48%
018facb1-f3f4-434f-82b7-7bfae9501789

push

buildkite

web-flow
Global ratelimiter helper: usage-tracking fallback-capable rate.Limiter (#6028)

This commit largely exists to break this out for separate review, as it's relatively simple and isolated.

In a later PR, this will be used by the "limiter"-side logic to track and enforce usage of a ratelimit.  At a high level it does only a couple things:

1. Tracks calls to `Allow() bool` so we can find out how much a limit is actually used (so we can distribute the allowances fairly)
2. Updates ratelimit rates when requested
3. Automatically falls back to different ratelimit if the system seems unhealthy

^ all of which is done in an atomic-like way so concurrent operations do not block each other, as true precision is not necessary.  It only has to be "good enough", and performance is more important than precision.

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

38 existing lines in 8 files now uncovered.

102507 of 147479 relevant lines covered (69.51%)

2551.35 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
89.05
0.0% common/task/weighted_round_robin_task_scheduler.go
2
72.72
-0.13% service/history/task/transfer_active_task_executor.go
3
96.2
-0.19% service/history/handler/handler.go
4
62.26
-0.12% service/frontend/api/handler.go
4
66.67
-1.55% service/frontend/wrappers/metered/metered.go
6
85.05
-1.55% service/history/task/fetcher.go
8
80.79
-2.44% service/history/task/cross_cluster_task_processor.go
9
74.16
-5.06% service/history/engine/engineimpl/poll_mutable_state.go
Jobs
ID Job ID Ran Files Coverage
1 018facb1-f3f4-434f-82b7-7bfae9501789.1 24 May 2024 10:45PM UTC 716
69.51
Source Files on build 018facb1-f3f4-434f-82b7-7bfae9501789
  • Tree
  • List 716
  • Changed 296
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0aac302e on github
  • Prev Build on master (#018FAADD...)
  • Next Build on master (#018FACB4...)
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