Engineering / ENG-1232
ExpireRequests closed 14 requests after 13 days
Description
After the scheduler moved to the new worker host on Sunday, identity-service:src/Jobs/ExpireRequests.php ran at 01:00 local time and compared created_at (UTC) with a cut-off date built from local time. Requests made on the evening of 17 November were closed on 30 November instead of 1 December.
Steps to reproduce
- App time zone Europe/Berlin, host in UTC.
- Create a request at 23:30 local.
- Run ExpireRequests 13 days later at 01:00 local.
Expected: request stays waiting. Actual: request is closed.
14 requests at 4 clients affected. Nobody is told when a request expires, so no customer noticed; we reopened them. See OPS-23.
Linked issues
- relates to OPS-23 ExpireRequests closed 14 requests a day early Done
Comments (2)
Rafael Duarte · 2 Dec 2025, 08:05 UTC
OK. Worth noting somewhere that expiry tells nobody. Not for now.
Fix: cut-off built in UTC, plus a test pinned to a host in UTC. The 14 requests are back to waiting with their original dates; list in OPS-23.