Skip to content

Initial implementation#1

Merged
vearutop merged 6 commits intomasterfrom
initial
May 7, 2026
Merged

Initial implementation#1
vearutop merged 6 commits intomasterfrom
initial

Conversation

@vearutop
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 2 (+2) 757 (+757) 534 (+534) 51 (+51) 172 (+172) 116 (+116) 17.3K (+17.3K)
Go (test) 4 (+3) 121 (+118) 99 (+97) 0 22 (+21) 15 (+15) 2.4K (+2.3K)
License 1 21 17 0 4 0 1.1K (+13B)
Makefile 1 43 (+4) 31 (+3) 4 8 (+1) 2 1.3K (+98B)
Markdown 5 (+4) 71 (+54) 53 (+41) 0 18 (+13) 0 2K (+1.1K)
Shell 0 (-1) 0 (-27) 0 (-17) 0 (-2) 0 (-8) 0 0B (-814B)
YAML 6 396 (-1) 342 (-5) 19 (-12) 35 (+16) 0 12K (-1K)

@github-actions
Copy link
Copy Markdown

Go API Changes

gorelease: could not find base version. Consider setting -version=v0.1.0 if this is a first release, or explicitly set -base=none: could not load versions for github.com/bool64/throttle: go: module github.com/bool64/throttle: git ls-remote -q --end-of-options https://github.com/bool64/throttle in /home/runner/go/pkg/mod/cache/vcs/0a4700f736535dec1b11eac3c7125234f470354af0c255809bd73871a3b224b6: exit status 128:
	fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Unit Test Coverage

total: (statements) 34.3%
changed lines: (statements) 34.3%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines
File Function Coverage
Total 34.3%
cmd/crawler/main.go 0.0%
cmd/crawler/main.go:29 main 0.0%
cmd/crawler/main.go:302 StatusesString 0.0%
cmd/crawler/main.go:333 printfLen 0.0%
throttle.go 73.5%
throttle.go:191 Acquire 100.0%
throttle.go:267 slower 100.0%
throttle.go:303 faster 96.8%
throttle.go:104 NewThrottle 96.6%
throttle.go:208 Release 92.3%
throttle.go:349 updateRateLimiter 89.7%
throttle.go:380 Latency 71.4%
throttle.go:221 runFeedbackCycle 37.4%
throttle.go:172 Go 0.0%
throttle.go:375 InProgress 0.0%
throttle.go:389 LatencyHistogram 0.0%
throttle.go:394 Concurrency 0.0%
throttle.go:399 FailedPercent 0.0%
throttle.go:404 WaitInProgress 0.0%
Coverage diff with base branch
File Function Base Coverage Current Coverage
Total 0.0% 34.3% (+34.3%)
cmd/crawler/main.go StatusesString no function 0.0%
cmd/crawler/main.go main no function 0.0%
cmd/crawler/main.go printfLen no function 0.0%
throttle.go Acquire no function 100.0%
throttle.go Concurrency no function 0.0%
throttle.go FailedPercent no function 0.0%
throttle.go Go no function 0.0%
throttle.go InProgress no function 0.0%
throttle.go Latency no function 66.7%
throttle.go LatencyHistogram no function 0.0%
throttle.go NewThrottle no function 91.4%
throttle.go Release no function 85.7%
throttle.go WaitInProgress no function 0.0%
throttle.go faster no function 95.8%
throttle.go runFeedbackCycle no function 43.5%
throttle.go slower no function 100.0%
throttle.go updateRateLimiter no function 85.7%

@vearutop vearutop merged commit 10dfe57 into master May 7, 2026
5 checks passed
@vearutop vearutop deleted the initial branch May 7, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant