Open gdacal opened 4 months ago
There is one validation that mark as failed all the jobs that has been running for more that 6 hours in "failed state" in this part of the code:
And the validation to check previous jobs in some specific status.
Not really sure why your job was in pending state after 24 hours.
@alfespa17 it's likely that the create time is created from UI following the timezone from user's session however the expiry time is calculated from the server which might be configured to use UTC.
I am also experiencing this issue in a GMT+12 time zone, wondering whether the token follows a similar calculation method.
Bug description 🐞
After leaving a 'apply waiting for approval' yesterday, it caused the job to fail but it remained in a pending state indefinitely. To try to solve the problem, an attempt was made to cancel it but the button did not trigger any action, so information was sought on the web. It was decided to install the psql client in the Terrakube database. The public.job table was reviewed to check the status of job 246.
The job was indeed in a pending state, so it was decided to change it to canceled with the following query:
Steps to reproduce
Expected behavior
No response
Example repository
No response
Anything else?
No response