{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":45226685,"defaultBranch":"master","name":"sync","ownerLogin":"golang","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2015-10-30T03:22:24.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/4314092?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1712243056.0","currentOid":""},"activityList":{"items":[{"before":"59c1ca1e4661ed4452be4069ceea3c233f4deec1","after":"14be23e5b48bec28285f8a694875175ecacfddb3","ref":"refs/heads/master","pushedAt":"2024-03-04T17:26:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"semaphore: cancel acquisition with a done context\n\nWhen acquiring from a semaphore could proceed without contention, the\nprevious behavior was to always do so, even when the provided context\nwas done. This was the documented behavior, but it could lead to\nconfusion. It isn't much more expensive to check the context error, so\ncancel acquisition if it's done.\n\nFixes golang/go#63615.\n\ngoos: linux\ngoarch: amd64\npkg: golang.org/x/sync/semaphore\ncpu: 12th Gen Intel(R) Core(TM) i5-1235U\n │ old.bench │ new.bench │\n │ sec/op │ sec/op vs base │\nAcquireSeq/Weighted-acquire-1-1-1-12 26.45n ± 2% 27.25n ± 3% +3.04% (p=0.001 n=20)\nAcquireSeq/Weighted-acquire-2-1-1-12 26.96n ± 1% 27.12n ± 1% ~ (p=0.104 n=20)\nAcquireSeq/Weighted-acquire-16-1-1-12 26.07n ± 3% 27.48n ± 1% +5.45% (p=0.000 n=20)\nAcquireSeq/Weighted-acquire-128-1-1-12 26.19n ± 2% 27.24n ± 1% +4.01% (p=0.000 n=20)\nAcquireSeq/Weighted-acquire-2-2-1-12 25.61n ± 1% 25.99n ± 2% ~ (p=0.066 n=20)\nAcquireSeq/Weighted-acquire-16-2-8-12 209.6n ± 2% 211.0n ± 3% ~ (p=0.280 n=20)\nAcquireSeq/Weighted-acquire-128-2-64-12 1.669µ ± 1% 1.721µ ± 2% +3.09% (p=0.000 n=20)\nAcquireSeq/Weighted-acquire-2-1-2-12 51.08n ± 1% 53.03n ± 2% +3.82% (p=0.000 n=20)\nAcquireSeq/Weighted-acquire-16-8-2-12 52.48n ± 2% 53.66n ± 2% +2.26% (p=0.028 n=20)\nAcquireSeq/Weighted-acquire-128-64-2-12 52.27n ± 1% 53.71n ± 2% +2.75% (p=0.000 n=20)\ngeomean 60.06n 61.69n +2.71%\n\nChange-Id: I0ae1a0bb6c027461ac1a9ee71c51efd8427ab308\nReviewed-on: https://go-review.googlesource.com/c/sync/+/536275\nAuto-Submit: Bryan Mills \nReviewed-by: Bryan Mills \nReviewed-by: Michael Knyszek \nLUCI-TryBot-Result: Go LUCI ","shortMessageHtmlLink":"semaphore: cancel acquisition with a done context"}},{"before":"10739b037d369c748d671b216356d7e04ce68da1","after":"59c1ca1e4661ed4452be4069ceea3c233f4deec1","ref":"refs/heads/master","pushedAt":"2023-12-07T16:58:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"errgroup: add reference to sync.WaitGroup\n\nAdd doc link to sync.WaitGroup in the package documentation.\n\nRationale:\nThe reference to sync.WaitGroup might be obvious to the authors of this\npackage, but it wasn't to me, so despites I had seen this package\nmultiple times I had never made the link to sync.WaitGroup. So when\nplaying with WaitGroup I was missing remembering about errgroup.\nIn hope this will help others as well as my future self.\n\nChange-Id: I2c56976958ad9ab94c1596c96fa86c00dd73d2fb\nReviewed-on: https://go-review.googlesource.com/c/sync/+/538335\nReviewed-by: Bryan Mills \nReviewed-by: Carlos Amedee \nAuto-Submit: Bryan Mills \nLUCI-TryBot-Result: Go LUCI ","shortMessageHtmlLink":"errgroup: add reference to sync.WaitGroup"}},{"before":"22ba2078e183beec12908ea94f1d899c53dbf02c","after":"10739b037d369c748d671b216356d7e04ce68da1","ref":"refs/heads/master","pushedAt":"2023-10-11T14:04:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"all: update go directive to 1.18\n\nDone with:\n\ngo get go@1.18\ngo mod tidy\ngo fix ./...\n\nUsing go1.21.3.\n\nWhile here, simplify package syncmap by taking advantage of knowing\nthat all supported Go versions will have the go1.9 build constraint\nsatisfied.\n\nFor golang/go#60268.\n\nChange-Id: Ic0f24ab13ada6839573e55beee5516c1a6c7f3cc\nReviewed-on: https://go-review.googlesource.com/c/sync/+/534220\nAuto-Submit: Dmitri Shuralyov \nReviewed-by: Ian Lance Taylor \nLUCI-TryBot-Result: Go LUCI \nReviewed-by: Dmitri Shuralyov ","shortMessageHtmlLink":"all: update go directive to 1.18"}},{"before":"93782cc822b6b554cb7df40332fd010f0473cbc8","after":"22ba2078e183beec12908ea94f1d899c53dbf02c","ref":"refs/heads/master","pushedAt":"2023-09-26T16:46:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"singleflight: add panicError.Unwrap method\n\nCurrently when singleflight recovers from a panic, it wraps it with the private\nerror type panicError. This change adds an `Unwrap` method to panicError to\nallow wrapped errors to be returned.\n\nUpdates golang/go#62511\n\nChange-Id: Ia510ad7d5881207ef71f9eb89c1766835af19b6b\nReviewed-on: https://go-review.googlesource.com/c/sync/+/526171\nAuto-Submit: Bryan Mills \nReviewed-by: Than McIntosh \nReviewed-by: Bryan Mills \nLUCI-TryBot-Result: Go LUCI ","shortMessageHtmlLink":"singleflight: add panicError.Unwrap method"}},{"before":null,"after":"93782cc822b6b554cb7df40332fd010f0473cbc8","ref":"refs/heads/internal-branch.go1.21-vendor","pushedAt":"2023-06-14T17:54:40.655Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"errgroup: use WithCancelCause to cancel context\n\nFixes golang/go#59355\n\nChange-Id: Ib6a88e7e5fefe7b0d5672035af16d109aabcbf1e\nReviewed-on: https://go-review.googlesource.com/c/sync/+/481255\nTryBot-Result: Gopher Robot \nRun-TryBot: Bryan Mills \nReviewed-by: Bryan Mills \nRun-TryBot: Ian Lance Taylor \nReviewed-by: Michael Knyszek \nAuto-Submit: Bryan Mills ","shortMessageHtmlLink":"errgroup: use WithCancelCause to cancel context"}},{"before":"4966af63bb0cd2fe6d8cf9198904d30401b05fbd","after":"93782cc822b6b554cb7df40332fd010f0473cbc8","ref":"refs/heads/master","pushedAt":"2023-06-01T20:35:15.007Z","pushType":"push","commitsCount":1,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"errgroup: use WithCancelCause to cancel context\n\nFixes golang/go#59355\n\nChange-Id: Ib6a88e7e5fefe7b0d5672035af16d109aabcbf1e\nReviewed-on: https://go-review.googlesource.com/c/sync/+/481255\nTryBot-Result: Gopher Robot \nRun-TryBot: Bryan Mills \nReviewed-by: Bryan Mills \nRun-TryBot: Ian Lance Taylor \nReviewed-by: Michael Knyszek \nAuto-Submit: Bryan Mills ","shortMessageHtmlLink":"errgroup: use WithCancelCause to cancel context"}},{"before":"a6666c150eb9762365996ad2f3a8c35b0818d7bb","after":"4966af63bb0cd2fe6d8cf9198904d30401b05fbd","ref":"refs/heads/master","pushedAt":"2023-05-23T18:54:43.685Z","pushType":"push","commitsCount":1,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"singleflight: example for using Group\n\nFixes golang/go#60208\n\nChange-Id: I422a45c0f139ba47045f47cec1c96d300a2a424f\nReviewed-on: https://go-review.googlesource.com/c/sync/+/496535\nRun-TryBot: Bryan Mills \nAuto-Submit: Bryan Mills \nTryBot-Result: Gopher Robot \nReviewed-by: Ian Lance Taylor \nReviewed-by: Bryan Mills ","shortMessageHtmlLink":"singleflight: example for using Group"}},{"before":"1ea32573ddff2d374504dcc8102328ea790af85f","after":"a6666c150eb9762365996ad2f3a8c35b0818d7bb","ref":"refs/heads/master","pushedAt":"2023-05-17T13:21:14.118Z","pushType":"push","commitsCount":1,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"go.mod: upgrade to go 1.17\n\nThis change was produced using 'go mod tidy -go=1.17'\nwith a go command built at CL 315210.\n\nThis activates lazy loading, and updates the go.mod file to maintain\nthe lazy-loading invariants (namely, including an explicit requirement\nfor every package transitively imported by the main module).\n\nNote that this does *not* prevent users with earlier go versions from\nsuccessfully building packages from this module.\n\nFor golang/go#36460.\n\nChange-Id: Idb3d8d056d41bb254d0b5d9b2699ac33a51081f3\nReviewed-on: https://go-review.googlesource.com/c/sync/+/316130\nAuto-Submit: Bryan Mills \nCommit-Queue: Bryan Mills \nTryBot-Result: Gopher Robot \nReviewed-by: Jonathan Amsterdam \nRun-TryBot: Bryan Mills ","shortMessageHtmlLink":"go.mod: upgrade to go 1.17"}},{"before":"8fcdb60fdcc0539c5e357b2308249e4e752147f1","after":"1ea32573ddff2d374504dcc8102328ea790af85f","ref":"refs/heads/master","pushedAt":"2023-04-19T16:12:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"gopherbot","name":"GopherBot","path":"/gopherbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8566911?s=80&v=4"},"commit":{"message":"singleflight: make the check for exec support in TestPanicDoChan platform-agnostic\n\nThe new wasip1 GOOS does not support exec, but some ios environments\n(like Corellium) might. Update the test to exec itself with -test.list\nas a control case.\n\nFor golang/go#58141.\n\nChange-Id: Id69950fc394910620f6c73cb437ca75c09ad8c29\nReviewed-on: https://go-review.googlesource.com/c/sync/+/485980\nRun-TryBot: Bryan Mills \nCommit-Queue: Bryan Mills \nReviewed-by: Dmitri Shuralyov \nAuto-Submit: Bryan Mills \nReviewed-by: Johan Brandhorst-Satzkorn \nTryBot-Result: Gopher Robot \nReviewed-by: Dmitri Shuralyov ","shortMessageHtmlLink":"singleflight: make the check for exec support in TestPanicDoChan plat…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEDAIYhAA","startCursor":null,"endCursor":null}},"title":"Activity · golang/sync"}