{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":770734363,"defaultBranch":"master","name":"go-tools","ownerLogin":"paralin","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-03-12T04:06:12.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/534887?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1712272352.0","currentOid":""},"activityList":{"items":[{"before":"ea4efd199cbfa1d9827931825c5c39cf3dcc395f","after":"0d90ebb561421147bd995f1e0d0999b1f128905c","ref":"refs/heads/avoid-cancel-log-spam","pushedAt":"2024-04-04T23:07:49.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"paralin","name":"Christian Stewart","path":"/paralin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/534887?s=80&v=4"},"commit":{"message":"go/packages: correctly handle context canceled\n\nIf the context is canceled for packages.Load, the following log message is\nwritten numerous times to stderr and returned as a load error per-package:\n\ninternal error: error \"context canceled\" (*errors.errorString) without\nposition\n\npackages.Load now checks if the context was canceled while parsing files and\nreturns nil, ctx.Err() if so.\n\nparseFiles now will not create unnecessary goroutines when ctx is canceled.\n\nld.Config.Context is equivalent to ld.Context as Config is an embedded struct\nwithin loader. Use ld.Context to refer to ld.Config.Context for consistency.","shortMessageHtmlLink":"go/packages: correctly handle context canceled"}},{"before":"d42480e56921b68f5498b09ac01b4c0fb044e903","after":"ea4efd199cbfa1d9827931825c5c39cf3dcc395f","ref":"refs/heads/avoid-cancel-log-spam","pushedAt":"2024-03-14T21:44:02.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"paralin","name":"Christian Stewart","path":"/paralin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/534887?s=80&v=4"},"commit":{"message":"go/packages: correctly handle context canceled\n\nIf the context is canceled for packages.Load, the following log message is\nwritten numerous times to stderr and returned as a load error per-package:\n\ninternal error: error \"context canceled\" (*errors.errorString) without\nposition\n\npackages.Load now checks if the context was canceled while parsing files and\nreturns nil, ctx.Err() if so.\n\nparseFiles now will not create unnecessary goroutines when ctx is canceled.\n\nld.Config.Context is equivalent to ld.Context as Config is an embedded struct\nwithin loader. Use ld.Context to refer to ld.Config.Context for consistency.","shortMessageHtmlLink":"go/packages: correctly handle context canceled"}},{"before":"7043adbf2fa72b7432fa3786b792ffd95f310387","after":"d42480e56921b68f5498b09ac01b4c0fb044e903","ref":"refs/heads/avoid-cancel-log-spam","pushedAt":"2024-03-14T21:39:00.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"paralin","name":"Christian Stewart","path":"/paralin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/534887?s=80&v=4"},"commit":{"message":"go/packages: correctly handle context canceled\n\nIf the context is canceled for packages.Load, the following log message is\nwritten numerous times to stderr and returned as a load error per-package:\n\ninternal error: error \"context canceled\" (*errors.errorString) without\nposition\n\nCheck if the context was canceled and return nil, ctx.Err() instead.\n\nld.Config.Context is equivalent to ld.Context as Config is an embedded struct\nwithin loader. Use ld.Context to refer to ld.Config.Context (for consistency).\n\nSigned-off-by: Christian Stewart ","shortMessageHtmlLink":"go/packages: correctly handle context canceled"}},{"before":"96ea3e49852ff1c50144c2981f7b675a155f0be3","after":"7043adbf2fa72b7432fa3786b792ffd95f310387","ref":"refs/heads/avoid-cancel-log-spam","pushedAt":"2024-03-13T20:27:28.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"paralin","name":"Christian Stewart","path":"/paralin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/534887?s=80&v=4"},"commit":{"message":"go/packages: correctly handle context canceled\n\nIf the context is canceled for packages.Load, the following log message is\nwritten numerous times to stderr and returned as a load error per-package:\n\ninternal error: error \"context canceled\" (*errors.errorString) without\nposition\n\nCheck if the context was canceled and return nil, ctx.Err() instead.\n\nUse ld.Context which is ld.Config.Context if non-nil and otherwise defaults to\ncontext.Background to avoid nil references on ld.Config.Context.\n\nSigned-off-by: Christian Stewart ","shortMessageHtmlLink":"go/packages: correctly handle context canceled"}},{"before":null,"after":"96ea3e49852ff1c50144c2981f7b675a155f0be3","ref":"refs/heads/avoid-cancel-log-spam","pushedAt":"2024-03-12T04:06:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"paralin","name":"Christian Stewart","path":"/paralin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/534887?s=80&v=4"},"commit":{"message":"go/packages: avoid logging context canceled error\n\nIf the context is canceled for packages.Load, the following log message is\nwritten numerous times (spammed) to stderr:\n\ninternal error: error \"context canceled\" (*errors.errorString) without position\n\nCheck if the error is context.Canceled and don't log it if so.\n\nThe error will still be recorded in lpkg.Errors.\n\nSigned-off-by: Christian Stewart ","shortMessageHtmlLink":"go/packages: avoid logging context canceled error"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEKFEz2wA","startCursor":null,"endCursor":null}},"title":"Activity ยท paralin/go-tools"}