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

go-pkgz / syncs
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.3.4
DEFAULT BRANCH: master
Repo Added 08 Oct 2018 06:27PM UTC
Files 4
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

LAST BUILD ON BRANCH refs/tags/v1.3.4
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • ctx-cancel-queued
  • discard-mode
  • fix-ci-caching
  • fix-errsizedgroup-race
  • fix-queued-termination
  • master
  • modernize-and-deps
  • rbac
  • refs/tags/v0.10.4
  • refs/tags/v1.2.0
  • refs/tags/v1.3.0
  • refs/tags/v1.3.1
  • refs/tags/v1.3.3
  • refs/tags/v1.3.4
  • v1.0.0
  • v1.1.0
  • v1.1.1

03 Oct 2026 05:26PM UTC coverage: 98.93%. First build
37140564891

push

github

umputun
Release the semaphore permit when SizedGroup skips a canceled preemptive call

With Preemptive the permit is taken in Go before the goroutine starts. When
the goroutine then found the context canceled it returned without unlocking,
so each such call took one permit away from the group for good. The unlock is
now deferred and covers the skip path as well as the normal one.

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

185 of 187 relevant lines covered (98.93%)

2082.57 hits per line

Relevant lines Covered
Build:
Build:
187 RELEVANT LINES 185 COVERED LINES
2082.57 HITS PER LINE
Source Files on master
  • Tree
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
37140564891 refs/tags/v1.3.4 Release the semaphore permit when SizedGroup skips a canceled preemptive call With Preemptive the permit is taken in Go before the goroutine starts. When the goroutine then found the context canceled it returned without unlocking, so each such ca... push 03 Oct 2026 05:27PM UTC umputun github
98.93
37140497299 master Release the semaphore permit when SizedGroup skips a canceled preemptive call With Preemptive the permit is taken in Go before the goroutine starts. When the goroutine then found the context canceled it returned without unlocking, so each such ca... push 03 Oct 2026 05:26PM UTC umputun github
98.93
37140236136 ctx-cancel-queued Release the semaphore permit when SizedGroup skips a canceled preemptive call With Preemptive the permit is taken in Go before the goroutine starts. When the goroutine then found the context canceled it returned without unlocking, so each such ca... Pull #18 03 Oct 2026 05:22PM UTC umputun github
98.93
37140063376 ctx-cancel-queued Skip queued callbacks in ErrSizedGroup after context cancellation Cancellation was checked only on entry to Go, so callbacks already waiting for a semaphore permit still ran after the group's context was canceled and Wait returned nil. The check ... Pull #18 03 Oct 2026 05:19PM UTC umputun github
98.9
37139997980 ctx-cancel-queued Skip queued callbacks in ErrSizedGroup after context cancellation Cancellation was checked only on entry to Go, so callbacks already waiting for a semaphore permit still ran after the group's context was canceled and Wait returned nil. The check ... push 03 Oct 2026 05:18PM UTC umputun github
98.9
37139673681 master Skip queued callbacks after a group error push 03 Oct 2026 05:13PM UTC umputun github
98.87
37111638545 fix-queued-termination Skip queued callbacks after a group error Pull #17 03 Oct 2026 05:11PM UTC bensynapse github
98.87
32208597699 refs/tags/v1.3.3 Update dependencies, run go fix and support errors.Is on MultiError (#15) * Update dependencies and CI actions Bump testify to v1.12.0 and move the workflow to checkout@v7, setup-go@v7 and golangci-lint-action@v9. Push branch and tag filters spe... push 19 Aug 2026 02:27AM UTC web-flow github
98.87
32195442881 master Update dependencies, run go fix and support errors.Is on MultiError (#15) * Update dependencies and CI actions Bump testify to v1.12.0 and move the workflow to checkout@v7, setup-go@v7 and golangci-lint-action@v9. Push branch and tag filters spe... push 18 Aug 2026 11:03PM UTC web-flow github
98.87
32195109274 master Fix data race on error recording in ErrSizedGroup (#14) * Fix data race on error recording in ErrSizedGroup Previously, a worker stored the result of g.err.append(err) back into g.err while a canceled Go call read the same field outside the lock... push 18 Aug 2026 10:58PM UTC web-flow github
98.84
See All Builds (69)
  • Repo on GitHub
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