{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":278162932,"defaultBranch":"main","name":"django-cloud-tasks","ownerLogin":"flamingo-run","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-07-08T18:16:21.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/75310168?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1723073520.0","currentOid":""},"activityList":{"items":[{"before":"022f343bf14ce21372a531b4f208313791aeea1e","after":"9c620ebd457007453f557f73b8254fb221aa561a","ref":"refs/heads/main","pushedAt":"2024-08-07T23:31:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"feat: allow custom HTTP status codes when using DiscardTaskException\n\nTo prevent a Google Cloud Task from being retried, it is necessary to return a status code in the 200-299 range. The mechanism django_cloud_tasks currently offers for this is raising `DiscardTaskException`, but in this case the status code will always be HTTP 202 (Accepted). When we want to discard a task due to an unrecoverable error, this HTTP status code offers no good semantics. Also, from a monitoring perspective, simply discarding a task (perhaps it is no longer needed - for example: attempting to delete something that has already been deleted) and discarding a task due to an unrecoverable error (for example: the task input is invalid) are two different things, but we have no means to differentiate them if the status code is always the same.\n\nThis PR adds a bit of flexibility, allowing DiscardTaskException to receive an HTTP status code / HTTP status reason phrase as either constructor arguments, or by subclassing it and overriding default_http_status_code / default_http_status_reason.\n\nThis PR won't add a built-in \"UnrecoverableTaskException\" base class because there is no HTTP 2xx status code (even when considering augmented standards) to reflect this scenario, so we will leave it up to each project that uses django-cloud-tasks to configure this setup, as it will be project-specific by definition.","shortMessageHtmlLink":"feat: allow custom HTTP status codes when using DiscardTaskException"}},{"before":"733232a284b2c6a7b2c9a21c9c784d2cce01721d","after":"022f343bf14ce21372a531b4f208313791aeea1e","ref":"refs/heads/main","pushedAt":"2024-07-02T18:34:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"fix: handle config being provided as list","shortMessageHtmlLink":"fix: handle config being provided as list"}},{"before":"8e6df7a7541bb11932688e3c3a77bf941df66b48","after":"733232a284b2c6a7b2c9a21c9c784d2cce01721d","ref":"refs/heads/main","pushedAt":"2024-07-02T13:37:02.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"1a245444c010c93fae6483340ae7bea1ca1ec595","after":null,"ref":"refs/heads/hotfix/calculate-delay-sec","pushedAt":"2024-06-27T17:23:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"}},{"before":"924d127f97a628bf1a86463134223e1c88cdace5","after":"8e6df7a7541bb11932688e3c3a77bf941df66b48","ref":"refs/heads/main","pushedAt":"2024-06-27T17:23:16.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"839735134d52dfe8dcadbe8eb148407f046c927e","after":"1a245444c010c93fae6483340ae7bea1ca1ec595","ref":"refs/heads/hotfix/calculate-delay-sec","pushedAt":"2024-06-27T16:13:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"diegodfreire","name":"Diego Freire","path":"/diegodfreire","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/46574582?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"80c689bb854663de71cb009523c991dfe6d12337","after":"924d127f97a628bf1a86463134223e1c88cdace5","ref":"refs/heads/main","pushedAt":"2024-06-27T14:56:56.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"0380a26f6551671e1bf700984a710833e521c4e3","after":"839735134d52dfe8dcadbe8eb148407f046c927e","ref":"refs/heads/hotfix/calculate-delay-sec","pushedAt":"2024-06-27T14:09:56.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"diegodfreire","name":"Diego Freire","path":"/diegodfreire","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/46574582?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"553cbf6ade77c28161b9465d3a1b118bc88da86e","after":"0380a26f6551671e1bf700984a710833e521c4e3","ref":"refs/heads/hotfix/calculate-delay-sec","pushedAt":"2024-06-27T13:06:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"diegodfreire","name":"Diego Freire","path":"/diegodfreire","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/46574582?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":null,"after":"553cbf6ade77c28161b9465d3a1b118bc88da86e","ref":"refs/heads/hotfix/calculate-delay-sec","pushedAt":"2024-06-27T13:00:07.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"diegodfreire","name":"Diego Freire","path":"/diegodfreire","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/46574582?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"29281d8f2f0f8a4ed39773fcbd8659c89482022a","after":"80c689bb854663de71cb009523c991dfe6d12337","ref":"refs/heads/main","pushedAt":"2024-06-10T12:42:11.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"docs: updated readme","shortMessageHtmlLink":"docs: updated readme"}},{"before":"69b9ee36d6d81697d39cf0eb529ed992a2a3dd49","after":"29281d8f2f0f8a4ed39773fcbd8659c89482022a","ref":"refs/heads/main","pushedAt":"2024-04-22T17:16:38.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"chore: version bump","shortMessageHtmlLink":"chore: version bump"}},{"before":"56e1f80132cc77bcce1255e324bd2263b82625ff","after":"69b9ee36d6d81697d39cf0eb529ed992a2a3dd49","ref":"refs/heads/main","pushedAt":"2024-04-04T18:16:36.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"build: bump version & update dependencies","shortMessageHtmlLink":"build: bump version & update dependencies"}},{"before":"b95a7fd6cb5ea352e72ca3ab57b81c705ca54494","after":"56e1f80132cc77bcce1255e324bd2263b82625ff","ref":"refs/heads/main","pushedAt":"2024-03-14T00:00:47.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"build: update dependencies","shortMessageHtmlLink":"build: update dependencies"}},{"before":"cb51b67563417c69c72039c3b3b0875b1488771d","after":"b95a7fd6cb5ea352e72ca3ab57b81c705ca54494","ref":"refs/heads/main","pushedAt":"2024-03-06T16:44:22.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"bump version","shortMessageHtmlLink":"bump version"}},{"before":"41ee9deefc6ed52d44b1b9c1234e7124f652605a","after":null,"ref":"refs/heads/feature/check-task-route","pushedAt":"2024-03-06T16:44:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"}},{"before":"939fda3dc3f487b6c00699e36eab6bd253a9a07c","after":"41ee9deefc6ed52d44b1b9c1234e7124f652605a","ref":"refs/heads/feature/check-task-route","pushedAt":"2024-03-06T16:35:30.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"bump version","shortMessageHtmlLink":"bump version"}},{"before":null,"after":"939fda3dc3f487b6c00699e36eab6bd253a9a07c","ref":"refs/heads/feature/check-task-route","pushedAt":"2024-03-06T16:30:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"bump version","shortMessageHtmlLink":"bump version"}},{"before":"0351bfd4b1fc099d4b7380e9270c249f818e41b2","after":"cb51b67563417c69c72039c3b3b0875b1488771d","ref":"refs/heads/main","pushedAt":"2024-02-29T19:45:37.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"Incorrect configuration in documentation.\n\nThe prefix in the documentation is incorrect, it is `DJANGO_CLOUD_TASKS_` and not `DJANGO_GOOGLE_CLOUD_TASKS_` as stated.\r\n\r\n\r\nhttps://github.com/flamingo-run/django-cloud-tasks/blob/main/django_cloud_tasks/apps.py#L14C7-L14C7","shortMessageHtmlLink":"Incorrect configuration in documentation."}},{"before":"2918f09e61d1290bf0a65b379fcc7989406094c9","after":null,"ref":"refs/heads/hotfix/discard-pool-thread","pushedAt":"2024-02-29T19:41:11.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"}},{"before":"fbb933a93c281c909ea31be1587328dba4639936","after":"0351bfd4b1fc099d4b7380e9270c249f818e41b2","ref":"refs/heads/main","pushedAt":"2024-02-29T19:41:10.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"99d1a32d4e4b1f712241764281b6be293682887b","after":"2918f09e61d1290bf0a65b379fcc7989406094c9","ref":"refs/heads/hotfix/discard-pool-thread","pushedAt":"2024-02-29T18:45:57.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"9db4fe384984ea3635919bb0633e1d274568f97e","after":"99d1a32d4e4b1f712241764281b6be293682887b","ref":"refs/heads/hotfix/discard-pool-thread","pushedAt":"2024-02-29T17:18:58.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"3bf37d8d8bf64a542060c1746fe86abf3bf0bcfb","after":"9db4fe384984ea3635919bb0633e1d274568f97e","ref":"refs/heads/hotfix/discard-pool-thread","pushedAt":"2024-02-29T14:52:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":null,"after":"3bf37d8d8bf64a542060c1746fe86abf3bf0bcfb","ref":"refs/heads/hotfix/discard-pool-thread","pushedAt":"2024-02-29T13:43:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"lucasgomide","name":"Lucas Gomide","path":"/lucasgomide","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5209129?s=80&v=4"},"commit":{"message":"build: bump version","shortMessageHtmlLink":"build: bump version"}},{"before":"0b2c26e556a643cb1dd4f2559bebb21273b23901","after":"fbb933a93c281c909ea31be1587328dba4639936","ref":"refs/heads/main","pushedAt":"2024-01-26T15:34:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"feat: allow discarding tasks in batch","shortMessageHtmlLink":"feat: allow discarding tasks in batch"}},{"before":"fbedbd971892cea4337c9cc1295d465c73f561bd","after":"0b2c26e556a643cb1dd4f2559bebb21273b23901","ref":"refs/heads/main","pushedAt":"2024-01-16T19:00:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"fix: fix headers context","shortMessageHtmlLink":"fix: fix headers context"}},{"before":"96f66a62290735faaebbbad0f5badd3ad71f9909","after":"fbedbd971892cea4337c9cc1295d465c73f561bd","ref":"refs/heads/main","pushedAt":"2023-12-06T15:32:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"build: fix Python 3.12 and Django 5 support","shortMessageHtmlLink":"build: fix Python 3.12 and Django 5 support"}},{"before":"188045b8b88a8ae4192127c094a6b1c2e5f9b0cb","after":"96f66a62290735faaebbbad0f5badd3ad71f9909","ref":"refs/heads/main","pushedAt":"2023-12-05T20:36:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"},"commit":{"message":"build: add support to Django 5","shortMessageHtmlLink":"build: add support to Django 5"}},{"before":"fbdce85a40f0edcb000ab1532607668fd850ba03","after":null,"ref":"refs/heads/feature/python3-12","pushedAt":"2023-11-23T11:34:19.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"joaodaher","name":"Joao Daher","path":"/joaodaher","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9717144?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0wN1QyMzozMTozMS4wMDAwMDBazwAAAASUsOJ1","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0wN1QyMzozMTozMS4wMDAwMDBazwAAAASUsOJ1","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMS0yM1QxMTozNDoxOS4wMDAwMDBazwAAAAO2CVU8"}},"title":"Activity ยท flamingo-run/django-cloud-tasks"}