Skip to content

Release domains task not working #451

@domwhewell-sage

Description

@domwhewell-sage

Describe the bug
I have the release domains task scheduled to run daily, but a checked out domain for a project that has completed is not being released.
Looking at the task status it says it was successful and this is the result {'errors': {}, 16: {'domain': '<redacted>', 'release_date': datetime.date(2024, 5, 17), 'change': 'released'}}
However this is it in ghostwriter
image
These are the logs from the latest run in django-queue

10:30:13 [Q] INFO Process-1 created a task from schedule [Release Checked out Domains]
INFO 2024-06-09 10:30:13,078 tasks 19 139795110296392 Starting domain release task at 2024-06-09 10:30:13.078433
WARNING 2024-06-09 10:30:13,088 tasks 19 139795110296392 The domain <redacted> is marked for release
INFO 2024-06-09 10:30:13,088 tasks 19 139795110296392 Releasing <redacted> back into the pool.
10:30:13 [Q] INFO Processed [pennsylvania-river-helium-autumn]
INFO 2024-06-09 10:30:14,326 tasks 19 139795110296392 Domain release task completed at 2024-06-09 10:30:14.326298

To Reproduce
Steps to reproduce the behavior:

  1. Schedule a release domains task to run daily
  2. Check out a domain for a project
  3. Complete the project and let the end date pass
  4. See the release domains task run with no errors yet the domain status does not change to Available

Expected Behavior
Domain is changed to available

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions