Errors in server logs checking for long running jobs

Every 10 minutes, I’m seeing an error like this in my latest deployment:

[ERROR] Failed to query long-running queries
Traceback (most recent call last):
  File "/storage/langgraph_runtime_postgres/long_query_monitor.py", line 159, in _get_long_running_queries
AttributeError: 'NoneType' object has no attribute 'execute'

In previous deployments, I would see this INFO message at 2 minute intervals. But I am not seeing this in the deployment that has the error log above:

[INFO] Sweep runs: no runs with status='running'

I’ve done a far amount of searching, but I’ve been unable to find anything under my control that might be causing this error, nor anything that I could do to fixprevent it.

Deployment ID b63df5be-14a7-45f6-aeda-8cb704c577d8, running on dev tier.

Hey - thanks for raising this bug and apologies for the error message. It was due to an error in version 0.7.24 that has been fixed in 0.7.25. Kicking off a new revision should resolve the problem. For more context, that particular error comes from a monitoring loop that doesn’t have any impact on your agents, so there shouldn’t have been any impact to users.