Skip to content

[Bug]: session_search returns 'Session database not available' in cron jobs #6563

@Helmi

Description

@Helmi

Bug: The session_search tool returns {"success": false, "error": "Session database not available."} when called from a cron-scheduled session. The session database exists and the handler is reachable (the tool schema is visible to the model), but the database connection fails at runtime.

Impact: Any cron-scheduled task that uses session_search gets an error instead of session data. The tool appears available but silently fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/cronCron scheduler and job managementsweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions